All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.oracle.bmc.hdfs.Bmc Maven / Gradle / Ivy

/**
 * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
 */
package com.oracle.bmc.hdfs;

import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;

import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;

import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.DelegateToFileSystem;

/**
 * Oracle Cloud Infrastructure implementation of AbstractFileSystem. Delegates to BmcFilesystem.
 * 

* To enable, set: * *

 * <property>
 *   <name>fs.AbstractFileSystem.oci.impl</name>
 *   <value>com.oracle.bmc.hdfs.Bmc</value>
 * </property>
 * 
*/ @InterfaceAudience.Public @InterfaceStability.Evolving public class Bmc extends DelegateToFileSystem { public Bmc(URI theUri, Configuration conf) throws IOException, URISyntaxException { super(theUri, new BmcFilesystem(), conf, BmcConstants.OCI_SCHEME, false); } @Override public int getUriDefaultPort() { return BmcConstants.DEFAULT_PORT; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy