[ 
https://issues.apache.org/jira/browse/HBASE-24175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Stack resolved HBASE-24175.
-----------------------------------
    Fix Version/s: 2.2.5
         Assignee: Michael Stack
       Resolution: Fixed

Resovling. A bunch of tests use TestExportSnapshot as basis. Yarn uses /tmp by 
default for some of its messing. When runAllTests, some of the 
TestExportSnapshot children run concurrently stomping on each other. Hopefully 
this patch picks up all the places yarn uses /tmp pointing it into 
HBaseTestingUtility test datadir.

> [Flakey Tests] TestSecureExportSnapshot FileNotFoundException
> -------------------------------------------------------------
>
>                 Key: HBASE-24175
>                 URL: https://issues.apache.org/jira/browse/HBASE-24175
>             Project: HBase
>          Issue Type: Sub-task
>          Components: flakies
>            Reporter: Michael Stack
>            Assignee: Michael Stack
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0, 2.2.5
>
>         Attachments: 
> 0001-HBASE-24175-Flakey-Tests-TestSecureExportSnapshot-Fi.patch
>
>
> Why we writing '/tmp' dir?
> {code}
> Error Message
> org.apache.hadoop.service.ServiceStateException: 
> java.io.FileNotFoundException: File 
> file:/tmp/hadoop-yarn-jenkins/node-attribute/nodeattribute.mirror.writing 
> does not exist
> Stacktrace
> org.apache.hadoop.yarn.exceptions.YarnRuntimeException: 
> org.apache.hadoop.service.ServiceStateException: 
> java.io.FileNotFoundException: File 
> file:/tmp/hadoop-yarn-jenkins/node-attribute/nodeattribute.mirror.writing 
> does not exist
>       at 
> org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot.setUpBeforeClass(TestSecureExportSnapshot.java:56)
> Caused by: org.apache.hadoop.service.ServiceStateException: 
> java.io.FileNotFoundException: File 
> file:/tmp/hadoop-yarn-jenkins/node-attribute/nodeattribute.mirror.writing 
> does not exist
>       at 
> org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot.setUpBeforeClass(TestSecureExportSnapshot.java:56)
> Caused by: java.io.FileNotFoundException: File 
> file:/tmp/hadoop-yarn-jenkins/node-attribute/nodeattribute.mirror.writing 
> does not exist
>       at 
> org.apache.hadoop.hbase.snapshot.TestSecureExportSnapshot.setUpBeforeClass(TestSecureExportSnapshot.java:56)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to