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 ar...@apache.org on 2017/06/12 23:36:12 UTC
[2/3] hadoop git commit: HDFS-11967. TestJMXGet fails occasionally.
Contributed by Arpit Agarwal.
HDFS-11967. TestJMXGet fails occasionally. Contributed by Arpit Agarwal.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6ca19599
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6ca19599
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6ca19599
Branch: refs/heads/branch-2.8
Commit: 6ca195997b94abb6eacffcf81ac37c65cf832591
Parents: 9849b5a
Author: Arpit Agarwal <ar...@apache.org>
Authored: Mon Jun 12 16:03:47 2017 -0700
Committer: Arpit Agarwal <ar...@apache.org>
Committed: Mon Jun 12 16:04:02 2017 -0700
----------------------------------------------------------------------
.../src/test/java/org/apache/hadoop/tools/TestJMXGet.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/6ca19599/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
index 36fdac4..a61420c 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestJMXGet.java
@@ -141,7 +141,7 @@ public class TestJMXGet {
byte[] bytes = null;
String pattern = "List of all the available keys:";
PipedOutputStream pipeOut = new PipedOutputStream();
- PipedInputStream pipeIn = new PipedInputStream(pipeOut);
+ PipedInputStream pipeIn = new PipedInputStream(pipeOut, 1024 * 1024);
PrintStream oldErr = System.err;
System.setErr(new PrintStream(pipeOut));
try {
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org