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

TestMultiTableSnapshotInputFormat failing with Unable to create region directory: /tmp/...

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0, 2.0.0
    • test
    • None

    Description

      Test is using /tmp. We failed creating dir in /tmp in a few tests from this suite just now:

      https://builds.apache.org/job/PreCommit-HBASE-Build/4253/testReport/org.apache.hadoop.hbase.mapred/TestMultiTableSnapshotInputFormat/testScanOBBToOPP/

      Caused by: java.io.IOException: Unable to create region directory: /tmp/scantest2_snapshot__953e2b2d-22aa-4c6a-a46a-272619f5436e/data/default/scantest2/5629158a49e010e21ac0bd16453b2d8c
      	at org.apache.hadoop.hbase.regionserver.HRegionFileSystem.createRegionOnFileSystem(HRegionFileSystem.java:896)
      	at org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:6520)
      	at org.apache.hadoop.hbase.util.ModifyRegionUtils.createRegion(ModifyRegionUtils.java:205)
      	at org.apache.hadoop.hbase.util.ModifyRegionUtils$1.call(ModifyRegionUtils.java:173)
      	at org.apache.hadoop.hbase.util.ModifyRegionUtils$1.call(ModifyRegionUtils.java:170)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      	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)
      ...
      

      No more detail than this. Let me change it so creates stuff in the test dir that it for sure owns/can write to.

      Attachments

        1. 16983.txt
          0.7 kB
          Michael Stack
        2. HBASE-16983-ADDENDUM.patch
          3 kB
          Michael Stack
        3. HBASE-16983-ADDENDUM.patch
          1 kB
          Guanghao Zhang
        4. HBASE-16983-ADDENDUM.patch
          1 kB
          Guanghao Zhang
        5. HBASE-16983-branch-1-ADDENDUM.patch
          0.7 kB
          Guanghao Zhang
        6. HBASE-16983-branch-1-ADDENDUM.patch
          0.7 kB
          Guanghao Zhang

        Issue Links

          Activity

            People

              stack Michael Stack
              stack Michael Stack
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: