Hello Kudu Jenkins, Andrew Wong, Adar Dembo, Grant Henke, Hao Hao,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/15615
to look at the new patch set (#3).
Change subject: [subprocess] Fix shutdown behavior
......................................................................
[subprocess] Fix shutdown behavior
Prior to this commit the subprocess didn't actually shut down when its
input stream was closed. This wasn't much of a problem on Linux where
PDEATHSIG is set on the child process, but as it's not supported on Mac,
whenever the master is shut down/crashes the subprocess stays alive.
This commit changes the behavior in the subprocess to wrap the
IOException in KuduSubprocessException instead of simply breaking the
loop (in which case the other threads would keep running uninterrupted),
and the futures' exception handler exits the program.
Change-Id: Ia84bff891eaff667d7b22e89c66f24980ad76d70
---
M java/config/spotbugs/excludeFilter.xml
M
java/kudu-subprocess/src/main/java/org/apache/kudu/subprocess/MessageReader.java
M
java/kudu-subprocess/src/main/java/org/apache/kudu/subprocess/SubprocessExecutor.java
3 files changed, 12 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/15/15615/3
--
To view, visit http://gerrit.cloudera.org:8080/15615
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ia84bff891eaff667d7b22e89c66f24980ad76d70
Gerrit-Change-Number: 15615
Gerrit-PatchSet: 3
Gerrit-Owner: Attila Bukor <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Attila Bukor <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)