Repeating connections with SASL

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Repeating connections with SASL

Brown, Scott M [US] (MS)

We are getting this ~ every second in logs.. Apps appear up and working, and we’d rather have INFO and WARN on for the time being, but is there any way to disable this, or resolve? 

 

2017-04-17 13:47:49,490 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Opening socket connection to server FQDN/HOST IP ADDR:2181. Will not attempt to authenticate using SASL (unknown error)

2017-04-17 13:47:49,490 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Socket connection established to FQDN/HOST IP ADDR:2181, initiating session

2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Session establishment complete on server FQDN/HOST IP ADDR:2181, sessionid = 0x15b7ba86254004a, negotiated timeout = 6000

2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-EventThread] INFO  org.I0Itec.zkclient.ZkClient :: zookeeper state changed (SyncConnected)

2017-04-17 13:47:49,492 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] WARN  org.apache.zookeeper.ClientCnxn :: Session 0x15b7ba86254004a for server FQDN/HOST IP ADDR:2181, unexpected error, closing socket connection and attempting reconnect

java.lang.NoClassDefFoundError: org/apache/zookeeper/proto/WatcherEvent

        at org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:744)

        at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)

        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)

        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)

2017-04-17 13:47:49,593 [paxweb-extender-2-thread-1-EventThread] INFO  org.I0Itec.zkclient.ZkClient :: zookeeper state changed (Disconnected)

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Repeating connections with SASL

Dave Marion-2

Add the following JVM argument to the server processes:


-Dzookeeper.sasl.client=false

On April 17, 2017 at 4:01 PM "Brown, Scott M [US] (MS)" <[hidden email]> wrote:

We are getting this ~ every second in logs.. Apps appear up and working, and we’d rather have INFO and WARN on for the time being, but is there any way to disable this, or resolve? 

 

2017-04-17 13:47:49,490 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Opening socket connection to server FQDN/HOST IP ADDR:2181. Will not attempt to authenticate using SASL (unknown error)

2017-04-17 13:47:49,490 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Socket connection established to FQDN/HOST IP ADDR:2181, initiating session

2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Session establishment complete on server FQDN/HOST IP ADDR:2181, sessionid = 0x15b7ba86254004a, negotiated timeout = 6000

2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-EventThread] INFO  org.I0Itec.zkclient.ZkClient :: zookeeper state changed (SyncConnected)

2017-04-17 13:47:49,492 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] WARN  org.apache.zookeeper.ClientCnxn :: Session 0x15b7ba86254004a for server FQDN/HOST IP ADDR:2181, unexpected error, closing socket connection and attempting reconnect

java.lang.NoClassDefFoundError: org/apache/zookeeper/proto/WatcherEvent

        at org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:744)

        at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)

        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)

        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)

2017-04-17 13:47:49,593 [paxweb-extender-2-thread-1-EventThread] INFO  org.I0Itec.zkclient.ZkClient :: zookeeper state changed (Disconnected)

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Repeating connections with SASL

Josh Elser
I'm kind of surprised as to how you're getting the NoClassDefFoundError.

I don't think that's at all related to disabling sasl client auth (as
Dave suggested).

Dave Marion wrote:

> Add the following JVM argument to the server processes:
>
>
> -Dzookeeper.sasl.client=false
>
>> On April 17, 2017 at 4:01 PM "Brown, Scott M [US] (MS)"
>> <[hidden email]> wrote:
>>
>> We are getting this ~ every second in logs.. Apps appear up and
>> working, and we’d rather have INFO and WARN on for the time being, but
>> is there any way to disable this, or resolve?
>>
>> 2017-04-17 13:47:49,490
>> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
>> org.apache.zookeeper.ClientCnxn :: Opening socket connection to server
>> *FQDN*/*HOST IP ADDR*:2181. Will not attempt to authenticate using
>> SASL (unknown error)
>>
>> 2017-04-17 13:47:49,490
>> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
>> org.apache.zookeeper.ClientCnxn :: Socket connection established to
>> *FQDN*/*HOST IP ADDR*:2181, initiating session
>>
>> 2017-04-17 13:47:49,491
>> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
>> org.apache.zookeeper.ClientCnxn :: Session establishment complete on
>> server *FQDN*/*HOST IP ADDR*:2181, sessionid = 0x15b7ba86254004a,
>> negotiated timeout = 6000
>>
>> 2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-EventThread] INFO
>> org.I0Itec.zkclient.ZkClient :: zookeeper state changed (SyncConnected)
>>
>> 2017-04-17 13:47:49,492
>> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] WARN
>> org.apache.zookeeper.ClientCnxn :: Session 0x15b7ba86254004a for
>> server *FQDN*/*HOST IP ADDR*:2181, unexpected error, closing socket
>> connection and attempting reconnect
>>
>> java.lang.NoClassDefFoundError: org/apache/zookeeper/proto/WatcherEvent
>>
>> at
>> org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:744)
>>
>> at
>> org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)
>>
>> at
>> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)
>>
>> at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
>>
>> 2017-04-17 13:47:49,593 [paxweb-extender-2-thread-1-EventThread] INFO
>> org.I0Itec.zkclient.ZkClient :: zookeeper state changed (Disconnected)
>>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Repeating connections with SASL

