You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "kmakwana (via GitHub)" <gi...@apache.org> on 2023/07/05 05:04:43 UTC

[GitHub] [pinot] kmakwana opened a new issue, #11031: Starting Zookeeper throws java.lang.InterruptedException: null

kmakwana opened a new issue, #11031:
URL: https://github.com/apache/pinot/issues/11031

   I am trying to start Zookeeper with docker. Below is the content of docker file.
   ```
   FROM openjdk:11
   
   WORKDIR /app
   
   ENV PINOT_VERSION=0.12.1
   
   RUN wget https://archive.apache.org/dist/pinot/apache-pinot-$PINOT_VERSION/apache-pinot-$PINOT_VERSION-bin.tar.gz
   RUN tar -zxvf apache-pinot-$PINOT_VERSION-bin.tar.gz
   
   RUN chmod -R 777 apache-pinot-$PINOT_VERSION-bin/
   
   EXPOSE 9000
   ```
   
   - Building docker file
   
   `docker build . -t pinot-test-5 `
   
   - Running docker
   
   `docker run -p 9000:9000 -it pinot-test-5 /bin/bash`
   
   - Starting Zookeeper
   
   `./apache-pinot-0.12.1-bin/bin/pinot-admin.sh StartZookeeper &`
   
   Below is the exception faced:
   ```
   java.lang.InterruptedException: null
           at java.lang.Object.wait(Native Method) ~[?:?]
           at java.lang.Object.wait(Object.java:328) ~[?:?]
           at org.apache.helix.zookeeper.zkclient.callback.ZkAsyncCallbacks$DefaultCallback.waitForSuccess(ZkAsyncCallbacks.java:248) [pinot-all-0.12.1-jar-with-dependencies.jar:0.12.1-6e235a4ec2a16006337da04e118a435b5bb8f6d8]
           at org.apache.helix.zookeeper.zkclient.ZkClient.issueSync(ZkClient.java:1616) [pinot-all-0.12.1-jar-with-dependencies.jar:0.12.1-6e235a4ec2a16006337da04e118a435b5bb8f6d8]
           at org.apache.helix.zookeeper.zkclient.ZkClient.access$300(ZkClient.java:85) [pinot-all-0.12.1-jar-with-dependencies.jar:0.12.1-6e235a4ec2a16006337da04e118a435b5bb8f6d8]
           at org.apache.helix.zookeeper.zkclient.ZkClient$4.run(ZkClient.java:1642) [pinot-all-0.12.1-jar-with-dependencies.jar:0.12.1-6e235a4ec2a16006337da04e118a435b5bb8f6d8]
           at org.apache.helix.zookeeper.zkclient.ZkEventThread.run(ZkEventThread.java:99) [pinot-all-0.12.1-jar-with-dependencies.jar:0.12.1-6e235a4ec2a16006337da04e118a435b5bb8f6d8]
   zkclient 0, sycnOnNewSession with sessionID 100032985bb0000 async return code: OK and proceeds
   Closing zkclient uid:0, zk:State:CONNECTED Timeout:30000 sessionid:0x100032985bb0000 local:/127.0.0.1:52804 remoteserver:localhost/127.0.0.1:2181 lastZxid:5 xid:2 sent:2 recv:2 queuedpkts:0 pendingresp:0 queuedevents:0
   Session: 0x100032985bb0000 closed
   Closed zkclient with uid:0
   EventThread shut down for session: 0x100032985bb0000
   Start zookeeper at localhost:2181 in thread main
   ```
   Complete logs attached
   [zookeeper.log](https://github.com/apache/pinot/files/11954045/zookeeper.log)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] abhioncbr commented on issue #11031: Starting Zookeeper throws java.lang.InterruptedException: null

Posted by "abhioncbr (via GitHub)" <gi...@apache.org>.
abhioncbr commented on issue #11031:
URL: https://github.com/apache/pinot/issues/11031#issuecomment-1622690187

   As per the logs and command, zookeeper is running as the background process. It's not failing. Check `lsof` for 2181 port. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] kmakwana commented on issue #11031: Starting Zookeeper throws java.lang.InterruptedException: null

Posted by "kmakwana (via GitHub)" <gi...@apache.org>.
kmakwana commented on issue #11031:
URL: https://github.com/apache/pinot/issues/11031#issuecomment-1623619854

   Closing this issue as Zookeeper is running in the background & getting no problem so far


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


[GitHub] [pinot] kmakwana closed issue #11031: Starting Zookeeper throws java.lang.InterruptedException: null

Posted by "kmakwana (via GitHub)" <gi...@apache.org>.
kmakwana closed issue #11031: Starting Zookeeper throws java.lang.InterruptedException: null
URL: https://github.com/apache/pinot/issues/11031


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org