hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shrijeet Paliwal (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-5585) Add a feature in shell to allow adding entries into META easily
Date Thu, 15 Mar 2012 18:09:37 GMT
Add a feature in shell to allow adding entries into META easily
---------------------------------------------------------------

                 Key: HBASE-5585
                 URL: https://issues.apache.org/jira/browse/HBASE-5585
             Project: HBase
          Issue Type: Improvement
          Components: shell
            Reporter: Shrijeet Paliwal
            Priority: Minor


>From IRC 

{noformat}
sulabhc	St^Ack: that fixed most of the issue, just one last question, I removed some META
entries how do I put it back ?
sulabhc	St^Ack: putting from Hbase-shell does not seem to be possible
St^Ack	sulabhc: it is but the content in .META. is serialized Writable of HRegionInfo.
St^Ack	Can you find the region in the fs that you want to put back?
St^Ack	If so, cat its .regioninfo
St^Ack	it has binary format of the HRegionInfo that needs to be in .META. and a txt version.
St^Ack 	You'll need to create an HRegionInfo, serialize it as bytes, and then put that into
.META.
St^Ack	Look around in the catalog package, the MetaEditor class, for how to do this from java.
St^Ack	We should really make this easier to do in shell...
St^Ack	or look in bin to see how we do some of this via (j)ruby
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message