Hello Quanlong Huang, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/20173

to look at the new patch set (#4).

Change subject: IMPALA-12268: Fix possible blocking when use java.lang.Process.
......................................................................

IMPALA-12268: Fix possible blocking when use java.lang.Process.

When use java.lang.Process, because some native platforms only provide
limited buffer size for standard input and output streams, failure to
promptly write the input stream or read the output stream of the
subprocess may cause the subprocess to block, or even deadlock.

This patch provides a class 'InputStreamGobbler' to consume the streams
produced by subprocess asynchronously.

Testing:
 - add a FE test 'InputStreamGobblerTest'.
 - run core job.

Change-Id: I06b728e6134fa14d3970ea7db4d64a962bb2d694
---
A fe/src/test/java/org/apache/impala/common/InputStreamGobbler.java
A fe/src/test/java/org/apache/impala/common/InputStreamGobblerTest.java
M fe/src/test/java/org/apache/impala/customcluster/CustomClusterRunner.java
M fe/src/test/java/org/apache/impala/customcluster/RunShellCommand.java
M fe/src/test/java/org/apache/impala/customservice/CustomServiceRunner.java
5 files changed, 159 insertions(+), 27 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/73/20173/4
--
To view, visit http://gerrit.cloudera.org:8080/20173
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I06b728e6134fa14d3970ea7db4d64a962bb2d694
Gerrit-Change-Number: 20173
Gerrit-PatchSet: 4
Gerrit-Owner: Xiang Yang <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>

Reply via email to