Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2786 Supporting CDAP 3.1.0 in MapR distro
  3. CDAP-2797

Starting KafkaServer after ZkClientService fails in MapR

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: CDAP
    • Labels:
      None
    • Rank:
      1|hzyusn:

      Description

      In a simple java application,
      1) start Zookeeper client service - connecting to the mapr zookeeper service
      2) start kafka service

      then run this application on the MapR cluster with the following classpath and options
      HCP=`hadoop classpath` java -Dhadoop.login=simple -Djava.security.auth.login.config=/opt/mapr/conf/mapr.login.conf -Dzookeeper.sasl.clientconfig=Client_simple -Dzookeeper.saslprovider=com.mapr.security.simplesasl.SimpleSaslProvider -Dmapr.library.flatclass -classpath $HCP:/opt/mapr/lib/*:TestApplication.jar:/tmp/log4j/ co.cask.cdap.examples.testapplication.KafkaTest

      the classpath provides the mapr and hadoop classpath jars.

      Running this application, the application hangs while starting the kafka service.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                terence Terence Yim
                Reporter:
                shankar Shankar Selvam
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: