Hari Shreedharan created FLUME-1298:
---------------------------------------
Summary: System tests should unset the environment variables, set
its own environment variables and then run.
Key: FLUME-1298
URL: https://issues.apache.org/jira/browse/FLUME-1298
Project: Flume
Issue Type: Bug
Reporter: Hari Shreedharan
AFAIK, this can be done only by tricky methods, and we have to modify the
modifiable member from the unmodifiable map the System.getEnv() returns. Seems
like the member is called "m", but this is dependent on the library and might
change depending on version, but this is to be done.
A better way of doing this, is we should set these variables in flume-env.sh
and then start the flume agent from the java code. This will cause the agent to
source flume-env.sh and pick up the values we put in.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira