Shaofeng SHI created KYLIN-1871:
-----------------------------------

             Summary: Couldn't generate sample data for stream cube
                 Key: KYLIN-1871
                 URL: https://issues.apache.org/jira/browse/KYLIN-1871
             Project: Kylin
          Issue Type: Bug
          Components: General
    Affects Versions: v1.5.3
            Reporter: Shaofeng SHI
            Priority: Minor
             Fix For: v1.5.3


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to