You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/10/20 21:58:00 UTC
[jira] [Work logged] (HDFS-7612)
TestOfflineEditsViewer.testStored() uses incorrect default value for
cacheDir
[ https://issues.apache.org/jira/browse/HDFS-7612?focusedWorklogId=668006&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-668006 ]
ASF GitHub Bot logged work on HDFS-7612:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Oct/21 21:57
Start Date: 20/Oct/21 21:57
Worklog Time Spent: 10m
Work Description: mkuchenbecker opened a new pull request #3571:
URL: https://github.com/apache/hadoop/pull/3571
…Stored.
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines: https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g., 'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
Fixes JIRA: https://issues.apache.org/jira/browse/HDFS-7612
The default path is incorrect, but maven sets the property during the build.
### How was this patch tested?
*Automated*
`mvn test -Dtest=TestOfflineEditsViewer`
`mvn clean install -Pdist -Dtar -Ptest-patch`
*Manual*
Cleared `test.cache.data` property and confirmed the test worked.
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
- [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
- [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 668006)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org