Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2259

4 letter word commands are slow because these unnecessarily go through Sasl authentication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      4 letter word commands are slow because these commands unnecessarily go through Sasl authentication.

      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
      

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: