Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-3884

zkServer.sh status doesn't work when we do a large scale benchmark test

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: server
    • Labels:
      None

      Description

       

      1. we can create znodes normally
      
      2020-07-12 09:52:22,663 [myid:localhost:2181] - INFO  [main-SendThread(localhost:2181):ClientCnxn$SendThread@1420] - Session establishment complete on server localhost/0:0:0:0:0:0:0:1:2181, session id = 0x10001a6779c0b5a, negotiated timeout = 30000WATCHER::WatchedEvent state:SyncConnected type:None path:null
      [zk: localhost:2181(CONNECTED) 0] create /test5
      Created /test5
      [zk: localhost:2181(CONNECTED) 1] create /test6
      Created /test6
      [zk: localhost:2181(CONNECTED) 2]                                                                                  
      
      2. However, "zkServer.sh status" doesn't work, after restarting the server, it works
      
      [root@zk-test001 bin]# ./zkServer.sh status
      /usr/bin/java
      ZooKeeper JMX enabled by default
      Using config: /data/software/apache-zookeeper-3.6.1-bin/bin/../conf/zoo.cfg
      Client port found: 2181. Client address: localhost.
      Error contacting service. It is probably not running.
      GC info
      
      [root@zk-test001 conf]# jstat -gcutil 15206 200
        S0     S1     E      O      M     CCS    YGC     YGCT    FGC    FGCT     GCT   
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
       18.49   0.00  92.26  47.75  95.61  90.82    280   22.735     2    5.363   28.098
      

        Attachments

        1. zk-001.out
          2.35 MB
          Ling Mao
        2. zk-002.out
          2.31 MB
          Ling Mao
        3. zk-003.out
          2.29 MB
          Ling Mao
        4. zoo.cfg
          1 kB
          Ling Mao
        5. ZOOKEEPER-3884-memory-usage.png
          199 kB
          Ling Mao

          Activity

            People

            • Assignee:
              maoling Ling Mao
              Reporter:
              maoling Ling Mao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: