|
Vikram Srivastava |
at Oct 29, 2012 at 7:46 pm
|
⇧ |
| |
Hey Patrick,
You can add additional directories to your classpath by modifying the
config "Additional Java Configuration Options for Flume Agent" in CM UI.
You need to specify ALL the paths by adding
"-Djava.library.path={ALL_PATHS}". This string gets sent as-is to Flume
agent startup script. So make sure it contains all the paths needed by your
Flume Agents.
*
*
*Regards,
*
*
*
*Vikram
*
On Mon, Oct 29, 2012 at 12:25 PM, Patrick Ethier wrote:
I can specify a config file, all command-line arguments to java and
specify settings for log4j.properties.
I want to add my own "sink" class via my own jar file, but nowhere to
modify FLUME_CLASSPATH.
I tried changing /etc/flume/conf/flume-env.sh but this doesn't seem to be
loaded when the agent is managed by the SCM.
Any recommended best-practices for this?
Thanks,
Pat