hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject [22/50] [abbrv] hadoop git commit: HADOOP-15180. branch-2 : daemon processes' sysout overwrites 'ulimit -a' in daemon's out file. Contributed by Ranith Sardar
Date Wed, 02 May 2018 19:21:57 GMT
HADOOP-15180. branch-2 : daemon processes' sysout overwrites 'ulimit -a' in daemon's out file.
Contributed by Ranith Sardar


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/cbcd16e6
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/cbcd16e6
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/cbcd16e6

Branch: refs/heads/YARN-8200
Commit: cbcd16e6b7c84878bb2e26c398e3bdf943e364d0
Parents: 8f341c6
Author: Brahma Reddy Battula <brahma@apache.org>
Authored: Wed Apr 18 23:01:50 2018 +0530
Committer: Brahma Reddy Battula <brahma@apache.org>
Committed: Wed Apr 18 23:01:50 2018 +0530

----------------------------------------------------------------------
 .../hadoop-common/src/main/bin/hadoop-daemon.sh                  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/cbcd16e6/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh
index bcb618e..9bb951b 100755
--- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh
+++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh
@@ -156,10 +156,10 @@ case $startStop in
         else
           hdfsScript="$HADOOP_HDFS_HOME"/bin/hdfs
         fi
-        nohup nice -n $HADOOP_NICENESS $hdfsScript --config $HADOOP_CONF_DIR $command "$@"
> "$log" 2>&1 < /dev/null &
+        nohup nice -n $HADOOP_NICENESS $hdfsScript --config $HADOOP_CONF_DIR $command "$@"
>> "$log" 2>&1 < /dev/null &
       ;;
       (*)
-        nohup nice -n $HADOOP_NICENESS $hadoopScript --config $HADOOP_CONF_DIR $command "$@"
> "$log" 2>&1 < /dev/null &
+        nohup nice -n $HADOOP_NICENESS $hadoopScript --config $HADOOP_CONF_DIR $command "$@"
>> "$log" 2>&1 < /dev/null &
       ;;
     esac
     echo $! > $pid


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message