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 in...@apache.org on 2018/05/18 17:04:55 UTC
[1/5] hadoop git commit: HDFS-13593.
TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on
Windows. Contributed by Anbang Hu.
Repository: hadoop
Updated Branches:
refs/heads/branch-2 b0e0ec164 -> 1af41dadc
refs/heads/branch-2.9 898007dd5 -> efe4ad00e
refs/heads/branch-3.0 d923e0579 -> 97aa781d3
refs/heads/branch-3.1 da5eff832 -> 8a86269c5
refs/heads/trunk 57b893de3 -> 9775ecb23
HDFS-13593. TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on Windows. Contributed by Anbang Hu.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/9775ecb2
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/9775ecb2
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/9775ecb2
Branch: refs/heads/trunk
Commit: 9775ecb2355d7bed3514fcd54bf69e8351c4ab99
Parents: 57b893d
Author: Inigo Goiri <in...@apache.org>
Authored: Fri May 18 09:46:02 2018 -0700
Committer: Inigo Goiri <in...@apache.org>
Committed: Fri May 18 09:46:02 2018 -0700
----------------------------------------------------------------------
.../hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/9775ecb2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
index 273619c..285cdb6 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
@@ -48,6 +48,7 @@ import org.apache.hadoop.net.unix.DomainSocket;
import org.apache.hadoop.net.unix.TemporarySocketDirectory;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.token.Token;
+import org.apache.hadoop.test.GenericTestUtils;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.BeforeClass;
@@ -93,8 +94,9 @@ public class TestBlockReaderLocalLegacy {
final long FILE_LENGTH = 512L;
HdfsConfiguration conf = getConfiguration(null);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
FileSystem fs = cluster.getFileSystem();
@@ -173,8 +175,9 @@ public class TestBlockReaderLocalLegacy {
final HdfsConfiguration conf = getConfiguration(null);
conf.setBoolean(HdfsClientConfigKeys.DFS_CLIENT_USE_LEGACY_BLOCKREADERLOCAL, true);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
final MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
final DistributedFileSystem dfs = cluster.getFileSystem();
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org
[3/5] hadoop git commit: HDFS-13593.
TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on
Windows. Contributed by Anbang Hu.
Posted by in...@apache.org.
HDFS-13593. TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 9775ecb2355d7bed3514fcd54bf69e8351c4ab99)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/97aa781d
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/97aa781d
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/97aa781d
Branch: refs/heads/branch-3.0
Commit: 97aa781d3dd669b27c7f2d05de03ee9d741cb8aa
Parents: d923e05
Author: Inigo Goiri <in...@apache.org>
Authored: Fri May 18 09:46:02 2018 -0700
Committer: Inigo Goiri <in...@apache.org>
Committed: Fri May 18 09:47:22 2018 -0700
----------------------------------------------------------------------
.../hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/97aa781d/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
index 273619c..285cdb6 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
@@ -48,6 +48,7 @@ import org.apache.hadoop.net.unix.DomainSocket;
import org.apache.hadoop.net.unix.TemporarySocketDirectory;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.token.Token;
+import org.apache.hadoop.test.GenericTestUtils;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.BeforeClass;
@@ -93,8 +94,9 @@ public class TestBlockReaderLocalLegacy {
final long FILE_LENGTH = 512L;
HdfsConfiguration conf = getConfiguration(null);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
FileSystem fs = cluster.getFileSystem();
@@ -173,8 +175,9 @@ public class TestBlockReaderLocalLegacy {
final HdfsConfiguration conf = getConfiguration(null);
conf.setBoolean(HdfsClientConfigKeys.DFS_CLIENT_USE_LEGACY_BLOCKREADERLOCAL, true);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
final MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
final DistributedFileSystem dfs = cluster.getFileSystem();
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org
[4/5] hadoop git commit: HDFS-13593.
TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on
Windows. Contributed by Anbang Hu.
Posted by in...@apache.org.
HDFS-13593. TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 9775ecb2355d7bed3514fcd54bf69e8351c4ab99)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/1af41dad
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/1af41dad
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/1af41dad
Branch: refs/heads/branch-2
Commit: 1af41dadc2a970b4a1a28274894908cac6e0e2d9
Parents: b0e0ec1
Author: Inigo Goiri <in...@apache.org>
Authored: Fri May 18 09:46:02 2018 -0700
Committer: Inigo Goiri <in...@apache.org>
Committed: Fri May 18 09:47:50 2018 -0700
----------------------------------------------------------------------
.../hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/1af41dad/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
index 273619c..285cdb6 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
@@ -48,6 +48,7 @@ import org.apache.hadoop.net.unix.DomainSocket;
import org.apache.hadoop.net.unix.TemporarySocketDirectory;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.token.Token;
+import org.apache.hadoop.test.GenericTestUtils;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.BeforeClass;
@@ -93,8 +94,9 @@ public class TestBlockReaderLocalLegacy {
final long FILE_LENGTH = 512L;
HdfsConfiguration conf = getConfiguration(null);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
FileSystem fs = cluster.getFileSystem();
@@ -173,8 +175,9 @@ public class TestBlockReaderLocalLegacy {
final HdfsConfiguration conf = getConfiguration(null);
conf.setBoolean(HdfsClientConfigKeys.DFS_CLIENT_USE_LEGACY_BLOCKREADERLOCAL, true);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
final MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
final DistributedFileSystem dfs = cluster.getFileSystem();
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org
[5/5] hadoop git commit: HDFS-13593.
TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on
Windows. Contributed by Anbang Hu.
Posted by in...@apache.org.
HDFS-13593. TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 9775ecb2355d7bed3514fcd54bf69e8351c4ab99)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/efe4ad00
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/efe4ad00
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/efe4ad00
Branch: refs/heads/branch-2.9
Commit: efe4ad00e1e3336a1dfef9a8929cf8ab036d08d0
Parents: 898007d
Author: Inigo Goiri <in...@apache.org>
Authored: Fri May 18 09:46:02 2018 -0700
Committer: Inigo Goiri <in...@apache.org>
Committed: Fri May 18 09:48:11 2018 -0700
----------------------------------------------------------------------
.../hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/efe4ad00/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
index 273619c..285cdb6 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
@@ -48,6 +48,7 @@ import org.apache.hadoop.net.unix.DomainSocket;
import org.apache.hadoop.net.unix.TemporarySocketDirectory;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.token.Token;
+import org.apache.hadoop.test.GenericTestUtils;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.BeforeClass;
@@ -93,8 +94,9 @@ public class TestBlockReaderLocalLegacy {
final long FILE_LENGTH = 512L;
HdfsConfiguration conf = getConfiguration(null);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
FileSystem fs = cluster.getFileSystem();
@@ -173,8 +175,9 @@ public class TestBlockReaderLocalLegacy {
final HdfsConfiguration conf = getConfiguration(null);
conf.setBoolean(HdfsClientConfigKeys.DFS_CLIENT_USE_LEGACY_BLOCKREADERLOCAL, true);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
final MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
final DistributedFileSystem dfs = cluster.getFileSystem();
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org
[2/5] hadoop git commit: HDFS-13593.
TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on
Windows. Contributed by Anbang Hu.
Posted by in...@apache.org.
HDFS-13593. TestBlockReaderLocalLegacy#testBlockReaderLocalLegacyWithAppend fails on Windows. Contributed by Anbang Hu.
(cherry picked from commit 9775ecb2355d7bed3514fcd54bf69e8351c4ab99)
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8a86269c
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8a86269c
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8a86269c
Branch: refs/heads/branch-3.1
Commit: 8a86269c510bfd34c60ee37dc500de50cc20c99d
Parents: da5eff8
Author: Inigo Goiri <in...@apache.org>
Authored: Fri May 18 09:46:02 2018 -0700
Committer: Inigo Goiri <in...@apache.org>
Committed: Fri May 18 09:46:29 2018 -0700
----------------------------------------------------------------------
.../hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/8a86269c/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
index 273619c..285cdb6 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/client/impl/TestBlockReaderLocalLegacy.java
@@ -48,6 +48,7 @@ import org.apache.hadoop.net.unix.DomainSocket;
import org.apache.hadoop.net.unix.TemporarySocketDirectory;
import org.apache.hadoop.security.UserGroupInformation;
import org.apache.hadoop.security.token.Token;
+import org.apache.hadoop.test.GenericTestUtils;
import org.junit.Assert;
import org.junit.Assume;
import org.junit.BeforeClass;
@@ -93,8 +94,9 @@ public class TestBlockReaderLocalLegacy {
final long FILE_LENGTH = 512L;
HdfsConfiguration conf = getConfiguration(null);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
FileSystem fs = cluster.getFileSystem();
@@ -173,8 +175,9 @@ public class TestBlockReaderLocalLegacy {
final HdfsConfiguration conf = getConfiguration(null);
conf.setBoolean(HdfsClientConfigKeys.DFS_CLIENT_USE_LEGACY_BLOCKREADERLOCAL, true);
+ File basedir = new File(GenericTestUtils.getRandomizedTempPath());
final MiniDFSCluster cluster =
- new MiniDFSCluster.Builder(conf).numDataNodes(1).build();
+ new MiniDFSCluster.Builder(conf, basedir).numDataNodes(1).build();
cluster.waitActive();
final DistributedFileSystem dfs = cluster.getFileSystem();
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org