Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23180

Add a hbck2 testing tool

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Release Note:
      Hide
      This adds a new tool that spins up hbase on hadoop minicluster and mimicks actions of hbck2 to verify it's functionalities. The tool has been designed for easy addition of more compound actions (i.e. collection of actions) to verify hbck2. deleteRegionInMeta.sh is one such example of a compound action script.
      Show
      This adds a new tool that spins up hbase on hadoop minicluster and mimicks actions of hbck2 to verify it's functionalities. The tool has been designed for easy addition of more compound actions (i.e. collection of actions) to verify hbck2. deleteRegionInMeta.sh is one such example of a compound action script.

      Description

      Quoting myself from the discussion thread from the dev mailing list "How do we test hbck2?" -

      "Planning to start working on a nightly build that can spin up a mini-cluster, load some data into it, do some actions to bring the cluster into an undesirable state that hbck2 can fix and then invoke the hbck2 to see if things work well.
       
      Plan is to start small with one of the hbck2 commands and remaining ones can be added incrementally. As of now I would like to start with making sure the job uses one of the hbase versions (probably 2.1.x/2.2.x), we can discuss about the need to run the job against all the present hbase versions/taking in a bunch of hbase versions as input and running against them/or just a single version.
       
      The job script would be located in our operator-tools repo."

        Attachments

          Activity

            People

            • Assignee:
              sakthi Sakthi
              Reporter:
              sakthi Sakthi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment