Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10903

HBASE-10740 regression; cannot pass commands for zk to run

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.1, 0.99.0
    • Fix Version/s: 0.99.0, 0.98.2, 0.96.3
    • Component/s: Zookeeper
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We can't do this:

      ./bin/hbase zkcli deleteall /hbase/rs/c2022.halxg.cloudera.com,16020,1396502726715
      

      after upgrade to 3.4.6 zookeeper. Works if I put back 3.4.5.

      See below where only difference is the zk jar:

      [stack@c2022 hbase-0.99.0-SNAPSHOT]$ ~/bin/java/bin/java -cp ~/hbase-0.96.1.1-hadoop2/lib/zookeeper-3.4.5.jar:lib/slf4j-log4j12-1.6.4.jar:lib/slf4j-api-1.6.4.jar:lib/log4j-1.2.17.jar  org.apache.zookeeper.ZooKeeperMain -server c2020:2181 ls  "/hbase/rs"
      Connecting to c2020:2181
      log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      
      WATCHER::
      
      WatchedEvent state:SyncConnected type:None path:null
      [c2020.halxg.cloudera.com,16020,1396482186194, c2021.halxg.cloudera.com,16020,1396499398203, c2023.halxg.cloudera.com,16020,1396498834473, c2025.halxg.cloudera.com,16020,1396482188110, c2022.halxg.cloudera.com,16020,1396502726715, c2024.halxg.cloudera.com,16020,1396482188280]
      [stack@c2022 hbase-0.99.0-SNAPSHOT]$ ~/bin/java/bin/java -cp lib/zookeeper-3.4.6.jar:lib/slf4j-log4j12-1.6.4.jar:lib/slf4j-api-1.6.4.jar:lib/log4j-1.2.17.jar  org.apache.zookeeper.ZooKeeperMain -server c2020:2181 ls  "/hbase/rs"
      Connecting to c2020:2181
      log4j:WARN No appenders could be found for logger (org.apache.zookeeper.ZooKeeper).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
      

        Attachments

        1. 10903v2.txt
          7 kB
          stack
        2. 10903.txt
          4 kB
          stack

          Issue Links

            Activity

              People

              • Assignee:
                stack stack
                Reporter:
                stack stack
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: