[
https://issues.apache.org/jira/browse/HDFS-7612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17335043#comment-17335043
]
Konstantin Shvachko commented on HDFS-7612:
-------------------------------------------
Came across this again. Still not fixed.
We just need to replace the default value of {{System.getProperty()}} with
{{"target/test-classes"}}
> 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
> Priority: Major
> Labels: newbie
>
> {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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]