chrajeshbabu commented on code in PR #5078:
URL: https://github.com/apache/hbase/pull/5078#discussion_r1127399769


##########
hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java:
##########
@@ -217,7 +217,7 @@ protected String findPidCommand(ServiceType service) {
     }
 
     public String signalCommand(ServiceType service, String signal) {
-      return String.format("%s | xargs sudo kill -s %s", 
findPidCommand(service), signal);
+      return String.format("%s | xargs kill -s %s", findPidCommand(service), 
signal);

Review Comment:
   find pid command using ps ux which lists the processes owned by the user who 
is running the command. So to kill user owned processes sudo is not required 
hence removed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to