Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-1634

LocalIndexSplitter prevents region from auto split

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.3.0
    • None
    • None

    Description

      Local index is not created for a multi-tenant table however empty HBase table is created in advance for local index. With data upserted in the multi-tenant table, after multiple successive auto-splits when region tries to split again on another region server, LocalIndexSplitter prevents auto-split from happening. rajesh23 Please see the log below. Thanks apurtell and jamestaylor for narrowing down this issue.

      WARN org.apache.hadoop.hbase.regionserver.LocalIndexSplitter: Index region corresponindg to data region MYSCHEMA.MY_MULTITENANT_TABLE,,1422663910075.db3861e02b58e21b5383704375539ee5. not in the same server. So skipping the split.
      2015-01-31 04:48:53,532 INFO org.apache.hadoop.hbase.regionserver.SplitRequest: Running rollback/cleanup of failed split of MYSCHEMA.MY_MULTITENANT_TABLE,,1422663910075.db3861e02b58e21b5383704375539ee5.; Coprocessor bypassing region MYSCHEMA.MY_MULTITENANT_TABLE,,1422663910075.db3861e02b58e21b5383704375539ee5. split.
      java.io.IOException: Coprocessor bypassing region MYSCHEMA.MY_MULTITENANT_TABLE,,1422663910075.db3861e02b58e21b5383704375539ee5. split.
      at org.apache.hadoop.hbase.regionserver.SplitTransaction.createDaughters(SplitTransaction.java:309)
      at org.apache.hadoop.hbase.regionserver.SplitTransaction.execute(SplitTransaction.java:655)
      at org.apache.hadoop.hbase.regionserver.SplitRequest.run(SplitRequest.java:84)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        1. performance.py
          4 kB
          Mujtaba Chohan
        2. logs.zip
          156 kB
          Mujtaba Chohan
        3. PHOENIX-1634.patch
          1 kB
          Rajeshbabu Chintaguntla
        4. PHOENIX-1634_v2.patch
          10 kB
          Rajeshbabu Chintaguntla
        5. PHOENIX-1634_v3.patch
          10 kB
          Rajeshbabu Chintaguntla

        Issue Links

          Activity

            People

              rajeshbabu Rajeshbabu Chintaguntla
              mujtabachohan Mujtaba Chohan
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: