You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Anh Nguyen (JIRA)" <ji...@apache.org> on 2016/08/18 03:14:20 UTC

[jira] [Commented] (SPARK-17070) Zookeeper server refused to accept the client (mesos-master)

    [ https://issues.apache.org/jira/browse/SPARK-17070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425847#comment-15425847 ] 

Anh Nguyen commented on SPARK-17070:
------------------------------------

hi [~cody@koeninger.org] and [~srowen]
if you free time.
Please, help me resolve this issue.


> Zookeeper server refused to accept the client (mesos-master)
> ------------------------------------------------------------
>
>                 Key: SPARK-17070
>                 URL: https://issues.apache.org/jira/browse/SPARK-17070
>             Project: Spark
>          Issue Type: Bug
>            Reporter: Anh Nguyen
>
> I started zookepper server: ./bin/zkServer.sh start-foreground conf/cnf_zoo.cfg
> and this is zookeeper server log :
> ZooKeeper JMX enabled by default
> Using config: conf/cnf_zoo.cfg
> 2016-08-16 02:59:20,767 [myid:] - INFO  [main:QuorumPeerConfig@103] - Reading configuration from: conf/cnf_zoo.cfg
> 2016-08-16 02:59:20,778 [myid:] - INFO  [main:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
> 2016-08-16 02:59:20,779 [myid:] - INFO  [main:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
> 2016-08-16 02:59:20,780 [myid:] - INFO  [main:DatadirCleanupManager@101] - Purge task is not scheduled.
> 2016-08-16 02:59:20,781 [myid:] - WARN  [main:QuorumPeerMain@113] - Either no config or no quorum defined in config, running  in standalone mode
> 2016-08-16 02:59:20,803 [myid:] - INFO  [main:QuorumPeerConfig@103] - Reading configuration from: conf/cnf_zoo.cfg
> 2016-08-16 02:59:20,804 [myid:] - INFO  [main:ZooKeeperServerMain@95] - Starting server
> 2016-08-16 02:59:20,826 [myid:] - INFO  [main:Environment@100] - Server environment:zookeeper.version=3.4.8--1, built on 02/06/2016 03:18 GMT
> 2016-08-16 02:59:20,828 [myid:] - INFO  [main:Environment@100] - Server environment:host.name=zookeeper
> 2016-08-16 02:59:20,829 [myid:] - INFO  [main:Environment@100] - Server environment:java.version=1.8.0_91
> 2016-08-16 02:59:20,830 [myid:] - INFO  [main:Environment@100] - Server environment:java.vendor=Oracle Corporation
> 2016-08-16 02:59:20,831 [myid:] - INFO  [main:Environment@100] - Server environment:java.home=/usr/lib/jvm/java-8-oracle/jre
> 2016-08-16 02:59:20,834 [myid:] - INFO  [main:Environment@100] - Server environment:java.class.path=/home/vagrant/mesos/zookeeper-3.4.8/bin/../build/classes:/home/vagrant/mesos/zookeeper-3.4.8/bin/../build/lib/*.jar:/home/vagrant/mesos/zookeeper-3.4.8/bin/../lib/slf4j-log4j12-1.6.1.jar:/home/vagrant/mesos/zookeeper-3.4.8/bin/../lib/slf4j-api-1.6.1.jar:/home/vagrant/mesos/zookeeper-3.4.8/bin/../lib/netty-3.7.0.Final.jar:/home/vagrant/mesos/zookeeper-3.4.8/bin/../lib/log4j-1.2.16.jar:/home/vagrant/mesos/zookeeper-3.4.8/bin/../lib/jline-0.9.94.jar:/home/vagrant/mesos/zookeeper-3.4.8/bin/../zookeeper-3.4.8.jar:/home/vagrant/mesos/zookeeper-3.4.8/bin/../src/java/lib/*.jar:/home/vagrant/mesos/zookeeper-3.4.8/bin/../conf:
> 2016-08-16 02:59:20,835 [myid:] - INFO  [main:Environment@100] - Server environment:java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
> 2016-08-16 02:59:20,835 [myid:] - INFO  [main:Environment@100] - Server environment:java.io.tmpdir=/tmp
> 2016-08-16 02:59:20,836 [myid:] - INFO  [main:Environment@100] - Server environment:java.compiler=<NA>
> 2016-08-16 02:59:20,842 [myid:] - INFO  [main:Environment@100] - Server environment:os.name=Linux
> 2016-08-16 02:59:20,842 [myid:] - INFO  [main:Environment@100] - Server environment:os.arch=amd64
> 2016-08-16 02:59:20,844 [myid:] - INFO  [main:Environment@100] - Server environment:os.version=3.13.0-92-generic
> 2016-08-16 02:59:20,845 [myid:] - INFO  [main:Environment@100] - Server environment:user.name=vagrant
> 2016-08-16 02:59:20,846 [myid:] - INFO  [main:Environment@100] - Server environment:user.home=/home/vagrant
> 2016-08-16 02:59:20,846 [myid:] - INFO  [main:Environment@100] - Server environment:user.dir=/home/vagrant/mesos/zookeeper-3.4.8
> 2016-08-16 02:59:20,861 [myid:] - INFO  [main:ZooKeeperServer@787] - tickTime set to 2000
> 2016-08-16 02:59:20,863 [myid:] - INFO  [main:ZooKeeperServer@796] - minSessionTimeout set to -1
> 2016-08-16 02:59:20,864 [myid:] - INFO  [main:ZooKeeperServer@805] - maxSessionTimeout set to -1
> 2016-08-16 02:59:20,883 [myid:] - INFO  [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:2181
> But, when I start mesos-master:  mesos-master --zk=zk://192.168.33.10:2128/home/vagrant/mesos/zookeeper-3.4.8 --port=5050 --ip=192.168.33.20 --quorum=1 --work_dir=/home/vagrant/mesos/master1/work --log_dir=/home/vagrant/mesos/master1/logs --advertise_ip=192.168.33.20  --advertise_port=5050 --cluster=mesut-ozil --logging_level=ERROR
> This is log mesos-master: zookeeper refaused to connect the mesos-master.
> 2016-08-16 03:29:09,052:2107(0x7f93e2de4700):ZOO_INFO@log_env@747: Client environment:user.name=vagrant
> 2016-08-16 03:29:09,055:2107(0x7f93e2de4700):ZOO_INFO@log_env@755: Client environment:user.home=/home/vagrant
> 2016-08-16 03:29:09,055:2107(0x7f93e2de4700):ZOO_INFO@log_env@767: Client environment:user.dir=/home/vagrant
> 2016-08-16 03:29:09,055:2107(0x7f93e2de4700):ZOO_INFO@zookeeper_init@800: Initiating client connection, host=192.168.33.10:2128 sessionTimeout=10000 watcher=0x7f93ec335340 sessionId=0 sessionPasswd=<null> context=0x7f93c8000930 flags=0
> 2016-08-16 03:29:09,052:2107(0x7f93e3de6700):ZOO_INFO@log_env@747: Client environment:user.name=vagrant
> 2016-08-16 03:29:09,055:2107(0x7f93e3de6700):ZOO_INFO@log_env@755: Client environment:user.home=/home/vagrant
> 2016-08-16 03:29:09,056:2107(0x7f93e3de6700):ZOO_INFO@log_env@767: Client environment:user.dir=/home/vagrant
> 2016-08-16 03:29:09,056:2107(0x7f93e3de6700):ZOO_INFO@zookeeper_init@800: Initiating client connection, host=192.168.33.10:2128 sessionTimeout=10000 watcher=0x7f93ec335340 sessionId=0 sessionPasswd=<null> context=0x7f93c0000930 flags=0
> 2016-08-16 03:29:09,060:2107(0x7f93beffd700):ZOO_ERROR@handle_socket_error_msg@1722: Socket [192.168.33.10:2128] zk retcode=-4, errno=111(Connection refused): server refused to accept the client
> Please, help me to resolve this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org