使用MorphlineSolrSink对solr接收器进行错误Flume代理

时间:2014-07-09 12:16:39

标签: solr flume

这是kartheek.Am使用flume agent for solr sink,这里使用的是morphlin但是我正在跟踪错误你能告诉我wat是这背后的reaseon。

错误 java.lang.NoClassDefFoundError:org / kitesdk / morphline / api / MorphlineCompilationException         at java.lang.Class.forName0(Native Method)         at java.lang.Class.forName(Class.java:190)         在org.apache.flume.sink.solr.morphline.MorphlineSink.start(MorphlineSink.java:93)         在org.apache.flume.sink.DefaultSinkProcessor.start(DefaultSinkProcessor.java:46)         在org.apache.flume.SinkRunner.start(SinkRunner.java:79)         在org.apache.flume.lifecycle.LifecycleSupervisor $ MonitorRunnable.run(LifecycleSupervisor.java:251)         at java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:471)         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)         at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.access $ 301(ScheduledThreadPoolExecutor.java:178)         at java.util.concurrent.ScheduledThreadPoolExecutor $ ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)         在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)         at java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:615)         在java.lang.Thread.run(Thread.java:744) 引起:java.lang.ClassNotFoundException:org.kitesdk.morphline.api.MorphlineCompilationException         在java.net.URLClassLoader $ 1.run(URLClassLoader.java:366)         在java.net.URLClassLoader $ 1.run(URLClassLoader.java:355)         at java.security.AccessController.doPrivileged(Native Method)

1 个答案:

答案 0 :(得分:0)

正如所说,错误是NoClassDefFoundError,这意味着它无法找到引用的类org/kitesdk/morphline/api/MorphlineCompilationException。我猜测这是由一个糟糕的类路径引起的,或者你是不是安装了kitesdk / morphline基础。如果不了解您的设置,很难说MorphlineCompilationException被抛出的原因,但它表明Morphline配置出错,可能是conf/morphline.conf