hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ssrungar...@apache.org
Subject hbase git commit: HBASE-14261 Enhance Chaos Monkey framework by adding zookeeper and datanode fault injections; ADDENDUM
Date Fri, 04 Sep 2015 21:04:20 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 16d4ed633 -> b84908857


HBASE-14261 Enhance Chaos Monkey framework by adding zookeeper and datanode fault injections;
ADDENDUM


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

Branch: refs/heads/branch-1
Commit: b84908857e562fad6ef7d7151990ab0206e40133
Parents: 16d4ed6
Author: Srikanth Srungarapu <ssrungarapu@cloudera.com>
Authored: Fri Sep 4 14:01:15 2015 -0700
Committer: Srikanth Srungarapu <ssrungarapu@cloudera.com>
Committed: Fri Sep 4 14:02:48 2015 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/b8490885/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java
index f16c020..8a958c4 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKServerTool.java
@@ -68,7 +68,8 @@ public class ZKServerTool {
    */
   public static void main(String args[]) {
     for(ServerName server: readZKNodes(HBaseConfiguration.create())) {
-      System.out.println("Zk host: " + server.getHostname());
+      // bin/zookeeper.sh relies on the "ZK host" string for grepping which is case sensitive.
+      System.out.println("ZK host: " + server.getHostname());
     }
   }
 }


Mime
View raw message