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

RegionSplitter's rollingSplit terminated with "/ by zero", and the _balancedSplit file was not deleted properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.96.2, 0.98.1
    • 0.99.0, 0.98.6
    • Admin, util
    • CentOS release 6.4 (Final) x86_64 && hbase-0.98.1-cdh5.1.0

    • Reviewed
    • RegionSplitter, UniformSplit,/ by zero

    Description

      First create a table

      > create 't1', 'f1'

      Then split the table with util:

      > bin/hbase org.apache.hadoop.hbase.util.RegionSplitter -r -o 2 t1 UniformSplit

      Finally get the following error :

      12/11/08 19:21:12 DEBUG util.RegionSplitter: All regions have been successfully split!
      12/11/08 19:21:12 DEBUG util.RegionSplitter: TOTAL TIME = 30sec
      12/11/08 19:21:12 DEBUG util.RegionSplitter: Splits = 0
      Exception in thread "main" java.lang.ArithmeticException: / by zero
      at org.apache.hadoop.hbase.util.RegionSplitter.rollingSplit(RegionSplitter.java:576)
      at org.apache.hadoop.hbase.util.RegionSplitter.main(RegionSplitter.java:349)

      Attachments

        1. HBASE_11627.patch
          0.8 kB
          louis hust
        2. HBASE_11627-v2.patch
          2 kB
          Sean Busbey
        3. HBASE_11627-v3.patch
          3 kB
          louis hust
        4. HBASE_11627-v4.patch
          2 kB
          Sean Busbey
        5. HBASE_11627-v5.patch
          6 kB
          louis hust
        6. HBASE_11627-v6.patch
          6 kB
          louis hust
        7. HBASE_11627-v7.patch
          2 kB
          Sean Busbey

        Activity

          People

            busbey Sean Busbey
            louis.hust louis hust
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified