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

Couldn't generate sample data for stream cube

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: v1.5.3
    • Fix Version/s: v1.5.3
    • Component/s: Others
    • Labels:
      None

      Description

      Trying to build sample streaming cube with the doc https://kylin.apache.org/docs15/tutorial/cube_streaming.html , but got error when generating the sample data:

      ./bin/kylin.sh org.apache.kylin.source.kafka.util.KafkaSampleProducer --topic kylin_demo --broker sandbox:6667 —delay 0

      Exception in thread "main" java.lang.NoClassDefFoundError: kafka/producer/ProducerConfig
      at org.apache.kylin.source.kafka.util.KafkaSampleProducer.main(KafkaSampleProducer.java:102)
      Caused by: java.lang.ClassNotFoundException: kafka.producer.ProducerConfig
      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)
      ... 1 more

      it should be related with KYLIN-1818

        Attachments

          Activity

            People

            • Assignee:
              shaofengshi Shao Feng Shi
              Reporter:
              shaofengshi Shao Feng Shi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: