Commit Graph

221 Commits

Author SHA1 Message Date
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
Michael Stack bb28add83e HBASE-3575 Update rename table script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1084062 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 03:18:12 +00:00
Michael Stack 692552597a HBASE-3440 Clean out load_table.rb and make sure all roads lead to completebulkload tool
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1082247 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 18:26:29 +00:00
Michael Stack 30d63d550f HBASE-3533 Allow HBASE_LIBRARY_PATH env var to specify extra locations of native lib
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1080459 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 06:04:18 +00:00
Michael Stack d336634bab HBASE-3499 Users upgrading to 0.90.0 need to have their .META. table updated with the right MEMSTORE_SIZE
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1068277 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 07:01:13 +00:00
Todd Lipcon 69eec35098 HBASE-3511. Allow rolling restart to apply to only RS or only masters
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1068158 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 21:57:47 +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
Jean-Daniel Cryans 0f2700df67 HBASE-3383 [0.90RC1] bin/hbase script displays "no such file" warning on
target/cached_classpath.txt


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1052093 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 23:02:42 +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
Jean-Daniel Cryans 65979de1fb HBASE-3216 Move HBaseFsck from client to util
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1033736 13f79535-47bb-0310-9956-ffa450edef68
2010-11-10 21:46:14 +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 89a5eb519a HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script -- reapply rolling-restart.bin improvments
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026532 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:47:24 +00:00
Michael Stack bd29da76b8 HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script -- reverse mistaken commit
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026531 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:46:48 +00:00
Michael Stack 402b33140d HBASE-2998 rolling-restart.sh shouldn't rely on zoo.cfg; some improvements to the rr script
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1026530 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 23:45:42 +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 43dd80f935 Enable execute bit on rolling-restart.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1025766 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 21:26:24 +00:00
Jean-Daniel Cryans a7d61ec5b5 HBASE-2201 JRuby shell for replication
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1024470 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 00:21:08 +00:00
Todd Lipcon 2ecdd83e0d HBASE-3002. Fix zookeepers.sh to work properly with strange JVM options
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1000698 13f79535-47bb-0310-9956-ffa450edef68
2010-09-24 04:10:55 +00:00
Michael Stack 1456bfff76 HBASE-3000 Add "hbase classpath" command to dump classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999062 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:14:48 +00:00
Michael Stack 98b9448162 HBASE-3000 Add "hbase classpath" command to dump classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@999060 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 19:13:43 +00:00
Michael Stack d153ec95da HBASE-3010 Can't start/stop/start... cluster using new master
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@998380 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 00:51:05 +00:00
Michael Stack 5d8b73585f HBASE-2979 Fix failing TestMultParrallel in hudson build
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997437 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 18:10:43 +00:00
Todd Lipcon 1805c1b3b1 chmod master-backup.sh to be executable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@993175 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 23:23:58 +00:00
Michael Stack f521309532 HBASE-2692 Master rewrite and cleanup for 0.90
Patch brought over from 0.90_master_rewrite branch.

Replication test is broke as are some of the rest tests.
Others should be passing.

Some of the changes made in this fat patch:

+ In HLogKey, we now use encoded region name instead of full region name.
+ On split, daughters are opened on the parent's regionserver; let the new balancer
sort them out later when it cuts in.
+ Added move region from one server to another as well as enable/disable balancer.
+ All .META. and -ROOT- edits go via new *Editor and *Reader classes -- no more
do we have 5 different ways of reading and editing .META.
+ Rather than 3 different listeners to hlog each w/ own way of listening, instead
we only have WALObserver now.
+ New Server Interface that has whats common to HMaster and RegionServer. Also
new Services Interface.  This should make test writing cleaner making it so
less need of full cluster context testing anything -- e.g. the new
Interfaces are good w/ Mockito.
+ New balacner that runs on a period and takes into consideration all load
across cluster.
+ Table online/offline is now a flag in ZK; the offline flag on a region is
just used splitting from here on out.
+ Moved fixup of failed add of daughter edits to .META. into shutdown server
recover code (It used to be in basescanner).
+ The heartbeat now sends master the regionserver load and is used sending
shutdown message from master to regionserver ONLY; all other messages are
via zk (HMsg is pretty bare now).
+ No more Worker in RS and ToDoQueue in master.  Both in master and regionserver
we use handlers instead run out of Executors.
+ Client can not send split, flush, compact direct to RS; no longer does
it go via master.
+ Server shutdown runs differently now. All are watching a flag in zk.
When RS notices its gone, it closes all user-space regions. If thats all
it was carrying, then it goes down.  Otherwise, waits on master to send
the shutdown msg via heartbeat.



git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@991397 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 23:51:44 +00:00
Michael Stack 8d91604bc8 HBASE-1660 need a rolling restart script -- forgot to add scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@988342 13f79535-47bb-0310-9956-ffa450edef68
2010-08-23 22:36:47 +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 e30ddb01aa HBASE-2870: Add Backup CLI Option to HMaster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@984116 13f79535-47bb-0310-9956-ffa450edef68
2010-08-10 16:54:40 +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 b6282f5508 HBASE-1511 Pseudo distributed mode in LocalHBaseCluster
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965672 13f79535-47bb-0310-9956-ffa450edef68
2010-07-19 22:59:51 +00:00
Michael Stack 3af146e302 Change order in which usage shows commands -- show servers first
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965298 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 21:55:49 +00:00
Michael Stack 3ada3242b4 HBASE-2846 Make rest server be same as thrift and avro servers
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@965160 13f79535-47bb-0310-9956-ffa450edef68
2010-07-18 05:24:17 +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