hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6927) WrongFS using HRegionInfo.getTableDesc() and different fs for hbase.root and fs.defaultFS
Date Tue, 02 Oct 2012 23:17:08 GMT

     [ https://issues.apache.org/jira/browse/HBASE-6927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stack updated HBASE-6927:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.96.0
                   0.94.3
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Committed to trunk and 0.94.  Thanks for the patch Matteo.
                
> 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

Mime
View raw message