Commit Graph

253 Commits

Author SHA1 Message Date
Michael Stack fc9c63f8c3 HBASE-5879 Enable JMX metrics collection for the Thrift proxy
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1332450 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 22:26:31 +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 1ad0378006 HBASE-5863 Improve the graceful_stop.sh CLI help (especially about reloads)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1329793 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 15:33:24 +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
mbautin a2c1c0cd3e [jira] [HBASE-5684] Make ProcessBasedLocalHBaseCluster run HDFS and make it more
robust

Summary:
Currently ProcessBasedLocalHBaseCluster runs on top of raw local filesystem. We
need it to start a process-based HDFS cluster as well. We also need to make the
whole thing more stable so we can use it in unit tests.

Also all logs of local HBase cluster daemons are now tailed to the primary log
of the unit test with the appropriate prefixes to make debugging easier.

This is a trunk diff. The 89-fb version is D2709.

Test Plan:
Run the new unit test multiple times (10x or 50x).
Run all unit tests.

Reviewers: tedyu, stack, lhofhansl, nspiegelberg, amirshim, JIRA

Reviewed By: tedyu

Differential Revision: https://reviews.facebook.net/D2757

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1326036 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 01:25:27 +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
Jonathan Hsieh c38f889627 HBASE-5603 rolling-restart.sh script hangs when attempting to detect expiration of /hbase/master znode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1303184 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 22:46:54 +00:00
Michael Stack a728f94079 HBASE-5314 racefully rolling restart region servers in rolling-restart.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1299983 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 06:30:15 +00:00
Michael Stack 180b41f518 HBASE-5286 bin/hbase's logic of adding Hadoop jar files to the classpath is fragile when presented with split packaged Hadoop 0.23 installation
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1296661 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 16:45:25 +00:00
Michael Stack dace419238 HBASE-4403 Adopt interface stability/audience classifications from Hadoop AND HBASE-5502 region_mover.rb fails to load regions back to original server for regions only containing empty tables
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1295710 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 17:53:03 +00:00
Jonathan Hsieh 8bb23aef17 HBASE-5364 Fix source files missing license in 0.92 and trunk (Elliott Clark)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1242906 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 20:07:36 +00:00
Michael Stack ec7daf9413 HBASE-5221 bin/hbase script doesn't look for Hadoop jars in the right place in trunk layout -- REVERTED
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1242027 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 18:11:08 +00:00
Michael Stack 50f3e412a9 HBASE-5221 bin/hbase script doesn't look for Hadoop jars in the right place in trunk layout
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1241952 13f79535-47bb-0310-9956-ffa450edef68
2012-02-08 15:56:48 +00:00
Michael Stack a87e1ad952 HBASE-5307 Unable to gracefully decommission a node because of script error
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1238878 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 00:28:46 +00:00
Michael Stack 4a8b0e9059 HBASE-5278 HBase shell script refers to removed 'migrate' functionality
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1235884 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:47:13 +00:00
Michael Stack 0d61857881 HBASE-5245 HBase shell should use alternate jruby if JRUBY_HOME is set, should pass along JRUBY_OPTS
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1234626 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 21:57:48 +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
larsh 8f101720a2 HBASE-3924 Improve Shell's CLI help (Harsh J)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1225370 13f79535-47bb-0310-9956-ffa450edef68
2011-12-28 22:57:30 +00:00
Michael Stack 685762a691 HBASE-4982 graceful_stop.sh does not pass on the --config its passed to its internal invocations of other hbase scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1212050 13f79535-47bb-0310-9956-ffa450edef68
2011-12-08 19:19:45 +00:00
Michael Stack 44fd83732d HBASE-4884 Allow environment overrides for various HBase processes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1207760 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 05:54:59 +00:00
Michael Stack ef52263373 HBASE-4854 it seems that CLASSPATH elements coming from Hadoop change HBase behaviour
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1205288 13f79535-47bb-0310-9956-ffa450edef68
2011-11-23 05:10:38 +00:00
Michael Stack a8ea368223 HBASE-4830 Regionserver BLOCKED on WAITING DFSClient$DFSOutputStream.waitForAckedSeqno running 0.20.205.0+
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1204770 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 01:06:03 +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
karthik 685fe23a00 [jira] [HBASE-4771] List HBase Region availability
Summary:
One critical feature necessary to completely automate
production pushes is the ability to recognize when HBase has
successfully made all regions available for reads/writes (step prior to
HBCK).  Created script to display region availability status and stall
until all onlined regions are actually available.

