- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Flume - custom user classpath by CM
- Labels:
-
Apache Flume
-
Cloudera Manager
Created on ‎04-26-2017 03:29 AM - edited ‎09-16-2022 04:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
i need insert 'plugins_lib' directory at the head of flume_classpath .
I solved it modifying CDH_INSTALL_DIR/lib/flume-ng/bin/flume-ng script:
from :
if [[ -n "${plugin_lib}" ]] then FLUME_CLASSPATH="${FLUME_CLASSPATH}:${plugin_lib}" fi
to:
if [[ -n "${plugin_lib}" ]] then FLUME_CLASSPATH="${plugin_lib}:${FLUME_CLASSPATH}" fi
In a production environemnt i can't alter script.
So,how can achieve it using cloudera manager configuration?
Thanks in advance
Created ‎04-26-2017 08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have duplicate classes with higher versions, the recommendation would be to use the maven shade plugin (https://maven.apache.org/plugins/maven-shade-plugin/) with relocation in order to load the needed duplicate classes.
-pd
Created ‎04-26-2017 08:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have duplicate classes with higher versions, the recommendation would be to use the maven shade plugin (https://maven.apache.org/plugins/maven-shade-plugin/) with relocation in order to load the needed duplicate classes.
-pd
Created ‎04-27-2017 02:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it works!!
Thanks !!
