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.