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

org.apache.hadoop.fs.ceph.CephFs Maven / Gradle / Ivy

package org.apache.hadoop.fs.ceph;

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

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

/**
 * The CephFs implementation of AbstractFileSystem.
 * This impl delegates to the old FileSystem
 */
public class CephFs extends DelegateToFileSystem {
  /**
   * This constructor has the signature needed by
   * {@link AbstractFileSystem#createFileSystem(URI, Configuration)}.
   *
   * @param theUri which must be that of localFs
   * @param conf
   * @throws IOException
   * @throws URISyntaxException
   */
  CephFs(final URI theUri, final Configuration conf) throws IOException,
    URISyntaxException {
    super(theUri, new CephFileSystem(), conf, "ceph", true);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy