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/5bee2930 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/5bee2930 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/5bee2930 Branch: refs/heads/branch-1 Commit: 5bee2930e04138cc678949c4f38dbcc144a69cec Parents: decc9b9 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:45:43 2015 -0500 ---------------------------------------------------------------------- bin/hbase-daemon.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/5bee2930/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
