[
https://issues.apache.org/jira/browse/FLUME-792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126801#comment-13126801
]
Jonathan Hsieh commented on FLUME-792:
--------------------------------------
This can be fixed in bin/flume by changing this in
{code}
# try to load the hadoop core jars
HADOOP_CORE_FOUND=false
while true; do
if [ -n "$HADOOP_HOME" ]; then
HADCOREJARS=`find ${HADOOP_HOME}/hadoop-core*.jar || find
${HADOOP_HOME}/lib/hadoop-core*.jar || true`
if [ -n "$HADCOREJARS" ]; then
HADOOP_CORE_FOUND=true
CLASSPATH="$CLASSPATH:${HADCOREJARS}"
break;
fi
fi
{code}
{code}
# try to load the hadoop core jars
HADOOP_CORE_FOUND=false
while true; do
if [ -n "$HADOOP_HOME" ]; then
HADCOREJARS=`find ${HADOOP_HOME}/hadoop-core*.jar || find
${HADOOP_HOME}/lib/hadoop-core*.jar || true`
if [ -n "$HADCOREJARS" ]; then
HADOOP_CORE_FOUND=true
HADCOREJARS=`echo $HADCOREJARS | sed 's/ /:/'`
CLASSPATH="$CLASSPATH:${HADCOREJARS}"
break;
fi
fi
{code}
> Flume's java classpath has a space somewhere in the classpath instead of a
> colon separator
> ------------------------------------------------------------------------------------------
>
> Key: FLUME-792
> URL: https://issues.apache.org/jira/browse/FLUME-792
> Project: Flume
> Issue Type: Bug
> Reporter: Will McQueen
>
> If there are hadoop jars found based on $HADOOP_HOME environment variable,
> find can return multiple entires that contains a space.
> We probably need to fix this to remove the space. (There may be another
> hadoop added to the class path later which allows flume to run).
--
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