Details
-
Wish
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.5.0
-
None
-
None
Description
I wrote a custom Sink as a Flume plugin that uses code that leverages the CacheBuilder class provided by Guava. The problem was that my code uses Guava 14.0.1, and I ended up with this error:
31 Dec 2013 11:11:45,071 ERROR [SinkRunner-PollingRunner-DefaultSinkProcessor] (my.package.CustomSink.process:104) - Failed to process events. java.lang.NoSuchMethodError: com.google.common.cache.CacheBuilder.maximumSize(J)Lcom/google/common/cache/CacheBuilder; at my.package.CustomSink.process(CustomSink.java:90) at org.apache.flume.sink.DefaultSinkProcessor.process(DefaultSinkProcessor.java:68) at org.apache.flume.SinkRunner$PollingRunner.run(SinkRunner.java:147) at java.lang.Thread.run(Thread.java:744)
Thankfully, I have direct control over the code that uses Guava 14.0.1 and can download it to the version used by Flume (10.0.1 at time of writing this), but it'd be nice if I didn't have to downgrade my code base for this.
Attachments
Attachments
Issue Links
- depends upon
-
FLUME-2489 Upgrade Apache Curator to 2.6.0
- Resolved
- is related to
-
FLUME-2921 Support Elasticsearch 2.0+
- Patch Available
- relates to
-
FLUME-2921 Support Elasticsearch 2.0+
- Patch Available
- requires
-
FLUME-2203 Flume uses jsr-305 annotations without declaring it in the pom
- Patch Available