Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-2369

Kylin 1.6.0 Streaming Cube Build Error: Error: java.lang.ClassNotFoundException: org.apache.kafka.clients.consumer.Consumer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: v1.6.0
    • Fix Version/s: None
    • Component/s: NRT Streaming
    • Labels:
      None
    • Environment:
      OS:CentOS 7.1
      Hadoop:2.6.0+cdh5.8.3+1718
      HBase:1.2.0+cdh5.8.3+204
      Kylin:apache-kylin-1.6.0-cdh5.7-bin
      Kafka:kafka_2.10-0.10.0.0
    • Flags:
      Important

      Description

      When I configure all configurations with this tutorial:
      http://kylin.apache.org/docs16/tutorial/cube_streaming.html
      I encounter this ERROR:
      My Environment:

      OS:CentOS 7.1
      Hadoop:2.6.0+cdh5.8.3+1718
      HBase:1.2.0+cdh5.8.3+204
      Kylin:apache-kylin-1.6.0-cdh5.7-bin
      Kafka:kafka_2.10-0.10.0.0

      Then I finded the MR Log:

      2017-01-09 19:15:16,078 INFO [IPC Server handler 1 on 59075] org.apache.hadoop.mapred.TaskAttemptListenerImpl: JVM with ID: jvm_1483719580608_0003_m_000004 given task: attempt_1483719580608_0003_m_000002_0
      2017-01-09 19:15:16,615 ERROR [IPC Server handler 3 on 59075] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Task: attempt_1483719580608_0003_m_000000_0 - exited : java.lang.ClassNotFoundException: org.apache.kafka.clients.consumer.Consumer
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      at org.apache.kylin.source.kafka.hadoop.KafkaInputFormat.createRecordReader(KafkaInputFormat.java:90)
      at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.<init>(MapTask.java:515)
      at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:758)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
      at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:415)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1709)
      at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

      2017-01-09 19:15:16,615 INFO [IPC Server handler 3 on 59075] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Diagnostics report from attempt_1483719580608_0003_m_000000_0: Error: java.lang.ClassNotFoundException: org.apache.kafka.clients.consumer.Consumer
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      at org.apache.kylin.source.kafka.hadoop.KafkaInputFormat.createRecordReader(KafkaInputFormat.java:90)
      at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.<init>(MapTask.java:515)
      at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:758)
      at org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)
      at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:415)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1709)
      at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

        Attachments

        1. 1868157579.jpg
          10 kB
          Zhang Yue

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              Zhang Yue Zhang Yue
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: