HBASE-13490 echo ulimit output to log during daemon foreground start.

Signed-off-by: Sean Busbey <[email protected]>


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

Branch: refs/heads/0.98
Commit: 4b1c64ec7242e9670271818a862bf0604b3ed5af
Parents: 0f59698
Author: Y. SREENIVASULU REDDY <[email protected]>
Authored: Fri Apr 17 11:16:12 2015 +0530
Committer: Sean Busbey <[email protected]>
Committed: Mon Apr 27 01:47:38 2015 -0500

----------------------------------------------------------------------
 bin/hbase-daemon.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/4b1c64ec/bin/hbase-daemon.sh
----------------------------------------------------------------------
diff --git a/bin/hbase-daemon.sh b/bin/hbase-daemon.sh
index e411dad..fa5c9fd 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

Reply via email to