Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
We have different ways around the code to get the root dir
this.conf.get("hbase.rootdir") new Path(conf.get(HConstants.HBASE_DIR)); fs.makeQualified(new Path(this.c.get(HConstants.HBASE_DIR))); FSUtils.getRootDir(conf)
also we have lots of places where we have this set fs.default
this.conf.set("fs.default.name", fs.getUri().toString()); this.conf.set("fs.defaultFS", fs.getUri().toString());
replace everything to use the FSUtils and have one single way to do this stuff