Nick Dimiduk
e7a958a45f
HBASE-27651 hbase-daemon.sh foreground_start should propagate SIGHUP and SIGTERM
...
Introduce separate `trap`s for SIGHUP vs. the rest. Treat `SIGINT`, `SIGKILL`, and `EXIT` identically, as before. Use the signal name without `SIG` prefix for increased portability, as per the POSIX man page for `trap`.
`SIGTERM` handler will now honor `HBASE_STOP_TIMEOUT` as described in the file header.
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Michael Stack <stack@apache.org>
2023-03-20 15:36:33 +01:00
mrzhao
92265d39e5
HBASE-27503 Support replace <FILE-PATH> in GC_OPTS for ZGC ( #4892 )
...
Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 7fc4d99384
)
2022-11-29 00:02:57 +08:00
tedyu
2cf3622b47
HBASE-18274 hbase autorestart will overwrite the gc log (Fangyuan Deng)
2017-06-27 08:07:55 -07:00
Loknath Priyatham Teja Singamsetty
06b67a632c
HBASE-15924 Enhance hbase services autorestart capability to hbase-daemon.sh
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-12-20 17:37:10 -08:00
tedyu
1b66ea71b6
HBASE-14581 Znode cleanup throws auth exception in secure mode
2015-10-10 01:59:57 -07:00
Elliott Clark
a77f830198
HBASE-14529 Respond to SIGHUP to reload config
...
Summary: Add a signal handler to reload the config.
Test Plan: Send the command and see that configs get reloaded.
Differential Revision: https://reviews.facebook.net/D47877
2015-10-08 16:38:18 -07:00
Sean Busbey
4ce6f486d0
HBASE-14087 Ensure correct ASF headers for docs/code
...
* adds missing headers
* corrects some old-form headers to current
* restores proper header for guava copied LimitInputStream
* adds proper header for protobuf copied read/writeRawVarint
2015-07-29 14:25:43 -05:00
Elliott Clark
608c3aa15c
HBASE-13927 Allow hbase-daemon.sh to conditionally redirect the log or not
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-07-06 11:48:36 -05:00
Y. SREENIVASULU REDDY
f2e1238f98
HBASE-13490 echo ulimit output to log during daemon foreground start.
...
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-04-27 01:31:43 -05:00
Elliott Clark
a7d93155f1
HBASE-12999 Make foreground_start return the correct exit code
2015-02-10 14:36:29 -08:00
Elliott Clark
5c1b08c5ca
HBASE-12964 Add the ability for hbase-daemon.sh to start in the foreground
2015-02-03 15:09:48 -08:00
stack
b68b3bf784
HBASE-12240 hbase-daemon.sh should remove pid file if process not found running (Ashish Singhi)
2014-10-12 23:08:13 -07:00
stack
5d4bc3ea1c
HBASE-10748 hbase-daemon.sh fails to execute with 'sh' command
2014-09-24 09:21:03 -07:00
stack
257562036b
HBASE-12019 hbase-daemon.sh overwrite HBASE_ROOT_LOGGER and HBASE_SECURITY_LOGGER variables (Sebastien Barrier)
2014-09-18 17:00:53 -07:00
Rajeshbabu Chintaguntla
5a05836dd1
HBASE-11493 Autorestart option is not working because of stale znode 'shutdown'(Nijel)
2014-07-14 05:32:55 +00:00
Michael Stack
47724c0791
HBASE-9412 Startup scripts create 2 .out files
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1520165 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 22:51:16 +00:00
eclark
4c05a177b0
HBASE-9034 hbase-daemon.sh swallows start up errors -- ADD
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1508944 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 15:53:57 +00:00
eclark
2e13c675d5
HBASE-9034 hbase-daemon.sh swallows start up errors
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1506716 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 21:12:29 +00:00
Michael Stack
0f30646656
HBASE-7579 HTableDescriptor equals method fails if results are returned in a different order; REVERT -- OVERCOMMITTED
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471053 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 17:17:04 +00:00
Michael Stack
2b32678420
HBASE-7579 HTableDescriptor equals method fails if results are returned in a different order
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471052 13f79535-47bb-0310-9956-ffa450edef68
2013-04-23 17:15:36 +00:00
jyates
5ca140fe2f
HBASE-7817: Suggested JDWP debug options in hbase-env.sh are wrong (Vasu Mariyala)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1464736 13f79535-47bb-0310-9956-ffa450edef68
2013-04-04 20:45:25 +00:00
nkeywal
dac024559d
HBASE-7838 HBase regionserver never stoping when running hbase-daemon.sh stop regionserver (Damien Hardy) - addendum
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1448997 13f79535-47bb-0310-9956-ffa450edef68
2013-02-22 11:33:11 +00:00
nkeywal
67ba5e3d50
HBASE-7838 HBase regionserver never stoping when running (Damien Hardy)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1446116 13f79535-47bb-0310-9956-ffa450edef68
2013-02-14 11:07:05 +00:00
Michael Stack
4c61d4a965
HBASE-5926 Delete the master znode after a master crash
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1340185 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 17:44:04 +00:00
Andrew Kyle Purtell
1df5bcad82
HBASE-6010. Security audit logger configuration for log4j
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1339817 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 19:36:42 +00:00
Michael Stack
e8f27c7408
HBASE-5939 Add an autorestart option in the start scripts
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1337418 13f79535-47bb-0310-9956-ffa450edef68
2012-05-11 23:49:35 +00:00
Michael Stack
49731c73dc
HBASE-5844 Delete the region servers znode after a regions server crash
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1334028 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 15:19:47 +00:00
Michael Stack
d7110681df
HBASE-5844 Delete the region servers znode after a regions server crash; REVERT
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1330983 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 17:30:13 +00:00
Michael Stack
fd4ce7149f
HBASE-5844 Delete the region servers znode after a regions server crash
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329430 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 20:29:45 +00:00
Zhihong Yu
2ecce6117e
HBASE-5655 Cap space usage of default log4j rolling policy (Himanshu)
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1307453 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 14:46:49 +00:00
Michael Stack
90a11d367f
HBASE-5167 We shouldn't be injecting 'Killing [daemon]' into logs, when we aren't doing that.
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1230267 13f79535-47bb-0310-9956-ffa450edef68
2012-01-11 21:44:20 +00:00
Kannan Muthukkaruppan
7dbde6f932
HBASE-4761 Add Developer Debug Options to HBase Config
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1203409 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:53:42 +00:00
Michael Stack
bbe544d2fa
HBASE-4526 special case for stopping master in hbase-daemon.sh is no longer required
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1178462 13f79535-47bb-0310-9956-ffa450edef68
2011-10-03 17:14:23 +00:00
Michael Stack
9e4d90cdf1
HBASE-3895 Fix order of parameters after HBASE-1511
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1124358 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 18:03:39 +00:00
Michael Stack
67a3bf92b7
Added note on nproc and changed it so we print ulimit -a instead of ulimit -n into out server logs
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1087188 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 05:33:28 +00:00
Michael Stack
ce16f762e9
HBASE-3430 hbase-daemon.sh should clean up PID files on process stop
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1056515 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 21:18:31 +00:00
Michael Stack
5964303163
HBASE-2936 Differentiate between daemon & restart sleep periods
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1043162 13f79535-47bb-0310-9956-ffa450edef68
2010-12-07 18:54:32 +00:00
Jonathan Gray
add2f82ca7
HBASE-3126 Force use of 'mv -f' when moving aside hbase logfiles
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1029177 13f79535-47bb-0310-9956-ffa450edef68
2010-10-30 20:10:31 +00:00
Michael Stack
f36d48b045
HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026470 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 19:54:21 +00:00
Michael Stack
b3baa8aca7
HBASE-1660: script to handle rolling restarts
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@985084 13f79535-47bb-0310-9956-ffa450edef68
2010-08-13 04:12:09 +00:00
Michael Stack
2db593c8c6
HBASE-2871 Make 'start|stop' commands symmetric for Master & Cluster
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@982123 13f79535-47bb-0310-9956-ffa450edef68
2010-08-04 05:27:09 +00:00
Michael Stack
b0e56b5cfa
HBASE-2879 Offer ZK CLI outside of HBase Shell
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@979881 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 21:50:05 +00:00
Michael Stack
00ed966728
HBASE-2831 Fix '' path duplication in setup scripts
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@963539 13f79535-47bb-0310-9956-ffa450edef68
2010-07-13 00:24:12 +00:00
Andrew Kyle Purtell
11d2b63d1c
HBASE-2084 [EC2] JAVA_HOME handling broken
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894938 13f79535-47bb-0310-9956-ffa450edef68
2009-12-31 20:50:56 +00:00
Nitay Joffe
558284d6d2
HBASE-1550 hbase-daemon.sh stop should provide more information when stop command fails
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@786669 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 21:25:45 +00:00
Michael Stack
2455174c07
HBASE-1055 Better vm stats on startup
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@726278 13f79535-47bb-0310-9956-ffa450edef68
2008-12-13 22:02:04 +00:00
Michael Stack
8fc5cd2b95
HBASE-558 Output hbase+hadoop+jvm version as well as java opts, ulimit, into master/regionserver log on startup
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656798 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 19:22:54 +00:00
Michael Stack
0a70afc862
HADOOP-403 Fix build after move of hbase in svn
...
Create pid dir if it doesn't exist already.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618800 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 22:24:11 +00:00
Michael Stack
24b065cc91
HADOOP-403 Fix build after move of hbase in svn
...
Removed mention of all of the HADOOP_* environment variables. Made
HBASE_* equivs. hbase-env.sh is not near dup of hadoop-env.sh.
Removed options on scripts that used take both hbase and hadoop
conf and home. Now we just work w/ hbase. Fixed logging (logs
dir now under hbase).
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618765 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:09:24 +00:00
Michael Stack
246d4b80ab
HADOOP-2545 hbase rest server should be started with hbase-daemon.sh
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612913 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 18:19:31 +00:00