Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1022

Double quotes in Domain name & Topic name

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.2.0
    • Component/s: tools
    • Labels:
      None
    • Environment:
      OEL 6.4 x64

      Description

      Using jmxterm-1.0-alpha-4-uber.jar i am able to fetch Mbeans attribute values in 0.7 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
      $>

        Attachments

          Activity

            People

            • Assignee:
              omkreddy Manikumar
              Reporter:
              atul.vish83 Atul V
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: