You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by sh...@apache.org on 2021/10/21 20:58:15 UTC
[hadoop] branch branch-2.10 updated: HDFS-7612: Fix default cache
directory in TestOfflineEditsViewer.testStored. Contributed by Michael
Kuchenbecker (#3571)
This is an automated email from the ASF dual-hosted git repository.
shv pushed a commit to branch branch-2.10
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-2.10 by this push:
new 79d1818 HDFS-7612: Fix default cache directory in TestOfflineEditsViewer.testStored. Contributed by Michael Kuchenbecker (#3571)
79d1818 is described below
commit 79d181887901edcba4b2f2fdfe4c14882698f672
Author: Michael Kuchenbecker <mk...@linkedin.biz>
AuthorDate: Wed Oct 20 14:38:09 2021 -0700
HDFS-7612: Fix default cache directory in TestOfflineEditsViewer.testStored. Contributed by Michael Kuchenbecker (#3571)
(cherry picked from commit a73ff6915ae3e0ced1b4c814a94845f51e655a0c)
---
.../hadoop/hdfs/tools/offlineEditsViewer/TestOfflineEditsViewer.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/TestOfflineEditsViewer.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/TestOfflineEditsViewer.java
index bbe1c2e..2dea755 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/TestOfflineEditsViewer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/TestOfflineEditsViewer.java
@@ -163,7 +163,7 @@ public class TestOfflineEditsViewer {
public void testStored() throws IOException {
// reference edits stored with source code (see build.xml)
final String cacheDir = System.getProperty("test.cache.data",
- "build/test/cache");
+ "target/test-classes");
// binary, XML, reparsed binary
String editsStored = cacheDir + "/editsStored";
String editsStoredParsedXml = cacheDir + "/editsStoredParsed.xml";
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org