[
https://issues.apache.org/jira/browse/HBASE-6927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468214#comment-13468214
]
Hudson commented on HBASE-6927:
-------------------------------
Integrated in HBase-0.94 #503 (See
[https://builds.apache.org/job/HBase-0.94/503/])
HBASE-6927 WrongFS using HRegionInfo.getTableDesc() and different fs for
hbase.root and fs.defaultFS (Revision 1393235)
Result = FAILURE
stack :
Files :
* /hbase/branches/0.94/bin/region_mover.rb
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HRegionInfo.java
> WrongFS using HRegionInfo.getTableDesc() and different fs for hbase.root and
> fs.defaultFS
> -----------------------------------------------------------------------------------------
>
> Key: HBASE-6927
> URL: https://issues.apache.org/jira/browse/HBASE-6927
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.92.2, 0.94.1, 0.96.0
> Reporter: Matteo Bertozzi
> Assignee: Matteo Bertozzi
> Fix For: 0.94.3, 0.96.0
>
> Attachments: 6927.094.txt, HBASE-6927-v0.patch
>
>
> Calling HRegionInfo.getTableDesc() with different fs schema for hbase.root
> and fs.defaultFS raises "IllegalArgumentException: Wrong FS" exception.
> HRegionInfo.getTableDesc() is called only by bin/region_mover.rb to get the
> table name and can be easily replaced, getTableDesc() is also deprecated.
> The main problem is that getTableDesc() doesn't replace fs.defaultFS with
> hbase.root as all the other hbase code (all the code does this, except
> getTableDesc)
> {code}
> Configuration c = HBaseConfiguration.create();
> c.set("fs.defaultFS", c.get(HConstants.HBASE_DIR));
> c.set("fs.default.name", c.get(HConstants.HBASE_DIR));
> {code}
--
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