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

hbck should not report split replica parent region from meta as errors

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

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.0, 2.0.0-alpha-1
    • 1.4.0, 1.3.2, 2.0.0, 1.2.7
    • hbck
    • None

    Description

      As described in HBASE-18247, replica region shows up as key in meta table. We need to find out the code/logic introducing the issue. I suspected that it was introduced by hbck, but last round of code review did not find anything. Create jira to track this effort.

      Before Catalog Janitor cleans up the split parent region from meta, hbck is reporting split replica parent regions as errors and if -fixSplitParents is used, the replica parent region will show up as key in meta table. It needs to be avoided.

      t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:regioninfo, timestamp=1500931787651, value={ENCODED => e10212c467b78104c911ea06c102ece0, NAME => 't1,,1500931628959.e10212c467b78104c911ea
       .                                                  06c102ece0.', STARTKEY => '', ENDKEY => '', OFFLINE => true, SPLIT => true}                                                                           
       t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:seqnumDuringOpen, timestamp=1500931742552, value=\x00\x00\x00\x00\x00\x00\x00\x05                                                         
       .                                                                                                                                                                                                        
       t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:seqnumDuringOpen_0001, timestamp=1500931742492, value=\x00\x00\x00\x00\x00\x00\x00\x02                                                    
       .                                                                                                                                                                                                        
       t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:server, timestamp=1500931742552, value=dhcp-172-16-1-203.pa.cloudera.com:61099                                                            
       .                                                                                                                                                                                                        
       t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:server_0001, timestamp=1500931742492, value=dhcp-172-16-1-203.pa.cloudera.com:61099                                                       
       .                                                                                                                                                                                                        
       t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:serverstartcode, timestamp=1500931742552, value=1500931737158                                                                             
       .                                                                                                                                                                                                        
       t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:serverstartcode_0001, timestamp=1500931742492, value=\x00\x00\x01]v\x80\xC6F                                                              
       .                                                                                                                                                                                                        
       t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:splitA, timestamp=1500931787651, value={ENCODED => dc471b6d9c0c2c451ee4c6d134e50ccc, NAME => 't1,,1500931787511.dc471b6d9c0c2c451ee4c6d134
       .                                                  e50ccc.', STARTKEY => '', ENDKEY => 'r'}                                                                                                              
       t1,,1500931628959.e10212c467b78104c911ea06c102ece0 column=info:splitB, timestamp=1500931787651, value={ENCODED => d86fbd197ca1073e763cb811705587ec, NAME => 't1,r,1500931787511.d86fbd197ca1073e763cb8117
       .                                                  05587ec.', STARTKEY => 'r', ENDKEY => ''}                                                                                                             
       t1,,1500931787511.dc471b6d9c0c2c451ee4c6d134e50ccc column=info:regioninfo, timestamp=1500931787651, value={ENCODED => dc471b6d9c0c2c451ee4c6d134e50ccc, NAME => 't1,,1500931787511.dc471b6d9c0c2c451ee4c6
       .                                                  d134e50ccc.', STARTKEY => '', ENDKEY => 'r'}                            
      

      Attachments

        1. HBASE-18362-branch-1-v001.patch
          3 kB
          Hua Xiang
        2. HBASE-18362-branch-1-v002.patch
          3 kB
          Esteban Gutierrez
        3. HBASE-18362.001.patch
          3 kB
          Esteban Gutierrez

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            huaxiang Hua Xiang
            huaxiang Hua Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment