hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject [2/3] hadoop git commit: HDFS-11967. TestJMXGet fails occasionally. Contributed by Arpit Agarwal.
Date Mon, 12 Jun 2017 23:36:12 GMT
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 <arp@apache.org>
Authored: Mon Jun 12 16:03:47 2017 -0700
Committer: Arpit Agarwal <arp@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


Mime
View raw message