You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Israel Ekpo (JIRA)" <ji...@apache.org> on 2013/04/23 16:53:16 UTC

[jira] [Commented] (FLUME-2019) (SinkRunner-PollingRunner-DefaultSinkProcessor) [ERROR - org.apache.flume.sink.hdfs.HDFSEventSink.process(HDFSEventSink.java:460)

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

Israel Ekpo commented on FLUME-2019:
------------------------------------

>From the exception message, it looks like the JAR file you are using is not the same version as the one the library was compiled with.

You might want to check you lib directory to make sure that there are no JARs in your classpath that is overriding this dependency.

Also, I think you should close this issue and send an email instead to the user mailing list (user@flume.apache.org)


                
> (SinkRunner-PollingRunner-DefaultSinkProcessor) [ERROR - org.apache.flume.sink.hdfs.HDFSEventSink.process(HDFSEventSink.java:460)
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLUME-2019
>                 URL: https://issues.apache.org/jira/browse/FLUME-2019
>             Project: Flume
>          Issue Type: Bug
>          Components: Sinks+Sources
>    Affects Versions: v1.3.1
>         Environment: Ubuntu 12.04
>            Reporter: Kanikkannan
>            Priority: Blocker
>              Labels: hadoop, newbie
>             Fix For: v1.3.1
>
>
> I am getting the below error, when I try to upload a file into Hadoop HDFS.
> 2013-04-23 12:06:39,141 (SinkRunner-PollingRunner-DefaultSinkProcessor) [ERROR - org.apache.flume.sink.hdfs.HDFSEventSink.process(HDFSEventSink.java:460)] process failed
> java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.build()Lcom/google/common/cache/Cache;
> Flume.conf is as below
> ----------------------
> a1.sources = r1
> a1.sinks = k1
> a1.channels = c1
> a1.sources.r1.type = netcat
> a1.sources.r1.bind = localhost
> a1.sources.r1.port = 44444
> a1.sinks.k1.type = hdfs
> a1.sinks.k1.channel = c1
> a1.sinks.k1.hdfs.path = hdfs://localhost:8020/projects
> a1.sinks.k1.hdfs.hdfs.maxOpenFiles = 10000
> a1.channels.c1.type = memory
> a1.channels.c1.capacity = 100000
> a1.channels.c1.transactionCapacity = 100
> a1.sources.r1.channels = c1
> a1.sinks.k1.channel = c1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira