HBASE-15190 Monkey dies when running on shared cluster (gives up when can't kill the other fellows processes)

This commit is contained in:
stack 2016-01-31 10:51:41 -06:00
parent 9955118995
commit 13a46df181
1 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ public class HBaseClusterManager extends Configured implements ClusterManager {
}
protected String findPidCommand(ServiceType service) {
return String.format("ps aux | grep proc_%s | grep -v grep | tr -s ' ' | cut -d ' ' -f2",
return String.format("ps ux | grep proc_%s | grep -v grep | tr -s ' ' | cut -d ' ' -f2",
service);
}
@ -269,7 +269,7 @@ public class HBaseClusterManager extends Configured implements ClusterManager {
@Override
protected String findPidCommand(ServiceType service) {
return String.format("ps aux | grep %s | grep -v grep | tr -s ' ' | cut -d ' ' -f2",
return String.format("ps ux | grep %s | grep -v grep | tr -s ' ' | cut -d ' ' -f2",
service);
}
}