Dave Marion-2
Good catch. I totally missed the NoClassDefFoundError.

> -----Original Message-----
> From: Josh Elser [mailto:[hidden email]]
> Sent: Monday, April 17, 2017 5:10 PM
> To: [hidden email]
> Subject: Re: Repeating connections with SASL
>
> I'm kind of surprised as to how you're getting the NoClassDefFoundError.
>
> I don't think that's at all related to disabling sasl client auth (as Dave
> suggested).
>
> Dave Marion wrote:
> > Add the following JVM argument to the server processes:
> >
> >
> > -Dzookeeper.sasl.client=false
> >
> >> On April 17, 2017 at 4:01 PM "Brown, Scott M [US] (MS)"
> >> <[hidden email]> wrote:
> >>
> >> We are getting this ~ every second in logs.. Apps appear up and
> >> working, and we’d rather have INFO and WARN on for the time being,
> >> but is there any way to disable this, or resolve?
> >>
> >> 2017-04-17 13:47:49,490
> >> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
> >> org.apache.zookeeper.ClientCnxn :: Opening socket connection to
> >> server *FQDN*/*HOST IP ADDR*:2181. Will not attempt to authenticate
> >> using SASL (unknown error)
> >>
> >> 2017-04-17 13:47:49,490
> >> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
> >> org.apache.zookeeper.ClientCnxn :: Socket connection established to
> >> *FQDN*/*HOST IP ADDR*:2181, initiating session
> >>
> >> 2017-04-17 13:47:49,491
> >> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
> >> org.apache.zookeeper.ClientCnxn :: Session establishment complete on
> >> server *FQDN*/*HOST IP ADDR*:2181, sessionid = 0x15b7ba86254004a,
> >> negotiated timeout = 6000
> >>
> >> 2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-EventThread]
> INFO
> >> org.I0Itec.zkclient.ZkClient :: zookeeper state changed
> >> (SyncConnected)
> >>
> >> 2017-04-17 13:47:49,492
> >> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] WARN
> >> org.apache.zookeeper.ClientCnxn :: Session 0x15b7ba86254004a for
> >> server *FQDN*/*HOST IP ADDR*:2181, unexpected error, closing socket
> >> connection and attempting reconnect
> >>
> >> java.lang.NoClassDefFoundError:
> >> org/apache/zookeeper/proto/WatcherEvent
> >>
> >> at
> >>
> org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.ja
> >> va:744)
> >>
> >> at
> >>
> org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.jav
> >> a:94)
> >>
> >> at
> >>
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
> >> NIO.java:366)
> >>
> >> at
> >> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
> >>
> >> 2017-04-17 13:47:49,593 [paxweb-extender-2-thread-1-EventThread]
> INFO
> >> org.I0Itec.zkclient.ZkClient :: zookeeper state changed
> >> (Disconnected)
> >>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: EXT :Re: Repeating connections with SASL

Brown, Scott M [US] (MS)
In reply to this post by Dave Marion-2

Thanks very much, putting that in solved the issue!

 

From: Dave Marion [mailto:[hidden email]]
Sent: Monday, April 17, 2017 3:18 PM
To: [hidden email]
Subject: EXT :Re: Repeating connections with SASL

 

Add the following JVM argument to the server processes:

 

-Dzookeeper.sasl.client=false

On April 17, 2017 at 4:01 PM "Brown, Scott M [US] (MS)" <[hidden email]> wrote:

We are getting this ~ every second in logs.. Apps appear up and working, and we’d rather have INFO and WARN on for the time being, but is there any way to disable this, or resolve? 

 

2017-04-17 13:47:49,490 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Opening socket connection to server FQDN/HOST IP ADDR:2181. Will not attempt to authenticate using SASL (unknown error)

2017-04-17 13:47:49,490 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Socket connection established to FQDN/HOST IP ADDR:2181, initiating session

