Updated Branches: refs/heads/trunk 5c32ff30a -> a035a5d61
FLUME-1656. flume-ng script disregards stderr from hadoop command when finding hadoop jars. (Brock Noland via Hari Shreedharan) Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/a035a5d6 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/a035a5d6 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/a035a5d6 Branch: refs/heads/trunk Commit: a035a5d61495398da80d658a30a7cdb6c49300dc Parents: 5c32ff3 Author: Hari Shreedharan <[email protected]> Authored: Fri Nov 9 11:23:31 2012 -0800 Committer: Hari Shreedharan <[email protected]> Committed: Fri Nov 9 11:23:31 2012 -0800 ---------------------------------------------------------------------- bin/flume-ng | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/a035a5d6/bin/flume-ng ---------------------------------------------------------------------- diff --git a/bin/flume-ng b/bin/flume-ng index 37b446b..62e9bba 100755 --- a/bin/flume-ng +++ b/bin/flume-ng @@ -71,7 +71,7 @@ add_hadoop_paths() { local HADOOP_CLASSPATH="" local HADOOP_JAVA_LIBRARY_PATH=$(HADOOP_CLASSPATH="$FLUME_CLASSPATH" \ ${HADOOP_IN_PATH} org.apache.flume.tools.GetJavaProperty \ - java.library.path 2>/dev/null) + java.library.path) # look for the line that has the desired property value # (considering extraneous output from some GC options that write to stdout) @@ -90,7 +90,7 @@ add_hadoop_paths() { fi # determine hadoop classpath - HADOOP_CLASSPATH=$($HADOOP_IN_PATH classpath 2>/dev/null) + HADOOP_CLASSPATH=$($HADOOP_IN_PATH classpath) # hack up and filter hadoop classpath local ELEMENTS=$(sed -e 's/:/ /g' <<<${HADOOP_CLASSPATH}) @@ -120,7 +120,7 @@ add_HBASE_paths() { local HBASE_CLASSPATH="" local HBASE_JAVA_LIBRARY_PATH=$(HBASE_CLASSPATH="$FLUME_CLASSPATH" \ ${HBASE_IN_PATH} org.apache.flume.tools.GetJavaProperty \ - java.library.path 2>/dev/null) + java.library.path) # look for the line that has the desired property value # (considering extraneous output from some GC options that write to stdout) @@ -139,7 +139,7 @@ add_HBASE_paths() { fi # determine HBASE classpath - HBASE_CLASSPATH=$($HBASE_IN_PATH classpath 2>/dev/null) + HBASE_CLASSPATH=$($HBASE_IN_PATH classpath) # hack up and filter HBASE classpath local ELEMENTS=$(sed -e 's/:/ /g' <<<${HBASE_CLASSPATH})
