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
Jean-Daniel Cryans
03933720fa
HBASE-2223 Handle 10min+ network partitions between clusters
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@959479 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 00:25:50 +00:00
Michael Stack
80ab0f9703
HBASE-7 Provide a HBase checker and repair tool similar to fsck
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@957040 13f79535-47bb-0310-9956-ffa450edef68
2010-06-22 21:42:13 +00:00
Ryan Rawson
84378fa8bf
HBASE-2400 new connector for Avro RPC access to HBase cluster
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@954175 13f79535-47bb-0310-9956-ffa450edef68
2010-06-13 06:53:50 +00:00
Michael Stack
bdcc7f126a
HBASE-2703 ui not working in distributed context
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@953495 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 23:21:45 +00:00
Michael Stack
677738d3ed
HBASE-2531 32-bit encoding of regionnames waaaaaaayyyyy too susceptible to hash clashes
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949919 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 03:50:57 +00:00
Todd Lipcon
12855081cc
HBASE-2632. Shell should autodetect terminal width
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@949803 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 16:49:50 +00:00
Michael Stack
41a4c36ec9
HBASE-7 Provide a HBase checker and repair tool similar to fsck; add handling of disable parents
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@948203 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 20:50:04 +00:00
Michael Stack
49c48dde79
HBASE-7 Provide a HBase checker and repair tool similar to fsck; added simple .META. fixup script
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@947857 13f79535-47bb-0310-9956-ffa450edef68
2010-05-24 23:18:13 +00:00
Michael Stack
897e903d90
HBASE-2577 Remove 'core' maven module; move core up a level hbase-issues
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946736 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 18:10:57 +00:00
Michael Stack
3d5c3a66b3
HBASE-2583 Make webapps work in distributed mode again and make webapps deploy at / instead of at /webapps/master/master.jsp
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946571 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 09:02:18 +00:00
Michael Stack
7e51b33b00
HBASE-2572 hbase/bin/set_meta_block_caching.rb:72: can't convert Java::JavaLang::String into String (TypeError) - little issue with script
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946280 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 17:03:38 +00:00
Michael Stack
ca482b185b
HBASE-2562 bin/hbase doesn't work in-situ in maven; fix spelling mistake
...
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@946009 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 03:42:45 +00:00
Michael Stack
ea52d836b4
HBASE-2449 Local HBase does not stop properly
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@945836 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:24:36 +00:00
Michael Stack
302ce75933
HBASE-2562 bin/hbase doesn't work in-situ in maven
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@945487 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 04:22:37 +00:00
Michael Stack
960a9c0d7a
HBASE-2562 bin/hbase doesn't work in-situ in maven
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@945486 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 04:12:04 +00:00
Michael Stack
f6fb68ab0c
HBASE-2460 add_table.rb deletes any tables for which the target table name is a prefix
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@935114 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 02:49:02 +00:00
Michael Stack
2a8ed43ac1
HBASE-2451 .META. by-passes cache; BLOCKCACHE=>'false'
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@934654 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 00:21:29 +00:00
Andrew Kyle Purtell
a03976103d
added copyright notices
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@928089 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 22:45:48 +00:00
Michael Stack
dfc23200bd
HBASE-2313 Nit-pick about hbase-2279 shell fixup, if you do get with non-existant column family, throws lots of exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@923894 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 17:43:09 +00:00
Michael Stack
dd8456b1be
HBASE-2316 Need an ability to run shell tests w/o invoking junit
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922408 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 19:59:35 +00:00
Michael Stack
4770ea178a
HBASE-2279 Hbase Shell does not have any tests
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922110 13f79535-47bb-0310-9956-ffa450edef68
2010-03-12 01:36:04 +00:00
Michael Stack
f3f7b0622f
HBASE-2287 TypeError in shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@922074 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 23:45:23 +00:00
Michael Stack
6d0d1cc9a9
HBASE-2308 Fix the bin/rename_table.rb script, make it work again
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@921624 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 23:27:30 +00:00
Michael Stack
e325ccd9bf
HBASE-2281 Hbase shell does not work when started from the build dir
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@919083 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 17:43:05 +00:00
Lars George
ffac8a385c
HBASE-2274 Hbase Shell hcd() method is broken by the replication scope parameter (Alexey Kovyrin via Lars George)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@917162 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28 10:47:07 +00:00
Michael Stack
85c53c5d35
HBASE-2160 Can't put with ts in shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@902269 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 21:12:30 +00:00
Jean-Daniel Cryans
f700187546
HBASE-2057 Cluster won't stop (Gary Helmling and JD via JD)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@902239 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 19:26:09 +00:00
Ryan Rawson
fb6ed7f687
HBASE-2109
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@901034 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 02:05:04 +00:00
Ryan Rawson
44572e6a2d
HBASE-2147 - run zookeeper in the same jvm as master during non-distributed mode
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@901030 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 01:42:12 +00:00
Michael Stack
055580dee1
HBASE-2130 bin/* scripts - not to include lib/test/**/*.jar
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@900210 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17 20:16:54 +00:00
Michael Stack
05e631f7d9
HBASE-2111 Move to ivy broke our being able to run in-place; i.e. ./bin/start-hbase.sh in a checkout
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@898132 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 00:23:42 +00:00