flume启动报错,Unable to start SinkRunne

[ERROR - org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:253)] Unable to start SinkRunner: { policy:org.apache.flume.sink.DefaultSinkProcessor@89b783f counterGroup:{ name:null counters:{} } } - Exception follows.
java.lang.NoSuchMethodError: scala.Predef$.augmentString(Ljava/lang/String;)Lscala/collection/immutable/StringOps;
        at kafka.utils.VerifiableProperties.getShortInRange(VerifiableProperties.scala:85)
        at kafka.utils.VerifiableProperties.getShort(VerifiableProperties.scala:61)
        at kafka.producer.SyncProducerConfigShared$class.$init$(SyncProducerConfig.scala:49)
        at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:51)
        at kafka.producer.ProducerConfig.<init>(ProducerConfig.scala:56)
        at org.apache.flume.plugins.KafkaSink.start(KafkaSink.java:94)
        at org.apache.flume.sink.DefaultSinkProcessor.start(DefaultSinkProcessor.java:46)
        at org.apache.flume.SinkRunner.start(SinkRunner.java:79)
        at org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:251)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)

wangxiaolei

赞同来自:

执行的什么命令

wangxiaolei

赞同来自:

你用了第三方jar包没有?

要回复问题请先登录注册