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

RegionTooBusyException should provide region name which was too busy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.94.14
    • Fix Version/s: 0.94.14
    • Component/s: None
    • Labels:
      None

      Description

      Under this thread: http://search-hadoop.com/m/WSfKp1yJOFJ, John showed log from LoadIncrementalHFiles where the following is a snippet:

      04:18:07,110  INFO LoadIncrementalHFiles:451 - Trying to load hfile=hdfs://pc08.pool.ifis.uni-luebeck.de:8020/tmp/bulkLoadDirectory/PO_S_rowBufferHFile/Hexa/_tmp/PO_S,9.bottom first=<http://purl.org/dc/elements/1.1/title>,"emulates drylot births"^^<http://www.w3.org/2001/XMLSchema#string> last=<http://purl.org/dc/e$
      org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after attempts=10, exceptions:
      Sun Oct 20 04:15:50 CEST 2013, org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles$3@4cfdfc98, org.apache.hadoop.hbase.RegionTooBusyException: org.apache.hadoop.hbase.RegionTooBusyException: failed to get a lock in 60000ms
              at org.apache.hadoop.hbase.regionserver.HRegion.lock(HRegion.java:5778)
              at org.apache.hadoop.hbase.regionserver.HRegion.lock(HRegion.java:5764)
              at org.apache.hadoop.hbase.regionserver.HRegion.startBulkRegionOperation(HRegion.java:5723)
              at org.apache.hadoop.hbase.regionserver.HRegion.bulkLoadHFiles(HRegion.java:3534)
              at org.apache.hadoop.hbase.regionserver.HRegion.bulkLoadHFiles(HRegion.java:3517)
              at org.apache.hadoop.hbase.regionserver.HRegionServer.bulkLoadHFiles(HRegionServer.java:2793)
              at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      

      Looking at the above, it is not immediately clear which region was busy.

      Region name should be included in the exception so that user can correlate with the region server where the problem occurs.

        Attachments

        1. HBASE-9809.patch
          1.0 kB
          Gustavo Anatoly

          Activity

            People

            • Assignee:
              gustavoanatoly Gustavo Anatoly
              Reporter:
              yuzhihong@gmail.com Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: