[ 
https://issues.apache.org/jira/browse/HBASE-8006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593517#comment-13593517
 ] 

Matteo Bertozzi commented on HBASE-8006:
----------------------------------------

Those tests seems to fail also on the current trunk, do we have a jira?
https://builds.apache.org/job/HBase-TRUNK/3912/
https://builds.apache.org/job/HBase-TRUNK/3914/

{code}
Running 
org.apache.hadoop.hbase.replication.TestReplicationQueueFailoverCompressed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.454 sec
Running org.apache.hadoop.hbase.master.TestMasterFailover
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 86.832 sec
Running org.apache.hadoop.hbase.replication.TestReplicationQueueFailover
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 87.552 sec
Running org.apache.hadoop.hbase.catalog.TestMetaMigrationConvertingToPB
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.752 sec
{code}
                
> use FSUtils to get/set hbase.rootdir
> ------------------------------------
>
>                 Key: HBASE-8006
>                 URL: https://issues.apache.org/jira/browse/HBASE-8006
>             Project: HBase
>          Issue Type: Sub-task
>          Components: regionserver
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>              Labels: noob
>         Attachments: HBASE-8006-v0.patch
>
>
> We have different ways around the code to get the root dir
> {code}
> 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)
> {code}
> also we have lots of places where we have this set fs.default
> {code}
> this.conf.set("fs.default.name", fs.getUri().toString());
> this.conf.set("fs.defaultFS", fs.getUri().toString());
> {code}
> replace everything to use the FSUtils and have one single way to do this stuff

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to