[jira] [Updated] (ZOOKEEPER-2649) The ZooKeeper do not write in log session ID in which the client has been authenticated.

2017-03-13 Thread Michael Han (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Han updated ZOOKEEPER-2649:
---
Fix Version/s: (was: 3.4.11)
   (was: 3.5.3)
   3.5.4

> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated.
> 
>
> Key: ZOOKEEPER-2649
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2649
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.4.9, 3.5.2
>Reporter: Alex Zhou
>Assignee: Alex Zhou
>Priority: Trivial
> Fix For: 3.5.4, 3.6.0
>
>
> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated. This occurs for digest and for SASL authentications:
> bq. 2016-12-09 15:46:34,808 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158e39a0a960001 
> with negotiated timeout 3 for client /0:0:0:0:0:0:0:1:52626
> bq. 2016-12-09 15:46:34,838 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=bob;  authorizationID=bob.
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: bob
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: bob
> bq. 2016-12-13 10:52:54,915 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158f72acaed0001 
> with negotiated timeout 3 for client /172.20.97.175:52217
> bq. 2016-12-13 10:52:55,070 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=u...@billab.ru;  
> authorizationID=u...@billab.ru.
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: u...@billab.ru
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: u...@billab.ru
> bq. 2016-12-19 17:43:01,395 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158fd72521f 
> with negotiated timeout 3 for client /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,497 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@952] - got auth 
> packet /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,508 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@986] - auth 
> success /172.20.97.175:57633
> So, it is difficult to determine which client made changes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (ZOOKEEPER-2649) The ZooKeeper do not write in log session ID in which the client has been authenticated.

2016-12-22 Thread Flavio Junqueira (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Flavio Junqueira updated ZOOKEEPER-2649:

Assignee: Alex Zhou

> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated.
> 
>
> Key: ZOOKEEPER-2649
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2649
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.4.9, 3.5.2
>Reporter: Alex Zhou
>Assignee: Alex Zhou
>Priority: Trivial
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
>
> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated. This occurs for digest and for SASL authentications:
> bq. 2016-12-09 15:46:34,808 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158e39a0a960001 
> with negotiated timeout 3 for client /0:0:0:0:0:0:0:1:52626
> bq. 2016-12-09 15:46:34,838 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=bob;  authorizationID=bob.
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: bob
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: bob
> bq. 2016-12-13 10:52:54,915 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158f72acaed0001 
> with negotiated timeout 3 for client /172.20.97.175:52217
> bq. 2016-12-13 10:52:55,070 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=u...@billab.ru;  
> authorizationID=u...@billab.ru.
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: u...@billab.ru
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: u...@billab.ru
> bq. 2016-12-19 17:43:01,395 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158fd72521f 
> with negotiated timeout 3 for client /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,497 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@952] - got auth 
> packet /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,508 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@986] - auth 
> success /172.20.97.175:57633
> So, it is difficult to determine which client made changes.



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


[jira] [Updated] (ZOOKEEPER-2649) The ZooKeeper do not write in log session ID in which the client has been authenticated.

2016-12-22 Thread Alex Zhou (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Zhou updated ZOOKEEPER-2649:
-
Component/s: (was: quorum)
 server

> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated.
> 
>
> Key: ZOOKEEPER-2649
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2649
> Project: ZooKeeper
>  Issue Type: Improvement
>  Components: server
>Affects Versions: 3.4.9, 3.5.2
>Reporter: Alex Zhou
>Priority: Trivial
> Fix For: 3.4.10, 3.5.3, 3.6.0
>
>
> The ZooKeeper do not write in log session ID in which the client has been 
> authenticated. This occurs for digest and for SASL authentications:
> bq. 2016-12-09 15:46:34,808 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158e39a0a960001 
> with negotiated timeout 3 for client /0:0:0:0:0:0:0:1:52626
> bq. 2016-12-09 15:46:34,838 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=bob;  authorizationID=bob.
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: bob
> bq. 2016-12-09 15:46:34,848 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: bob
> bq. 2016-12-13 10:52:54,915 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158f72acaed0001 
> with negotiated timeout 3 for client /172.20.97.175:52217
> bq. 2016-12-13 10:52:55,070 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@118] - 
> Successfully authenticated client: authenticationID=u...@billab.ru;  
> authorizationID=u...@billab.ru.
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:SaslServerCallbackHandler@134] - 
> Setting authorizedID: u...@billab.ru
> bq. 2016-12-13 10:52:55,075 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@1024] - adding 
> SASL authorization for authorizationID: u...@billab.ru
> bq. 2016-12-19 17:43:01,395 [myid:] - INFO  
> [SyncThread:0:ZooKeeperServer@673] - Established session 0x158fd72521f 
> with negotiated timeout 3 for client /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,497 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@952] - got auth 
> packet /172.20.97.175:57633
> bq. 2016-12-19 17:45:53,508 [myid:] - INFO  
> [NIOServerCxn.Factory:0.0.0.0/0.0.0.0:2181:ZooKeeperServer@986] - auth 
> success /172.20.97.175:57633
> So, it is difficult to determine which client made changes.



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