HBASE-15190 Monkey dies when running on shared cluster (gives up when can't kill the other fellows processes)
This commit is contained in:
parent
0d21fa9279
commit
71d66a6ac7
@ -174,7 +174,7 @@ public class HBaseClusterManager extends Configured implements ClusterManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected String findPidCommand(ServiceType service) {
|
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);
|
service);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -269,7 +269,7 @@ public class HBaseClusterManager extends Configured implements ClusterManager {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected String findPidCommand(ServiceType service) {
|
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);
|
service);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user