2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] INFO  org.apache.zookeeper.ClientCnxn :: Session establishment complete on server FQDN/HOST IP ADDR:2181, sessionid = 0x15b7ba86254004a, negotiated timeout = 6000

2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-EventThread] INFO  org.I0Itec.zkclient.ZkClient :: zookeeper state changed (SyncConnected)

2017-04-17 13:47:49,492 [paxweb-extender-2-thread-1-SendThread(FQDN:2181)] WARN  org.apache.zookeeper.ClientCnxn :: Session 0x15b7ba86254004a for server FQDN/HOST IP ADDR:2181, unexpected error, closing socket connection and attempting reconnect

java.lang.NoClassDefFoundError: org/apache/zookeeper/proto/WatcherEvent

        at org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:744)

        at org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.java:94)

        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:366)

        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)

2017-04-17 13:47:49,593 [paxweb-extender-2-thread-1-EventThread] INFO  org.I0Itec.zkclient.ZkClient :: zookeeper state changed (Disconnected)

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: EXT :RE: Repeating connections with SASL

Brown, Scott M [US] (MS)
In reply to this post by Dave Marion-2
Not sure how, but the logging stopped once we put that in..

-----Original Message-----
From: Dave Marion [mailto:[hidden email]]
Sent: Monday, April 17, 2017 4:33 PM
To: [hidden email]
Subject: EXT :RE: Repeating connections with SASL

Good catch. I totally missed the NoClassDefFoundError.

> -----Original Message-----
> From: Josh Elser [mailto:[hidden email]]
> Sent: Monday, April 17, 2017 5:10 PM
> To: [hidden email]
> Subject: Re: Repeating connections with SASL
>
> I'm kind of surprised as to how you're getting the NoClassDefFoundError.
>
> I don't think that's at all related to disabling sasl client auth (as
> Dave suggested).
>
> Dave Marion wrote:
> > Add the following JVM argument to the server processes:
> >
> >
> > -Dzookeeper.sasl.client=false
> >
> >> On April 17, 2017 at 4:01 PM "Brown, Scott M [US] (MS)"
> >> <[hidden email]> wrote:
> >>
> >> We are getting this ~ every second in logs.. Apps appear up and
> >> working, and we’d rather have INFO and WARN on for the time being,
> >> but is there any way to disable this, or resolve?
> >>
> >> 2017-04-17 13:47:49,490
> >> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
> >> org.apache.zookeeper.ClientCnxn :: Opening socket connection to
> >> server *FQDN*/*HOST IP ADDR*:2181. Will not attempt to authenticate
> >> using SASL (unknown error)
> >>
> >> 2017-04-17 13:47:49,490
> >> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
> >> org.apache.zookeeper.ClientCnxn :: Socket connection established to
> >> *FQDN*/*HOST IP ADDR*:2181, initiating session
> >>
> >> 2017-04-17 13:47:49,491
> >> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] INFO
> >> org.apache.zookeeper.ClientCnxn :: Session establishment complete
> >> on server *FQDN*/*HOST IP ADDR*:2181, sessionid =
> >> 0x15b7ba86254004a, negotiated timeout = 6000
> >>
> >> 2017-04-17 13:47:49,491 [paxweb-extender-2-thread-1-EventThread]
> INFO
> >> org.I0Itec.zkclient.ZkClient :: zookeeper state changed
> >> (SyncConnected)
> >>
> >> 2017-04-17 13:47:49,492
> >> [paxweb-extender-2-thread-1-SendThread(*FQDN*:2181)] WARN
> >> org.apache.zookeeper.ClientCnxn :: Session 0x15b7ba86254004a for
> >> server *FQDN*/*HOST IP ADDR*:2181, unexpected error, closing socket
> >> connection and attempting reconnect
> >>
> >> java.lang.NoClassDefFoundError:
> >> org/apache/zookeeper/proto/WatcherEvent
> >>
> >> at
> >>
> org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.ja
> >> va:744)
> >>
> >> at
> >>
> org.apache.zookeeper.ClientCnxnSocketNIO.doIO(ClientCnxnSocketNIO.jav
> >> a:94)
> >>
> >> at
> >>
> org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
> >> NIO.java:366)
> >>
> >> at
> >> org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081
> >> )
> >>
> >> 2017-04-17 13:47:49,593 [paxweb-extender-2-thread-1-EventThread]
> INFO
> >> org.I0Itec.zkclient.ZkClient :: zookeeper state changed
> >> (Disconnected)
> >>


Loading...