[ 
https://issues.apache.org/jira/browse/HBASE-24175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17084559#comment-17084559
 ] 

Michael Stack commented on HBASE-24175:
---------------------------------------

So, root problem was yarn config referencing /tmp dir and then concurrent tests 
fighting over the yarn dir.

Original patch tried to catch all yarn configs that referenced /tmp. It was 
incomplete. Hence first addendum. The first addendum also added test that 
iterated configs looking for /tmp.  Locally this test passed. Up on jenkins, 
there was a reference to original.hbase.dir in config which referenced /tmp. 
Fixed in second addendum just added (not needed on branch-2.2 since it does not 
have this test in it). Pushed to branch-2.3+

> [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.addendum.patch, 
> 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