hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-5585) Add a feature in shell to allow adding entries into META easily
Date Thu, 14 May 2015 17:10:00 GMT

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

stack resolved HBASE-5585.
--------------------------
    Resolution: Won't Fix

Resolving as "..we don't do crazy pants any more".

> 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 was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message