Test Plan: - bin/hbase org.jruby.Main bin/region_status.rb wait

Reviewers: stack, Kannan, JIRA

Reviewed By: stack

CC: stack

Differential Revision: 399

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1203396 13f79535-47bb-0310-9956-ffa450edef68
2011-11-17 22:20:41 +00:00
Zhihong Yu 4664a4bab7 HBASE-4704 Differential Revision: #117 A JRuby script for identifying active master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1201828 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 19:10:06 +00:00
Michael Stack ea5f9bf29a HBASE-4756 Enable tab-completion in HBase shell
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1199102 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 04:37:27 +00:00
Michael Stack f24e30f5e7 HBASE-4719 HBase script assumes pre-Hadoop 0.21 layout of jar files
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196936 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 04:05:37 +00:00
Zhihong Yu 1b63b76e69 HBASE-1744 Thrift server to match the new java api (Tim Sell)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196451 13f79535-47bb-0310-9956-ffa450edef68
2011-11-02 04:26:26 +00:00
Michael Stack 04ace586de HBASE-4715 Remove stale broke .rb scripts from bin dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196168 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 17:56:35 +00:00
Michael Stack fcc01d275a HBASE-4715 Remove stale broke .rb scripts from bin dir
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196166 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 17:54:20 +00:00
Michael Stack 575cbc7108 HBASE-4642 Add Apache License Header
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1187998 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 23:03:32 +00:00
Michael Stack b3266f1f62 HBASE-4647 RAT finds about 40 files missing licenses
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1187975 13f79535-47bb-0310-9956-ffa450edef68
2011-10-23 21:19:23 +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 7c9f2c7da0 HBASE-4445 Not passing --config when checking if distributed mode or not
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1172888 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 23:07:53 +00:00
Michael Stack 845b01f154 HBASE-4243 HADOOP_HOME should be auto-detected (Roman Shaposhnik) -- revert.. non-portable shell change
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1166815 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 17:24:57 +00:00
Michael Stack c6d4b05ad7 HBASE-4243 HADOOP_HOME should be auto-detected
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1166761 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 15:41:41 +00:00
Nicolas Spiegelberg 2eec39fa48 HBASE-4244 Refactor bin/hbase help
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1160890 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 21:37:32 +00:00
Michael Stack 38a046ea3c HBASE-4229 Replace Jettison JSON encoding with Jackson in HLogPrettyPrinter
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1159914 13f79535-47bb-0310-9956-ffa450edef68
2011-08-20 20:27:09 +00:00
Michael Stack c9e11e0816 HBASE-3465 Hbase should use a HADOOP_HOME environment variable if available
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1150282 13f79535-47bb-0310-9956-ffa450edef68
2011-07-24 05:21:02 +00:00
Zhihong Yu 3f66fb713f HBASE-4035 Fix local-master-backup.sh - parameter order wrong
(Lars George via Ted Yu)



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1139682 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 00:52:36 +00:00
Michael Stack 9a047f1343 HBASE-3941 'hbase version' command line should print version info
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1133211 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 00:06:02 +00:00
Michael Stack 9b22cb0f0e HBASE-3941 'hbase version' command line should print version info -- REVERT MISTAKEN COMMIT OF WRONG PATCH
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1133210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 00:04:47 +00:00
Michael Stack 7a55ec9a25 HBASE-3941 'hbase version' command line should print version info
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1133209 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 00:03:54 +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 551ea3211f HBASE-3882 hbase-config.sh needs to be updated so it can auto-detects the sun jre provided by RHEL6
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1103239 13f79535-47bb-0310-9956-ffa450edef68
2011-05-14 21:51:29 +00:00
Michael Stack 4dc83021b1 HBASE-3881 Add disable balancer in graceful_stop.sh script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1102857 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 18:37:55 +00:00
Michael Stack 803a91646c HBASE-3748 Add rolling of thrift/rest daemons to graceful_stop.sh script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1089666 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 23:14:01 +00:00
Michael Stack 06a21879a4 HBASE-3071 Graceful decommissioning of a regionserver
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1088879 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 04:08:24 +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
Todd Lipcon 561deab8fc HBASE-3703. hbase-config.sh needs to be updated so it can auto-detect the sun jdk provided by RHEL6
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1085798 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 20:38:21 +00:00