hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sur...@apache.org
Subject svn commit: r1455320 - in /hadoop/common/branches/branch-1: CHANGES.txt bin/hadoop-daemon.sh
Date Mon, 11 Mar 2013 20:37:14 GMT
Author: suresh
Date: Mon Mar 11 20:37:14 2013
New Revision: 1455320

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

Modified:
    hadoop/common/branches/branch-1/CHANGES.txt
    hadoop/common/branches/branch-1/bin/hadoop-daemon.sh

Modified: hadoop/common/branches/branch-1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1455320&r1=1455319&r2=1455320&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1/CHANGES.txt Mon Mar 11 20:37:14 2013
@@ -531,6 +531,9 @@ Release 1.2.0 - unreleased
 
     HDFS-4558. Fix the NPE thrown when starting balancer.  (Junping Du via szetszwo)
 
+    HADOOP-9379. capture the ulimit info after printing the log to the console.
+    (Arpit Gupta via suresh)
+
 Release 1.1.2 - 2013.01.30
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/branches/branch-1/bin/hadoop-daemon.sh
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/bin/hadoop-daemon.sh?rev=1455320&r1=1455319&r2=1455320&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/bin/hadoop-daemon.sh (original)
+++ hadoop/common/branches/branch-1/bin/hadoop-daemon.sh Mon Mar 11 20:37:14 2013
@@ -137,6 +137,7 @@ case $startStop in
     nohup nice -n $HADOOP_NICENESS "$HADOOP_PREFIX"/bin/hadoop --config $HADOOP_CONF_DIR
$command "$@" > "$log" 2>&1 < /dev/null &
     echo $! > $pid
     sleep 1
+    head "$log"
     # capture the ulimit output
     if [ "true" = "$starting_secure_dn" ]; then
       echo "ulimit -a for secure datanode user $HADOOP_SECURE_DN_USER" >> $log
@@ -146,7 +147,6 @@ case $startStop in
       echo "ulimit -a for user $USER" >> $log
       ulimit -a >> $log 2>&1
     fi
-    head -30 "$log"
     ;;
           
   (stop)



Mime
View raw message