hadoop-yarn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1455316 - /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh
Date Mon, 11 Mar 2013 20:31:17 GMT
Author: suresh
Date: Mon Mar 11 20:31:17 2013
New Revision: 1455316

URL: http://svn.apache.org/r1455316
Log:
HADOOP-9379. capture the ulimit info after printing the log to the console. Contributed by
Arpit Gupta.

Modified:
    hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh

Modified: hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh?rev=1455316&r1=1455315&r2=1455316&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh (original)
+++ hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/bin/yarn-daemon.sh Mon Mar 11 20:31:17
2013
@@ -124,10 +124,10 @@ case $startStop in
     nohup nice -n $YARN_NICENESS "$HADOOP_YARN_HOME"/bin/yarn --config $YARN_CONF_DIR $command
"$@" > "$log" 2>&1 < /dev/null &
     echo $! > $pid
     sleep 1
+    head "$log"
     # capture the ulimit output
     echo "ulimit -a" >> $log
     ulimit -a >> $log 2>&1
-    head -30 "$log"
     ;;
           
   (stop)



Mime
View raw message