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

Vinayakumar B commented on HDFS-7612:
-------------------------------------

Yes, [~shv].

MVN does some pre-work before running tests and sets the value as below
{code}<test.cache.data>${project.build.directory}/test-classes</test.cache.data>{code}
You can also set this value and verify

> TestOfflineEditsViewer.testStored() uses incorrect default value for cacheDir
> -----------------------------------------------------------------------------
>
>                 Key: HDFS-7612
>                 URL: https://issues.apache.org/jira/browse/HDFS-7612
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.6.0
>            Reporter: Konstantin Shvachko
>
> {code}
>     final String cacheDir = System.getProperty("test.cache.data",
>         "build/test/cache");
> {code}
> results in
> {{FileNotFoundException: build/test/cache/editsStoredParsed.xml (No such file 
> or directory)}}
> when {{test.cache.data}} is not set.
> I can see this failing while running in Eclipse.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to