[ 
https://issues.apache.org/jira/browse/HBASE-22977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16943770#comment-16943770
 ] 

Michael Stack commented on HBASE-22977:
---------------------------------------

Some stuff I wanted when fixing an old cluster, one that was before hbck2 
support. Noting here in case it comes up again or someone else thinks we need 
this stuff.
<crazy-pants>
I needed to write a file with a single put/delete edit in it to overwrite a bad 
record. A tool that would produce a single hfile w/ a single edit in it would 
have been useful. I'd pass it args describing the put/delete I wanted written.

I wanted to stand up the edit region and make arbitrary edits against it. The 
cluster was down at the time.
</crazy-pants>

> [HBCK2] hbck2 2.0
> -----------------
>
>                 Key: HBASE-22977
>                 URL: https://issues.apache.org/jira/browse/HBASE-22977
>             Project: HBase
>          Issue Type: Brainstorming
>            Reporter: Michael Stack
>            Priority: Major
>
> Brainstorming issue for what to ship in an HBCK2 version 2.0 (HBASE-21745 
> describes HBCK2 1.0).
> Possibilities:
>  * Integrate HBCK2 operations into core either by automating fix or by adding 
> shell commands for fixup.
>  * An 'adoption service' running in Master where you pass 'orphan data' -- a 
> file or a directory -- and the running service figures what to do w/ the 
> content (remove if empty, figure where the file should slot if an hfile, 
> replay recovered edits if a recovered_edits dir, play WALs if wal dir, etc.). 
> Could be smarter/interactive, a 'three-way-merge' as Sean and Josh have 
> sketched.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to