Arshad Mohammad created ZOOKEEPER-2259:
------------------------------------------

             Summary: 4 letter word commands are slow because these 
unnecessarily go through Sasl authentication
                 Key: ZOOKEEPER-2259
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2259
             Project: ZooKeeper
          Issue Type: Bug
            Reporter: Arshad Mohammad


4 letter word commands are slow because these commands unnecessarily go through 
Sasl authentication. 
{code}
ZooKeeperSaslServer.<init>(Login) line: 48      
        NettyServerCnxn.<init>(Channel, ZooKeeperServer, 
NettyServerCnxnFactory) line: 88       
        
NettyServerCnxnFactory$CnxnChannelHandler.channelConnected(ChannelHandlerContext,
 ChannelStateEvent) line: 89   
        
NettyServerCnxnFactory$CnxnChannelHandler(SimpleChannelHandler).handleUpstream(ChannelHandlerContext,
 ChannelEvent) line: 118   
        
DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline$DefaultChannelHandlerContext,
 ChannelEvent) line: 564
{code}
as per the document 4lw commands are executed as bellow
{{ $ echo mntr | nc localhost 2185}} .
Even without passing any authentication information it works fine.

So  4lw command either should do authentication properly or it should not go 
through Sasl authentication flow.







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

Reply via email to