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
Michael Stack
73aa65deb3
HBASE-2035 Binary values are formatted wrong in shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@896738 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 02:25: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
Jean-Daniel Cryans
1241459503
HBASE-2081 Set the retries higher in shell since client pause is lower
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894743 13f79535-47bb-0310-9956-ffa450edef68
2009-12-30 23:47:41 +00:00
Michael Stack
b6a18a17d9
HBASE-2074 Improvements to the hadoop-config script
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@894505 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 23:08:20 +00:00
Andrew Kyle Purtell
c609d25614
HBASE-2028 Add HTable.incrementColumnValue support to shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@892648 13f79535-47bb-0310-9956-ffa450edef68
2009-12-20 19:50:23 +00:00
Michael Stack
d225c7576c
HBASE-2034 [Bulk load tools] loadtable.rb calls an undefined method 'descendingIterator'
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@891842 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 19:02:37 +00:00
Jean-Daniel Cryans
04155cac92
HBASE-2044 HBASE-1822 removed not-deprecated APIs
...
HBASE-2041 Change WAL default configuration values
changes to the shell and fixing interrupt bug
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@891073 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:41:40 +00:00
Jean-Daniel Cryans
6965cf5135
HBASE-2043 Shell's scan broken
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@890192 13f79535-47bb-0310-9956-ffa450edef68
2009-12-14 06:20:21 +00:00
Jean-Daniel Cryans
99b6ece5c1
HBASE-2033 Shell scan 'limit' is off by one
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@888640 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 23:55:36 +00:00
Michael Stack
5c6931f263
HBASE-2029 Reduce shell exception dump on console
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@888132 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 20:54:58 +00:00
Michael Stack
0440aab870
HBASE-1958 Remove '# TODO: PUT BACK vi CHANGES.txt! ''/bin/hadoop dfsadmin -safemode wai'
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@883899 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 22:21:51 +00:00
Andrew Kyle Purtell
866453467e
HBASE-2003 [shell] deleteall ignores column if specified
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@883242 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 04:25:24 +00:00
Michael Stack
dc28f778ed
HBASE-1977 Add ts and allow setting VERSIONS when scanning in shell; better fix for ts
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@836275 13f79535-47bb-0310-9956-ffa450edef68
2009-11-14 22:25:11 +00:00
Michael Stack
947b62178d
HBASE-1977 Add ts and allow setting VERSIONS when scanning in shell; back out a piece of this patch... we already had timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@836058 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 23:27:03 +00:00
Michael Stack
bbb6ce9d34
HBASE-1977 Add ts and allow setting VERSIONS when scanning in shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@835761 13f79535-47bb-0310-9956-ffa450edef68
2009-11-13 07:04:11 +00:00
Michael Stack
9ea1470180
HBASE-1962 Bulk loading script makes regions incorrectly (loadtable.rb)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@834120 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:56:18 +00:00
Michael Stack
54ee56f8e4
HBASE-1867 Tool to regenerate an hbase table from the data files
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@834114 13f79535-47bb-0310-9956-ffa450edef68
2009-11-09 15:45:04 +00:00
Andrew Kyle Purtell
55afbc4675
HBABSE-1889 ClassNotFoundException on trunk for REST
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@824041 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11 08:50:54 +00:00
Jean-Daniel Cryans
400aa9a809
HBASE-1899 Use scanner caching in shell count
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@823712 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 21:55:44 +00:00
Michael Stack
a36d212a9a
HBASE-1887 Update hbase trunk to latests on hadoop 0.21 branch so we can all test sync/append; it should pass tests again
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@822951 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 22:42:03 +00:00
Jonathan Gray
3b8bed11a6
HBASE-1481 Add fast row key only scanning
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@822062 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05 22:34:16 +00:00
Michael Stack
07219dc721
[hbase] Bulk load tools
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@818193 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 18:42:34 +00:00
Michael Stack
41558cf59d
HBASE-1859 Misc shell fixes patch
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@817947 13f79535-47bb-0310-9956-ffa450edef68
2009-09-23 03:10:49 +00:00
Andrew Kyle Purtell
4f294977d2
HBASE-1848 Fixup shell for HBASE-1822
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@816260 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 16:17:59 +00:00
Andrew Kyle Purtell
a4ee96d5fd
HBASE-1827 Add disabling block cache scanner flag to the shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@814093 13f79535-47bb-0310-9956-ffa450edef68
2009-09-12 00:11:39 +00:00
Michael Stack
e91bb84c8a
HBASE-1687 bin/hbase script doesn't allow for different memory settings for each daemon type
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@814056 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 22:17:05 +00:00
Michael Stack
eab24df54c
HBASE-1761 getclosest doesn't understand delete family; manifests as 'HRegionInfo was null or empty in .META' A.K.A the BS problem
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@805063 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 17:34:19 +00:00
Michael Stack
b3653a6295
HBASE-1743 [debug tool] Add regionsInTransition list to ClusterStatus detailed output
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@800676 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 05:09:27 +00:00
Michael Stack
64e7770cb7
HBASE-1693 NPE close_region .META. in shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@797851 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 23:14:16 +00:00
Michael Stack
e9c8ea8156
HBASE-1650 HBASE-1551 broke the ability to manage non-regionserver start-up/shut down. ie: you cant start/stop thrift on a cluster anymore
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@794011 13f79535-47bb-0310-9956-ffa450edef68
2009-07-14 18:47:25 +00:00
Michael Stack
e2f5f48014
HBASE-1640 Allow passing arguments to jruby script run when run by bin/hbase shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@792802 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 04:20:48 +00:00
Michael Stack
732abb77c8
HBASE-1633 Can't delete in TRUNK shell; makes it hard doing admin repairs
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@792793 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 03:25:20 +00:00
Nitay Joffe
002e9e8bdc
HBASE-1551 HBase should manage multiple node ZooKeeper quorum
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@792636 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 19:04:43 +00:00
Michael Stack
969b989c63
HBASE-1450 Scripts passed to hbase shell do not have shell context set up for them
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788550 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 23:53:04 +00:00
Michael Stack
1eb46d4be7
HBASE-1581 Run major compaction on .META. when table is dropped or truncated
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788545 13f79535-47bb-0310-9956-ffa450edef68
2009-06-25 23:14:29 +00:00
Michael Stack
7886526f30
HBASE-1578 Change the name of the in-memory updates from 'memcache' to 'memtable' or....
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@788160 13f79535-47bb-0310-9956-ffa450edef68
2009-06-24 19:56:51 +00:00
Michael Stack
e62faa3535
HBASE-1549 in zoo.cfg, use localhost instead of 127.0.0.1?
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@786673 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 21:39:40 +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
Andrew Kyle Purtell
e1bbd8cbc5
HBASE-1552 provide version running on cluster via getClusterStatus
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@786666 13f79535-47bb-0310-9956-ffa450edef68
2009-06-19 21:09:22 +00:00
Michael Stack
624b155cf4
HBASE-1329 Visibility into ZooKeeper
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@785470 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 03:46:12 +00:00
Michael Stack
23e370c7d9
HBASE-1507 iCMS as default JVM
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@784977 13f79535-47bb-0310-9956-ffa450edef68
2009-06-15 21:07:36 +00:00
Michael Stack
d1a678ca83
HBASE-1509 Add explanation to shell help command on how to use binary keys
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@783993 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 06:04:58 +00:00
Michael Stack
d841ab681d
HBASE-1507 iCMS as default JVM
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@783990 13f79535-47bb-0310-9956-ffa450edef68
2009-06-12 05:59:54 +00:00
Ryan Rawson
6af4292630
HBASE-1304 - New client server implementation of how gets and puts are handled. -- Thanks to jgray,holstad,stack,rawson
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@782178 13f79535-47bb-0310-9956-ffa450edef68
2009-06-06 01:26:21 +00:00
Michael Stack
d3f7947323
HBASE-1478 Remove hbase master options from shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@781263 13f79535-47bb-0310-9956-ffa450edef68
2009-06-03 05:11:48 +00:00
Andrew Kyle Purtell
f43fba2216
HBASE-1494 HBaseAdmin.getClusterStatus; minor formatting change for shell support
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@779689 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 17:34:51 +00:00
Andrew Kyle Purtell
5e1b305116
HBASE-1454 HBaseAdmin.getClusterStatus
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@779443 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 05:48:52 +00:00
Michael Stack
8018305551
HBASE-1395 InfoServers no longer put up a UI
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@777227 13f79535-47bb-0310-9956-ffa450edef68
2009-05-21 19:23:22 +00:00
Michael Stack
59c6ce905d
HBASE-1383 hbase shell needs to warn on deleting multi-region table
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@772499 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 04:48:44 +00:00
Michael Stack
ce26d714d5
HBASE-1348 Move 0.20.0 targeted TRUNK to 0.20.0 hadoop
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@769985 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 23:03:54 +00:00
Michael Stack
7667bd5f01
HBASE-1348 Move 0.20.0 targeted TRUNK to 0.20.0 hadoop
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@769982 13f79535-47bb-0310-9956-ffa450edef68
2009-04-29 22:55:21 +00:00
Michael Stack
997ca2a89a
HBASE-1235 Add table enabled status to shell and UI
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@767624 13f79535-47bb-0310-9956-ffa450edef68
2009-04-22 19:14:15 +00:00
Michael Stack
c3a68eaf4c
HBASE-1145 Ensure that there is only 1 Master with Zookeeper
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@755725 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 20:46:18 +00:00
Michael Stack
e60cf99672
HBASE-1235 Add table enabled status to shell and UI
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@751331 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 22:12:54 +00:00
Michael Stack
c407ff336f
HBASE-1217 add new compression and hfile blocksize to HColumnDescriptor
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@749753 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 21:02:31 +00:00
Michael Stack
89bf878a87
HBASE-1210 Allow truncation of output for scan and get commands in shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@748238 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 17:55:27 +00:00
Andrew Kyle Purtell
80eae9d2af
HBASE-1178 Add shutdown command to shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@740265 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 10:22:06 +00:00
Jean-Daniel Cryans
86e3267abb
HBASE-845 HCM.isTableEnabled doesn't really tell if it is, or not
...
HBASE-903 [shell] Can't set table descriptor attributes when I alter a table
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@738927 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 16:51:26 +00:00
Jean-Daniel Cryans
476da38f1f
HBASE-1147 Modify the scripts to use Zookeeper
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@738184 13f79535-47bb-0310-9956-ffa450edef68
2009-01-27 18:20:09 +00:00
Michael Stack
14734e4e81
HBASE-5121 Fix shell usage for format.width
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@737312 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 07:11:32 +00:00
Michael Stack
4dde10431e
HBASE-1082 Administrative functions for table/region maintenance
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@731801 13f79535-47bb-0310-9956-ffa450edef68
2009-01-06 01:12:36 +00:00
Michael Stack
491991061e
HBASE-1105 Remove duplicated code in HCM, add javadoc to RegionState, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@730494 13f79535-47bb-0310-9956-ffa450edef68
2009-01-01 00:36:27 +00:00
Michael Stack
d47bdad4fd
HBASE-1066 Master should support close/open/reassignment/enable/disable operations on individual regions
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@729168 13f79535-47bb-0310-9956-ffa450edef68
2008-12-23 23:10:25 +00:00
Michael Stack
e1d9bf64c2
HBASE-782 The DELETE key in the hbase shell deletes the wrong character
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@728733 13f79535-47bb-0310-9956-ffa450edef68
2008-12-22 17:50:02 +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
f4d3ce3f65
HBASE-970 Update the copy/rename scripts to go against change API
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708979 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:45:36 +00:00
Michael Stack
3b803714c5
HBASE-817 Hbase/Shell Truncate
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@708966 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:01:35 +00:00
Michael Stack
e0581c9a74
HBASE-643 Rename tables; add some scripts that will serve issue is complete
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703272 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 21:48:28 +00:00
Michael Stack
8932609a36
HBASE-844 Can't pass script to hbase shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703027 13f79535-47bb-0310-9956-ffa450edef68
2008-10-09 00:03:50 +00:00
Michael Stack
252e017903
HBASE-852 Cannot scan all families in a row with a LIMIT, STARTROW, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703025 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 23:45:30 +00:00
Michael Stack
0a3560ccea
HBASE-853 [shell] Cannot describe meta tables
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@703024 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 23:41:17 +00:00
Michael Stack
6be90b30d9
HBASE-906 [shell] Truncates output
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@700177 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 17:06:46 +00:00
Michael Stack
a2ebc570cf
HBASE-906 [shell] Truncates output
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@699746 13f79535-47bb-0310-9956-ffa450edef68
2008-09-27 21:58:38 +00:00
Michael Stack
ebe81b974f
HBASE-894 [shell] Should be able to copy-paste table description to create new table
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698011 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 21:53:38 +00:00
Michael Stack
b174254d9e
HBASE-890 alter table operation and also related changes in REST interface
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698001 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 21:16:21 +00:00
Michael Stack
fe19bdd5b2
HBASE-872 Getting exceptions in shell when creating/disabling tables
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@692585 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 23:57:40 +00:00
Michael Stack
99f695beda
HBASE-834 'Major' compactions and upper bound on files we compact at any one time
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@690423 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 23:36:02 +00:00
Michael Stack
c17ecdb420
Fix help doc continuation of long lines
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686653 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 22:13:13 +00:00
Michael Stack
8e95cab93c
Minor edit fix to hirb help
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@686335 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:24:14 +00:00
Michael Stack
802571af28
HBASE-813 Add a row counter in the new shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@685257 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 18:30:33 +00:00
Jean-Daniel Cryans
8124fa7f7c
Added a check in HBase.rb to make sure table is disabled when drop.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@684053 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 18:53:30 +00:00
Michael Stack
be3f1a6ea3
HBASE-760 brittle/broken HCD create handling in HBase.rb
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678866 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 19:22:21 +00:00
Michael Stack
a34a37985f
HBASE-756 In HBase shell, the put command doesn't process the timestamp
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678454 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 15:47:35 +00:00
Michael Stack
c04a282e7c
HBASE-754 The JRuby shell documentation is wrong in "get" and "put"
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@678235 13f79535-47bb-0310-9956-ffa450edef68
2008-07-19 22:25:46 +00:00
Michael Stack
1f13177b07
HBASE-735 hbase shell doesn't trap CTRL-C signal
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675658 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 17:39:43 +00:00
Michael Stack
fb8a45ce30
HBASE-734 scan '.META.', {LIMIT => 10} crashes
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675378 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 22:56:18 +00:00
Michael Stack
3862e988c6
HBASE-734 scan '.META.', {LIMIT => 10} crashes
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675377 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 22:54:44 +00:00
Michael Stack
975af636e8
HBASE-731 delete, deletefc in HBase shell do not work correctly
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675348 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 21:39:45 +00:00
Michael Stack
58e53ba41a
HBASE-732 shell formatting error with the describe command
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675347 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 21:29:46 +00:00
Michael Stack
3d579b7beb
HBASE-718 hbase shell help info
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@672988 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 04:15:50 +00:00
Michael Stack
ea90a78566
HBASE-704 update new shell docs and commands on help menu
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@671606 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 17:19:17 +00:00
Michael Stack
d09a697620
HBASE-702 deleteall doesn't
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@670701 13f79535-47bb-0310-9956-ffa450edef68
2008-06-23 18:19:54 +00:00
Michael Stack
1342ed9b5c
HBASE-487 New shell....
...
Add in special handling of .META. table that we used have in HQL
(so it prints out the HRegionInfo pretty). Also allow making a scanner
without specifying columns.
M src/java/org/apache/hadoop/hbase/HTableDescriptor.java
Allow getMetadata work if HTable is set against meta tables.
Was failing on isLegalTableName if name was one of the catalog table names.
Needed by shell.
M src/java/org/apache/hadoop/hbase/client/HTable.java
Comment.
M bin/hbase
Remove commented out line.
M bin/HBase.rb
Allow passing just a table name to scanner; let it figure out all families
Added in the special handling of .META. table cells that we used have in HQL
so we can see start/end row, etc. Added in extra testing.
M bin/Formatter.rb
Allow setting width of emitted table in console formatter
M bin/hirb.rb
Allow setting width of emitted table in console formatter
Improved scanner help.:
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669318 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 22:24:34 +00:00
Michael Stack
c95535765a
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell; Fix formatting issue outputting messy binary values
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@669247 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 18:18:26 +00:00
Michael Stack
00cd1d2ca3
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@668880 13f79535-47bb-0310-9956-ffa450edef68
2008-06-17 23:58:05 +00:00
Michael Stack
b58c15a6d7
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell
...
This commit finishes up the DDL
M src/test/org/apache/hadoop/hbase/TestBloomFilters.java
Changed name of default constants.
M src/java/org/apache/hadoop/hbase/HColumnDescriptor.java
Changed name of default constants.
(getNameAsString): Added.
M src/java/org/apache/hadoop/hbase/master/ModifyColumn.java
toString column family byte array name.
M bin/HBase.rb
(alter, hcd): Added.
M bin/hirb.rb
More help doc.
(alter, admin): Added.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667684 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 22:42:11 +00:00
Michael Stack
82639a32fd
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell
...
M bin/HBase.rb
Remove Module-level constants. Move them instead back into
HColumnDescriptor, etc. and read them from there.
(describe): Added.
M bin/hirb.rb
Fixed up comments. Added TODOs.
Add here the constants from HColumnDescriptor and HTableDescriptor
Use HERE doc. for main help.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667364 13f79535-47bb-0310-9956-ffa450edef68
2008-06-13 05:50:00 +00:00
Michael Stack
85f562ebea
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell; First cut at DDL and Admin implementations; create, drop, list, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@666965 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 06:00:35 +00:00
Michael Stack
a3a4fcce15
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662148 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 05:19:08 +00:00
Michael Stack
7e0dd33fb7
HBASE-659 HLog#cacheFlushLock not cleared; hangs a region; revert code mistakenly committed
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662147 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 05:06:52 +00:00
Michael Stack
359fdf6238
HBASE-659 HLog#cacheFlushLock not cleared; hangs a region
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@662146 13f79535-47bb-0310-9956-ffa450edef68
2008-06-01 04:42:11 +00:00
Michael Stack
b5cd4f69a2
HBASE-487 New hbase shell
...
Part 3: Avoid the help problem. Output banner that tells user instead
to type 'hbase' for list of commands. Update jruby to 1.1.2 release.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661825 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 19:19:46 +00:00
Michael Stack
a6df625a35
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell: Part 2 Add in help and version
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@661567 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 05:13:58 +00:00
Michael Stack
cb9d586513
HBASE-487 Replace hql w/ a hbase-friendly jirb or jython shell, Part 1: Purge hql, added raw jirb
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@659445 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 06:21:16 +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
822ba8bc3b
HBASE-23 UI listing regions should be sorted by address and show additional region state
...
M src/java/org/apache/hadoop/hbase/HServerLoad.java
(toString): Overload that takes interval.
M src/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
(getConfiguration): Added
M src/java/org/apache/hadoop/hbase/master/HMaster.java
(getAverageLoad): Added
M src/java/org/apache/hadoop/hbase/HServerAddress.java
(getHostname): Added.
M src/java/org/apache/hadoop/hbase/client/HTable.java
(getRegionsInfo): Added.
M src/webapps/regionserver/regionserver.jsp
M src/webapps/master/master.jsp
Output requests as requests per second.
Fixed up the help comments. Changed all to use new getHostname
rather than IPs. Added encoded name column.
M src/webapps/master/table.jsp
Added.
M src/webapps/master/WEB-INF/web.xml
Add new tables servlet.
M bin/hbase
Put hbase in front of hadoop again. FIxes not being able to find
stylesheets -- might break logging again though doesnt seem to in
tests.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@656366 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 19:06:52 +00:00
Michael Stack
9cd46728ff
HBASE-604 Don't allow CLASSPATH from environment pollute the hbase CLASSPATH
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@652189 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 23:29:17 +00:00
Michael Stack
e31af6a288
HBASE-598 Loggging, no .log file; all goes into .out
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@649937 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 15:32:29 +00:00
Michael Stack
1475f271cf
HBASE-574 HBase does not load hadoop native libs
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@647959 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 19:34:11 +00:00
Bryan Duxbury
65d961ae78
HBASE-536 Remove MiniDFS startup from MiniHBaseCluster
...
-Changed MiniHBaseCluster to not start up a MiniDFS
-Changed HBaseClusterTestCase to do the work of starting up a MiniDFS.
-Added pre and post setup method to HBaseClusterTestCase so you can control what happen before MiniHBaseCluster is booted up
-Converted AbstractMergeTestCase to be a HBaseClusterTestCase
-Converted any test that used a raw MIniDFS or MiniHBaseCluster to use HBaseClusterTestCase instead
-Split TestTimestamp into two tests - one for clientside (now in o.a.h.h.client) and one for serverside (o.a.h.h.regionserver)
-Merged in Stack's changes to make bin/hbase have hadoop jars first on the classpath
-Updated PerformanceEvaluation (in --miniCluster mode) to start up a DFS first
-Fixed a bug in BaseScanner that would have allowed NPEs to be generated
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@640526 13f79535-47bb-0310-9956-ffa450edef68
2008-03-24 19:13:56 +00:00
Michael Stack
ab8b5920a9
HBASE-477 Add support for an HBASE_CLASSPATH
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@633240 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 19:18:53 +00:00
Bryan Duxbury
dcbc0773fc
419 Move RegionServer and related classes into regionserver package
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@630550 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 00:19:34 +00:00
Michael Stack
1bc3a436dc
HBASE-418 Move HMaster and related classes into master package
...
Part 3: Missed non-moved file edits.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@620024 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 22:56:57 +00:00
Michael Stack
096ed2cf18
HBASE-403 Fix build after move of hbase in svn
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@619232 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 00:38:49 +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
415c16c1ef
HADOOP-403 Fix build after move of hbase in svn
...
Fix webapps on CLASSPATH
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618769 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:33:53 +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
6aacbfb18d
HBASE-403 Fix build after move of hbase in svn
...
Make it so scripts basically work again. Make up a log4j
basic properites file (currently broke).
M trunk/conf/hbase-env.sh
Put a JAVA_HOME in here. Need to set it here now instead of up in hadoop-env
A trunk/conf/log4j.properties
Basic log4j for hbase.
M trunk/bin/hbase
Made pointers up into hadoop instead point to hbase substitutions.
M trunk/bin/start-hbase.sh
Remove wait on dfs for moment. Need to figure how to do it now
we're detached (Besides there is talk that we'd acually have the
servers come up even if they can't talk to dfs).
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@618560 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 06:15:44 +00:00
Jim Kellerman
af3ca76470
HADOOP-2668 Documentation and improved logging so fact that hbase now requires migration comes as less of a surprise
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@614413 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 03:24:32 +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
Michael Stack
470b3a3200
HADOOP-2389 Provide multiple language bindings for HBase (Thrift)
...
Actual code (first commit added thrift lib so this patch would build).
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@611535 13f79535-47bb-0310-9956-ffa450edef68
2008-01-13 04:46:44 +00:00
Michael Stack
b36f712736
HADOOP-2286 Add being able to shutdown regionservers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@604233 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 17:12:09 +00:00
Michael Stack
eb2c941544
HADOOP-2196 Fix how hbase sits in hadoop 'package' product
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@598469 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 00:23:37 +00:00
Jim Kellerman
e91c531235
HADOOP-2124 Use of `hostname` does not work on Cygwin in some cases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@590273 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 19:08:23 +00:00
Michael Stack
5233c28aaa
HADOOP-2011 Make hbase daemon scripts take args in same order as hadoop
...
daemon scripts
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@583037 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 03:25:00 +00:00
Michael Stack
6c9ddf9f37
HADOOP-1957 Web UI with report on cluster state and basic browsing of tables
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@582442 13f79535-47bb-0310-9956-ffa450edef68
2007-10-06 03:09:50 +00:00
Michael Stack
4038ec9102
HADOOP-1931 Hbase scripts take --ARG=ARG_VALUE when should be like
...
hadoop and do ---ARG ARG_VALUE
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@578032 13f79535-47bb-0310-9956-ffa450edef68
2007-09-21 09:27:46 +00:00
Michael Stack
3d7bec584c
HADOOP-1920 Wrapper scripts broken when hadoop in one location and
...
hbase in another
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@577355 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 16:45:01 +00:00
Michael Stack
83298b4721
HADOOP-1813 OOME makes zombie of region server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@575928 13f79535-47bb-0310-9956-ffa450edef68
2007-09-15 15:14:53 +00:00
Michael Stack
c3ee52355d
HADOOP-1835 Updated Documentation for HBase setup/installation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@573691 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 20:32:45 +00:00
Michael Stack
463f847bd4
HADOOP-1802 Startup scripts should wait until hdfs as cleared 'safe mode'
...
M bin/start-hbase.sh
Wait to exit 'safe mode' before proceeding w/ startup. If the wait
fails, usually because there is no fs, exit with error.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@571211 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 15:39:11 +00:00
Michael Stack
47587a272f
HADOOP-1799 Incorrect classpath in binary version of Hadoop
...
M bin/hbase
Had a hard-coded name for the hbase jar. Fix so allows
for version in jar name.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@570633 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 04:30:58 +00:00
Doug Cutting
d5cc43d394
HADOOP-1689. Make shell scripts more portable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@568809 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 02:19:18 +00:00
Jim Kellerman
c6bf382ebe
HADOOP-1600 Update license in HBase code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@555791 13f79535-47bb-0310-9956-ffa450edef68
2007-07-12 22:08:25 +00:00
Michael Stack
87f5d5dffd
HADOOP-1375 a simple parser for hbase
...
M src/contrib/hbase/NOTICE.txt
Add notice of udanax contributions.
Msrc/contrib/hbase/conf/hbase-default.xml
(hbaseshell.jline.bell.enabled): Added.
M src/contrib/hbase/CHANGES.txt
(hadoop-1375) Added.
M src/contrib/hbase/src/java/org/apache/hadoop/hbase/package.html
Add note on how to start up hbase shell
M src/contrib/hbase/bin/hbase
Add 'shell'. Remove 'client' (shell does what it used do and more).
Removed all reader and logreader until better developed. Starting
up a reader or logreader on a running hbase system could do damage).
M src/contrib/hbase/build.xml
Add a javacc target to generate content of shell/generated subpackage.
A src/contrib/hbase/src/test/org/apache/hadoop/hbase/shell/TestHBaseShell.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/DeleteCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/CreateCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/DropCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/InsertCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/CommandFactory.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HelpContents.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/ExitCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/ConsoleTable.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/DescCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/SelectCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/Command.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/ShowCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/BasicCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HelpManager.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/ReturnMsg.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HelpCommand.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/HBaseShell.jj
Added.
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/generated/Token.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/generated/TokenMgrError.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/generated/SimpleCharStream.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/generated/ParserTokenManager.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/generated/ParseException.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/generated/ParserConstants.java
A src/contrib/hbase/src/java/org/apache/hadoop/hbase/shell/generated/Parser.java
Added javacc generated files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@555415 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 21:54:15 +00:00
Jim Kellerman
60a2e629d1
HADOOP-1519 map/reduce interface for HBase
...
AbstractMergeTestBase, HBaseTestCase: move createNewHRegion to HBaseTestCase
MiniHBaseCluster: add deleteOnExit, getDFSCluster, fix Javadoc
TestScanner2: moved KeyedData to org.apache.hadoop.hbase.io
TestTableMapReduce: new test case to test map/reduce interface to HBase
hbase-site.xml: change hbase.client.pause from 3 to 5 seconds, hbase.client.retries.number to 5 so that tests will not time out or run out of retries
HClient: moved KeyedData to org.apache.hadoop.hbase.io, fix javadoc, add method getStartKeys
HMaster: moved KeyedData to org.apache.hadoop.hbase.io, remove unused variables, remove extraneous throws clause,
HRegionInterface, HRegionServer: moved KeyedData to org.apache.hadoop.hbase.io
KeyedData: moved KeyedData to org.apache.hadoop.hbase.io
KeyedDataArrayWritable: new class to support HBase map/reduce
org.apache.hadoop.hbase.mapred: new classes for map/reduce
- GroupingTableMap
- IdentityTableMap
- IdentityTableReduce
- TableInputFormat
- TableMap
- TableOutputCollector
- TableOutputFormat
- TableReduce
- TableSplit
hbase/bin/hbase: changes for map/reduce
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@552127 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 11:11:32 +00:00
Jim Kellerman
e78644ed10
HADOOP-1465 Add cluster stop/start scripts for hbase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@547427 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 22:08:56 +00:00
Jim Kellerman
4f855ae28c
HADOOP-1426. Make hbase scripts executable.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@541360 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 17:13:45 +00:00
Jim Kellerman
af766ddc91
HADOOP-1426. Make hbase scripts executable + add test classes to CLASSPATH.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@541359 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 17:12:00 +00:00
Doug Cutting
add0c0c5a0
HADOOP-1325. First complete, functioning version of HBase. Contributed by Jim Kellerman.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@535970 13f79535-47bb-0310-9956-ffa450edef68
2007-05-07 19:58:53 +00:00