HBASE-13490 echo ulimit output to log during daemon foreground start.
Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
parent
4182fc1a9b
commit
f2e1238f98
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue