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

TestSplitTransaction fails to delete files due to open handles left when region is split

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.95.0
    • 0.98.0, 0.95.1
    • regionserver
    • Windows

    • Reviewed

    Description

      This issue is related to HBASE-6823. logs below.

      TestSplitTransaction
      org.apache.hadoop.hbase.regionserver.TestSplitTransaction
      testWholesomeSplit(org.apache.hadoop.hbase.regionserver.TestSplitTransaction)
      java.io.IOException: Failed delete of C:/springSpace/org.apache.hbase.hbase-0.95.0-SNAPSHOT/hbase-server/target/test-data/e5089331-c2bf-43d0-816d-25c6bed71f26/org.apache.hadoop.hbase.regionserver.TestSplitTransaction/table/4851a041b5e9befef50c135b5659243b

      at org.apache.hadoop.hbase.regionserver.TestSplitTransaction.teardown(TestSplitTransaction.java:100)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)

      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

      at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)

      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

      testRollback(org.apache.hadoop.hbase.regionserver.TestSplitTransaction)
      java.io.IOException: Failed delete of C:/springSpace/org.apache.hbase.hbase-0.95.0-SNAPSHOT/hbase-server/target/test-data/9140a440-3925-4eaf-8d5d-62744609d775/org.apache.hadoop.hbase.regionserver.TestSplitTransaction/table/6f0ef0cbe59b3fb02c081ad1ffc78a9d

      at org.apache.hadoop.hbase.regionserver.TestSplitTransaction.teardown(TestSplitTransaction.java:100)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)

      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

      at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)

      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

      testFailAfterPONR(org.apache.hadoop.hbase.regionserver.TestSplitTransaction)
      java.io.IOException: Failed delete of C:/springSpace/org.apache.hbase.hbase-0.95.0-SNAPSHOT/hbase-server/target/test-data/9ad6728e-a425-4c2a-b7f2-00af842ec2a4/org.apache.hadoop.hbase.regionserver.TestSplitTransaction/table/65a714e4df0ea5878925c27f8815cd6f

      at org.apache.hadoop.hbase.regionserver.TestSplitTransaction.teardown(TestSplitTransaction.java:100)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:597)

      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

      at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:33)

      at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

      at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

      at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

      at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

      at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

      at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

      at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

      at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

      at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)

      at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

      at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

      Attachments

        1. hbase-8300_v1-0.95.patch
          0.6 kB
          Malie Yin
        2. hbase-8300_v1-0.95.patch
          0.6 kB
          Enis Soztutar
        3. hbase-8300_v2-0.95.patch
          0.6 kB
          Malie Yin
        4. hbase-8300_v3-0.95.patch
          0.6 kB
          Malie Yin

        Issue Links

          Activity

            People

              Unassigned Unassigned
              my7604 Malie Yin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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