svn merge -c 1491548 FIXES: HADOOP-9581. hadoop --config non-existent directory should result in error. Contributed by Ashwin Shankar

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1491549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Darrell Lowe 2013-06-10 18:14:16 +00:00
parent 6e9ad986eb
commit a78d8ed016
2 changed files with 7 additions and 0 deletions

View File

@ -246,6 +246,9 @@ Release 2.1.0-beta - UNRELEASED
HADOOP-9605. Update junit dependency. (Timothy St. Clair via cos)
HADOOP-9581. hadoop --config non-existent directory should result in error
(Ashwin Shankar via jlowe)
BREAKDOWN OF HADOOP-8562 SUBTASKS AND RELATED JIRAS
HADOOP-8924. Hadoop Common creating package-info.java must not depend on

View File

@ -60,6 +60,10 @@ then
then
shift
confdir=$1
if [ ! -d "$confdir" ]; then
echo "Error: Cannot find configuration directory: $confdir"
exit 1
fi
shift
HADOOP_CONF_DIR=$confdir
fi