From f2e1238f9812ebe0257ad4b3af1200230231529a Mon Sep 17 00:00:00 2001 From: "Y. SREENIVASULU REDDY" Date: Fri, 17 Apr 2015 11:16:12 +0530 Subject: [PATCH] HBASE-13490 echo ulimit output to log during daemon foreground start. Signed-off-by: Sean Busbey --- bin/hbase-daemon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/hbase-daemon.sh b/bin/hbase-daemon.sh index e411dad2782..fa5c9fde771 100755 --- a/bin/hbase-daemon.sh +++ b/bin/hbase-daemon.sh @@ -204,7 +204,7 @@ case $startStop in (foreground_start) # Add to the command log file vital stats on our environment. echo "`date` Starting $command on `hostname`" >> ${HBASE_LOGLOG} - `ulimit -a` >> "$HBASE_LOGLOG" 2>&1 + echo "`ulimit -a`" >> "$HBASE_LOGLOG" 2>&1 # in case the parent shell gets the kill make sure to trap signals. # Only one will get called. Either the trap or the flow will go through. trap cleanAfterRun SIGHUP SIGINT SIGTERM EXIT