[
https://issues.apache.org/jira/browse/FLUME-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joshua Hyde updated FLUME-2295:
-------------------------------
Summary: Allow specification of classpath ordering (was: Reinstate ability
to replace classpath (in addition to appending))
> Allow specification of classpath ordering
> -----------------------------------------
>
> Key: FLUME-2295
> URL: https://issues.apache.org/jira/browse/FLUME-2295
> Project: Flume
> Issue Type: Improvement
> Components: Node
> Reporter: Joshua Hyde
>
> I know that, in FLUME-1078, the ability to replace the classpath was removed
> in favor of appending to it.
> However, I need to be able to Flume to load classes from {{lib/}} and
> {{libext/}} folders of my plugin *first*, and then load from {{conf/}} and
> {{lib/}} *second*. This is because I depend on some libraries that rely on
> {{libthrift-0.9.0.jar}}, and I cannot change that. This dependency relies on
> features in 0.9.0 that aren't available in the {{thrift-0.7.0.jar}} brought
> in by Flume, so I start getting "method not found" errors. If I could tell
> Flume to load my {{libext/}} folder *first*, then I wouldn't have problems
> with the version of Thrift that Flume brings in.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)