Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/10938


Change subject: [tools] ignore SIGPIPE in kudu CLI
......................................................................

[tools] ignore SIGPIPE in kudu CLI

Since OpenSSL does not provide much control over underlying socket's
options for SSL_write() and there is no analogous option for
SO_NOSIGPIPE on Linux, let's ignore SIGPIPE in the kudu CLI.  That
helps to avoid random crashes of the tool when the server abruptly
closes the connection.

The issue with the kudu CLI tool exiting on SIGPIPE surfaced while
running the TserverGoesDownDuringRebalancingTest scenario from
kudu-admin-test.

Change-Id: I379376e7856a167b590f90c20f82402f2b825db9
---
M src/kudu/tools/tool_main.cc
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/38/10938/1
--
To view, visit http://gerrit.cloudera.org:8080/10938
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I379376e7856a167b590f90c20f82402f2b825db9
Gerrit-Change-Number: 10938
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>

Reply via email to