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

Return too slow when scanning a table with non-existing REGION_REPLICA_ID

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Client
    • hbase2.4.13

      Centos7

    Description

      It takes more than 8 seconds to get the error result, and it's always like this every thime.
       
      Reproduction Step:
       
      1. Creating a table with region replica
      create 't01', 'info', {REGION_REPLICATION => 2}
       
      2. Scanning this table with a non-existing REGION_REPLICA_ID by CONSISTENCY.TIMELINE
      scan 't01', {CONSISTENCY => "TIMELINE", REGION_REPLICA_ID => 2}
       
      3. we would take more than 8s to get the error result.

      hbase:010:0> scan 't01', {CONSISTENCY => "TIMELINE", REGION_REPLICA_ID => 2}ROW                                     COLUMN+CELL
      ERROR: No location for t01, row='', locateType=CURRENT, replicaId=2
      For usage try 'help "scan"'
      Took 8.2830 seconds 

        
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            guluo guluo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: