Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/10938 )

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


Patch Set 1:

> (1 comment)

Yep, sure -- I'll do.

But so far I'm sure the SIGPIPE is not ignored since the kudu CLI tool binary 
exits upon SIGPIPE, and you can see that not only while running via 
kudu::tools::RunTool().

*****

vc1320:~$ ps axw | grep kudu                                                  
14458 pts/1    S+     0:00 sudo -u kudu ./kudu cluster rebalance 127.0.0.1
14459 pts/1    Sl+    0:00 ./kudu cluster rebalance 127.0.0.1
14514 pts/2    S+     0:00 grep kudu
vc1320:~$ sudo kill -SIGPIPE 14459

*****

vc1320:~$ sudo -u kudu ./kudu cluster rebalance 127.0.0.1 > 
/tmp/kudu-rebalance.24.log 2>&1
vc1320:~$ echo $?
141

*****


--
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: comment
Gerrit-Change-Id: I379376e7856a167b590f90c20f82402f2b825db9
Gerrit-Change-Number: 10938
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Comment-Date: Fri, 13 Jul 2018 20:55:37 +0000
Gerrit-HasComments: No

Reply via email to