使用morphlinesolrsink的solr sink的错误flume代理

bweufnob  于 2021-06-04  发布在  Flume
关注(0)|答案(1)|浏览(400)

这是kartheek.am使用Flume代理solr sink和这里我使用morplin,但我得到以下错误,你能告诉我这是背后的原因。
error java.lang.noclassdeffounderror:org/kitesdk/morpline/api/morplineCompilationException位于java.lang.class.forname0(本机方法)的java.lang.class.forname(类)。java:190)在org.apache.flume.sink.solr.morpline.morplinesink.start(morplinesink。java:93)在org.apache.flume.sink.defaultsinkprocessor.start(defaultsinkprocessor。java:46)在org.apache.flume.sinkrunner.start(sinkrunner。java:79)在org.apache.flume.lifecyclesupervisor.lifecyclesupervisor$monitorUnnable.run(lifecyclesupervisor。java:251)在java.util.concurrent.executors$runnableadapter.call(executors。java:471)在java.util.concurrent.futuretask.runandreset(futuretask。java:304)在java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.access$301(scheduledthreadpoolexecutor。java:178)在java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.run(scheduledthreadpoolexecutor。java:293)位于java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor。java:1145)在java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor。java:615)在java.lang.thread.run(线程。java:744)原因:java.lang.classnotfoundexception:org.kitesdk.morpline.api.morplineCompilationException位于java.net.urlclassloader$1.run(urlclassloader)。java:366)在java.net.urlclassloader$1.run(urlclassloader。java:355)在java.security.accesscontroller.doprivileged(本机方法)

dy2hfwbg

dy2hfwbg1#

正如它所说,这个错误是一个错误 NoClassDefFoundError ,这意味着找不到引用的类, org/kitesdk/morphline/api/MorphlineCompilationException . 我猜这是因为类路径不好或者没有安装kitesdk/morphline基。为什么 MorphlineCompilationException 如果不了解更多关于设置的信息,很难说抛出了,但它表明morphline配置有错误,可能是 conf/morphline.conf .

相关问题