Details
-
Question
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.3.1
-
Ubuntu 12.04
-
Build related issue
Description
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