Atul V created KAFKA-1022:
-----------------------------

             Summary: Double quotes in Domain name & Topic name
                 Key: KAFKA-1022
                 URL: https://issues.apache.org/jira/browse/KAFKA-1022
             Project: Kafka
          Issue Type: Bug
          Components: tools
    Affects Versions: 0.8
         Environment: OEL 6.4 x64
            Reporter: Atul V


Using cmdline-jmxclient-0.10.3 earlier 0.7 Mbeans attribute values but in 0.8 
Mbean attribute values not getting fetch due to double quotes in topic name & 
Domain name e.g. "kafka.server".

////////// Working Fine ////////////////
$>get -b kafka:type=kafka.Log4jController -d kafka *
#mbean = kafka:type=kafka.Log4jController:
Loggers = ( root=INFO, kafka.server.KafkaServer=null, 
kafka.utils.FileLock=null, org.apache.zookeeper.ZooKeeper=null, 
kafka.server.KafkaApis=null, kafka.request.logger=TRACE, 
org.I0Itec.zkclient.ZkEventThread=null, kafka.log.Log=null, 
kafka.cluster.Replica=null, kafka.server.HighwaterMarkCheckpoint=null, 
kafka.log.OffsetIndex=null, kafka.network.RequestChannel$=TRACE, 
kafka.server.ReplicaFetcherManager=null, 
kafka.controller.OfflinePartitionLeaderSelector=null, 
kafka.utils.Mx4jLoader$=null, kafka.server.KafkaRequestHandler=null, 
kafka.server.KafkaZooKeeper=null, kafka.network.Acceptor=null, 
kafka.controller.ReplicaStateMachine=null, 
kafka.network.BoundedByteBufferReceive=null, 
kafka.server.ZookeeperLeaderElector$LeaderChangeListener=null, 
kafka.controller.ControllerChannelManager=null, 
kafka.controller.PartitionStateMachine=null, 
kafka.controller.KafkaController=null, kafka.server.ReplicaFetcherThread=null, 
kafka.utils.ZkUtils$=null, kafka.api.TopicDataSend$$anon$1=null, 
kafka.consumer.SimpleConsumer=null, kafka.utils.VerifiableProperties=null, 
kafka.network.BoundedByteBufferSend=null, state.change.logger=TRACE, 
kafka.api.FetchResponseSend$$anon$2=null, kafka.log.FileMessageSet=null, 
kafka.controller.RequestSendThread=null, 
kafka.controller.ReplicaStateMachine$BrokerChangeListener=null, 
kafka.server.ReplicaManager=null, kafka.log.LogManager=null, 
kafka.server.ZookeeperLeaderElector=null, kafka.network.Processor=null, 
kafka.server.KafkaApis$FetchRequestPurgatory=null, 
org.I0Itec.zkclient.ZkClient=null, kafka.network.SocketServer=null, 
kafka.controller.ControllerEpochListener=null, kafka.controller=TRACE, 
org.I0Itec.zkclient.ZkConnection=null, 
kafka.server.RequestPurgatory$ExpiredRequestReaper=null, 
kafka.network.BlockingChannel=null, kafka=INFO, kafka.log.LogSegment=null, 
org.apache.zookeeper.server.DataTree=null, 
org.apache.zookeeper.ClientCnxn=null, kafka.cluster.Partition=null, 
org.apache.zookeeper.CreateMode=null );


//////// ISSUE /////////////////
$>get -b 
""kafka.server":name="mass-MessagesInPerSec",type="BrokerTopicMetrics"" -d 
""kafka.server"" *
#IllegalArgumentException: Bean name 
"kafka.server":name="mass-MessagesInPerSec",type="BrokerTopicMetrics" isn't 
valid
$>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to