Author: omalley
Date: Thu Aug 7 10:07:14 2008
New Revision: 683652
URL: http://svn.apache.org/viewvc?rev=683652&view=rev
Log:
HADOOP-3319. Fix some HOD error messages to go stderr instead of
stdout. (Vinod Kumar Vavilapalli via omalley)
Modified:
hadoop/core/trunk/CHANGES.txt
hadoop/core/trunk/src/contrib/hod/bin/checknodes
Modified: hadoop/core/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=683652&r1=683651&r2=683652&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Thu Aug 7 10:07:14 2008
@@ -238,6 +238,9 @@
HADOOP-3904. Fix unit tests using the old dfs package name.
(TszWo (Nicholas), SZE via johan)
+ HADOOP-3319. Fix some HOD error messages to go stderr instead of
+ stdout. (Vinod Kumar Vavilapalli via omalley)
+
Release 0.18.0 - Unreleased
INCOMPATIBLE CHANGES
Modified: hadoop/core/trunk/src/contrib/hod/bin/checknodes
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/hod/bin/checknodes?rev=683652&r1=683651&r2=683652&view=diff
==============================================================================
--- hadoop/core/trunk/src/contrib/hod/bin/checknodes (original)
+++ hadoop/core/trunk/src/contrib/hod/bin/checknodes Thu Aug 7 10:07:14 2008
@@ -19,12 +19,12 @@
PBS_NODES_PATH=`which pbsnodes 2>/dev/null`
if [ -z $PBS_NODES_PATH ]
then
- echo Could not find pbsnodes in path. Cannot check available number of nodes.
+ echo Could not find pbsnodes in path. Cannot check available number of
nodes. >&2
exit 1
fi
if [ -z $1 ]
then
- echo Usage: checknodes queue-name
+ echo Usage: checknodes queue-name >&2
exit 2
fi
# the number of nodes marked 'free', and which do not contain a jobs attribute
from the server or from the moms.