[
https://issues.apache.org/jira/browse/ACCUMULO-671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13765996#comment-13765996
]
Keith Turner commented on ACCUMULO-671:
---------------------------------------
I thought this would be fairly straight forward, then I realized there is one
hitch. All of the users data is in HDFS, but there is one important thing in
zookeeper that ties it all together and thats the pointer to the root tables
walogs. I was talking to [~ctubbsii] about this issue and he suggested
analyzing the walogs to determine which are needed. I think this would be a
feasible approach. Create a map reduce job that reads all the walogs and
determines which walogs are currently needed by a tablet. Re-initialization
would look like the following.
# run job to analyze walog and determine which ones are currently needed by
root table
# accumulo init --reinitZookeeper <root table walogs>
> Create utility to re-initialize just ZooKeeper from existing Accumulo install
> -----------------------------------------------------------------------------
>
> Key: ACCUMULO-671
> URL: https://issues.apache.org/jira/browse/ACCUMULO-671
> Project: Accumulo
> Issue Type: New Feature
> Components: master
> Reporter: Krishmin Rai
> Priority: Minor
>
> In a case where ZooKeeper data is lost but the Accumulo footprint in HDFS
> still exists, it would be nice to be able to properly re-initialize just
> ZooKeeper (to the extent possible).
> See [mailing
> list|http://mail-archives.apache.org/mod_mbox/accumulo-user/201207.mbox/%3CCAGUtCHrfNCApFb5iAVJX9R%3DuzwP5zT7FHw7zBrytMQwH1voJcw%40mail.gmail.com%3E]
> for discussion
--
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