[ 
https://issues.apache.org/jira/browse/FLUME-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973959#comment-15973959
 ] 

tycho_yang commented on FLUME-3021:
-----------------------------------

Also find a new question, whether your dependency package affects the Avro 
Source component. Avro Source port can not bind, I use your binary package also 
exists This problem should affect the Avro Source component


############################################

new MBean.
2017-04-19 10:35:02,868 (lifecycleSupervisor-1-1) [INFO - 
org.apache.flume.instrumentation.MonitoredCounterGroup.start(MonitoredCounterGroup.java:95)]
 Component type: SINK, name: k1 started
2017-04-19 10:35:02,876 (lifecycleSupervisor-1-3) [ERROR - 
org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:251)]
 Unable to start EventDrivenSourceRunner: { source:Avro source s1: { 
bindAddress: 192.168.3.33, port: 31001 } } - Exception follows.
java.lang.NoClassDefFoundError: org/codehaus/jackson/node/TextNode
        at org.apache.avro.ipc.Responder.<clinit>(Responder.java:54)
        at org.apache.flume.source.AvroSource.start(AvroSource.java:236)
        at 
org.apache.flume.source.EventDrivenSourceRunner.start(EventDrivenSourceRunner.java:44)
        at 
org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:249)
        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)
Caused by: java.lang.ClassNotFoundException: org.codehaus.jackson.node.TextNode
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 11 more
2017-04-19 10:35:02,890 (lifecycleSupervisor-1-3) [INFO - 
org.apache.flume.source.AvroSource.stop(AvroSource.java:301)] Avro source s1 
stopping: Avro source s1: { bindAddress: 192.168.3.33, port: 31001 }
2017-04-19 10:35:02,890 (lifecycleSupervisor-1-3) [ERROR - 
org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:262)]
 Unsuccessful attempt to shutdown component: {} due to missing dependencies. 
Please shutdown the agentor disable this component, or the agent will bein an 
undefined state.
java.lang.NullPointerException
        at org.apache.flume.source.AvroSource.stop(AvroSource.java:303)
        at 
org.apache.flume.source.EventDrivenSourceRunner.stop(EventDrivenSourceRunner.java:51)
        at 
org.apache.flume.lifecycle.LifecycleSupervisor$MonitorRunnable.run(LifecycleSupervisor.java:257)
        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)


> flume Elasticsearch 5.0 not support
> -----------------------------------
>
>                 Key: FLUME-3021
>                 URL: https://issues.apache.org/jira/browse/FLUME-3021
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: 1.7.0
>            Reporter: tycho_yang
>            Assignee: Yonghao Zou
>             Fix For: 1.8.0
>
>         Attachments: FLUME-3021-0.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to