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


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/13a46df1
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/13a46df1
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/13a46df1

Branch: refs/heads/hbase-12439
Commit: 13a46df1815ed32bc9a2696f19cf620b4ce84bb4
Parents: 9955118
Author: stack <st...@apache.org>
Authored: Sun Jan 31 10:51:41 2016 -0600
Committer: stack <st...@apache.org>
Committed: Sun Jan 31 10:51:41 2016 -0600

----------------------------------------------------------------------
 .../test/java/org/apache/hadoop/hbase/HBaseClusterManager.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/13a46df1/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java
----------------------------------------------------------------------
diff --git 
a/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java 
b/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java
index c49ae44..ba6a4a9 100644
--- a/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java
+++ b/hbase-it/src/test/java/org/apache/hadoop/hbase/HBaseClusterManager.java
@@ -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);
     }
   }

Reply via email to