in hbase-oss/src/main/java/org/apache/hadoop/hbase/oss/HBaseObjectStoreSemantics.java [126:147]
public void initialize(URI name, Configuration conf) throws IOException {
setConf(conf);
String scheme = name.getScheme();
String schemeImpl = "fs." + scheme + ".impl";
String hbossSchemeImpl = "fs.hboss." + schemeImpl;
String wrappedImpl = conf.get(hbossSchemeImpl);
Configuration internalConf = new Configuration(conf);
if (wrappedImpl != null) {
LOG.info("HBOSS wrapping file-system {} using implementation {}", name,
wrappedImpl);
String disableCache = "fs." + scheme + ".impl.disable.cache";
internalConf.set(schemeImpl, wrappedImpl);
internalConf.set(disableCache, "true");
}
fs = FileSystem.get(name, internalConf);
sync = TreeLockManager.get(fs);
metrics = MetricsOSSSourceImpl.getInstance();
bindingSupport = new FileStatusBindingSupport(fs);
}