hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Chanan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-7132) region_mover.rb should not require FS configurations to be set
Date Fri, 09 Nov 2012 02:12:11 GMT
Gregory Chanan created HBASE-7132:
-------------------------------------

             Summary: region_mover.rb should not require FS configurations to be set
                 Key: HBASE-7132
                 URL: https://issues.apache.org/jira/browse/HBASE-7132
             Project: HBase
          Issue Type: Bug
          Components: scripts
            Reporter: Gregory Chanan
            Assignee: Gregory Chanan
            Priority: Minor
             Fix For: 0.96.0, 0.94.4


On the 90-branch, you can run region_mover.rb without having FS-related configurations set
(i.e. fs.defaultFS, fs.default.name, hbase.rootdir).

This is not the case against 0.92+.  The reason is that region_mover.rb calls:
{code}
r.getTableDesc().getName()
{code}

where r is an HRegionInfo.  In 0.92+ this actually reads off the filesystem, which is unnecessary
to just get the table name.

I think copy_table.rb has the same issue, but haven't looked into it enough.

--
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