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

Use thrift2 c + + put data into hbase

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 0.98.1
    • Component/s: regionserver, Thrift
    • Labels:
      None

      Description

      1.When a client to insert data(two table: 1.test-cdr; 2.test-cdr-index.) program after the region server log to print the following information, but the insert is correct.
      ---------------------------------------------------------------
      2014-09-25 14:22:33,213 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner 61 lease expired on region test-cdr,,1411625852310.bff14c946ca7533d2844c728e7e8cc78.
      2014-09-25 14:22:36,336 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner 72 lease expired on region test-cdr,,1411625852310.bff14c946ca7533d2844c728e7e8cc78.
      ...
      -----------------------------------------------------------------

      2.When the watch I delete and submitted to the following error.
      -------------------------------------------------------------------------------
      2014-09-25 14:22:42,903 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Scanner 3 lease expired on region test-cdr-index,,1411625852825.091745b9f0da2ad6db986095e3661298.
      2014-09-25 14:22:42,903 ERROR org.apache.hadoop.hbase.regionserver.HRegionServer: Closing scanner for test-cdr-index,,1411625852825.091745b9f0da2ad6db986095e3661298.
      org.apache.hadoop.hbase.NotServingRegionException: Region test-cdr-index,,1411625852825.091745b9f0da2ad6db986095e3661298. is not online on td-123,60020,1411625181947
      at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegionByEncodedName(HRegionServer.java:2673)
      at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:2650)
      at org.apache.hadoop.hbase.regionserver.HRegionServer$ScannerListener.leaseExpired(HRegionServer.java:2457)
      at org.apache.hadoop.hbase.regionserver.Leases.run(Leases.java:122)
      at java.lang.Thread.run(Thread.java:745)

      -------------------------------------------------------------------------------

      Seen from the first log, it seems the scanner is not closed, but I didn't open the scanner.
      Table is deleted, after the second log shows going Closing scanner, then can't find the region!

      that is why?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xxwwbb3 xuwenbo
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: