Commit Graph

477 Commits

Author SHA1 Message Date
tedyu de69f0df34 HBASE-14030 HBase Backup/Restore Phase 1 (Vladimir Rodionov) 2015-12-27 10:02:09 -08:00
stack 91945d7f49 HBASE-14749 Make changes to region_mover.rb to use RegionMover Java tool (Abhishek Singh Chouhan) 2015-12-02 18:14:10 -08:00
tedyu ed4e00119e HBASE-14462 rolling_restart.sh --master-only throws "line 142: test: 0: unary operator expected" (Samir Ahmic) 2015-12-01 10:28:56 -08:00
tedyu 71d41e0c9c HBASE-14531 graceful_stop.sh "if [ \"$local\" ]" condition unexpected behaviour (Samir Ahmic) 2015-11-29 13:10:00 -08:00
tedyu 1c900e1721 HBASE-14523 rolling-restart.sh --graceful will start regionserver process on master node 2015-11-27 15:37:25 -08:00
stack 050ebe850b HBASE-14768 bin/graceful_stop.sh logs nothing as a balancer state to be stored (Hiroshi Ikeda) 2015-11-04 21:51:28 -08:00
stack 007e4dfa13 HBASE-14709 Parent change breaks graceful_stop.sh on a cluster 2015-10-27 16:42:49 -07:00
tedyu 1b66ea71b6 HBASE-14581 Znode cleanup throws auth exception in secure mode 2015-10-10 01:59:57 -07:00
Elliott Clark a77f830198 HBASE-14529 Respond to SIGHUP to reload config
Summary: Add a signal handler to reload the config.

Test Plan: Send the command and see that configs get reloaded.

Differential Revision: https://reviews.facebook.net/D47877
2015-10-08 16:38:18 -07:00
stack 7b9d88f9d7 HBASE-14193 Remove support for direct upgrade from pre-0.96 versions (Lars Francke) 2015-09-22 09:57:28 -07:00
Esteban Gutierrez f8dd99d738 HBASE-14354 Minor improvements for usage of the mlock agent 2015-09-01 18:37:34 -07:00
Samir Ahmic 498c1845ab HBASE-14325 Add snapshotinfo command to hbase script.
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-08-31 09:07:35 -07:00
tedyu 4256128fa2 HBASE-14258 Addendum fixes case sensitivity in 'load' (Vladimir Rodionov) 2015-08-29 02:10:46 -07:00
tedyu 506726ed28 HBASE-14258 Make region_mover.rb script case insensitive with regard to hostname (Vladimir Rodionov) 2015-08-25 16:36:39 -07:00
Sean Busbey 4ce6f486d0 HBASE-14087 Ensure correct ASF headers for docs/code
* adds missing headers
* corrects some old-form headers to current
* restores proper header for guava copied LimitInputStream
* adds proper header for protobuf copied read/writeRawVarint
2015-07-29 14:25:43 -05:00
Elliott Clark 608c3aa15c HBASE-13927 Allow hbase-daemon.sh to conditionally redirect the log or not
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-07-06 11:48:36 -05:00
tedyu 211786e00c HBASE-13580 region_mover.rb broken with TypeError: no public constructors for Java::OrgApacheHadoopHbaseClient::HTable (Samir Ahmic) 2015-05-11 09:01:56 -07:00
tedyu 67c6352e8a HBASE-13633 draining_servers.rb broken with NoMethodError: undefined method 'getServerInfo' (Samir Ahmic) 2015-05-06 09:28:23 -07:00
Enis Soztutar 3d22c74cb4 HBASE-13589 [WINDOWS] hbase.cmd script is broken 2015-04-28 17:15:53 -07:00
Y. SREENIVASULU REDDY f2e1238f98 HBASE-13490 echo ulimit output to log during daemon foreground start.
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-04-27 01:31:43 -05:00
tedyu bcc5e1b353 HBASE-13486 region_status.rb broken with NameError: uninitialized constant IOException (Samir Ahmic) 2015-04-17 06:38:46 -07:00
tedyu d6926629f9 HBASE-13475 Small spelling mistake in region_mover#isSuccessfulScan causes NoMethodError (Victor Xu) 2015-04-15 05:05:37 -07:00
stack f57dca5e1b HBASE-13198 Remove HConnectionManager (Mikhail Antonov) 2015-03-20 09:41:48 -07:00
Gustavo Anatoly 99ec366147 HBASE-13229 Specify bash for local-regionservers.sh and local-master-backup.sh
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-03-17 11:57:41 -05:00
Sean Busbey d9d1b07cfc Revert "Specify bash for local-regionservers.sh and local-master-backup.sh"
This reverts commit ca8876a9f2.
2015-03-17 11:57:08 -05:00
Gustavo Anatoly ca8876a9f2 Specify bash for local-regionservers.sh and local-master-backup.sh
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-03-17 09:57:07 -05:00
Jonathan M Hsieh 3509cc2134 HBASE-13162 Add capability for cleaning hbase acls to hbase cleanup script (Srikanth Srungarapu) 2015-03-12 17:06:27 -07:00
Lars George fa299bfa80 HBASE-13165 Fix docs and scripts for default max heaps size after HBASE-11804 (code) 2015-03-11 11:20:25 +01:00
Lars George 4d6442ada6 HBASE-13174 Apply HBASE-11804 to Windows scripts 2015-03-11 10:37:49 +01:00
Andrey Stepachev 948746ce4e HBASE-12990 MetaScanner should be replaced by MetaTableAccessor 2015-03-09 10:39:59 +00:00
Y. SREENIVASULU REDDY b6da97890b HBASE-12969 Parameter Validation is not there for shell script, local-master-backup.sh and local-regionservers.sh
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-03-07 08:13:51 -08:00
Esteban Gutierrez bd5eae0e1d HBASE-13139 Clean up missing JAVA_HOME message in bin/hbase-config.sh
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-03-03 08:35:45 -08:00
Enis Soztutar ec877959d7 HBASE-13120 Allow disabling hadoop classpath and native library lookup (Siddharth Wagle) 2015-02-27 16:27:40 -08:00
Andrew Purtell 3f7b18cefc HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan) 2015-02-11 12:12:48 -08:00
Elliott Clark a7d93155f1 HBASE-12999 Make foreground_start return the correct exit code 2015-02-10 14:36:29 -08:00
tedyu 4388fed830 HBASE-12957 region_mover#isSuccessfulScan may be extremely slow on region with lots of expired data (Hongyu Bi) 2015-02-03 20:06:23 -08:00
Elliott Clark 5c1b08c5ca HBASE-12964 Add the ability for hbase-daemon.sh to start in the foreground 2015-02-03 15:09:48 -08:00
Elliott Clark 45fdc0e835 HBASE-12892 Add a class to allow taking a snapshot from the command line 2015-01-25 17:18:50 -08:00
Andrew Purtell e370baf8a5 HBASE-12904 Threading issues in region_mover.rb 2015-01-22 13:11:31 -08:00
stack 8aadc5de1e HBASE-12608 region_mover.rb does not log moving region count correctly when loading regions (cuijianwei) 2014-12-27 10:37:40 -08:00
tedyu 0a22196468 HBASE-12662 region_status.rb is failing with NoMethodError (Ashish Singhi) 2014-12-09 09:33:41 -08:00
Patrick White f2be914f73 HBASE-12569 Update scripts to control MaxDirectMemorySize via env vars
Signed-off-by: stack <stack@apache.org>
2014-11-24 23:57:46 -08:00
Enis Soztutar 5911c030a5 HBASE-12560 [WINDOWS] Append the classpath from Hadoop to HBase classpath in bin/hbase.cmd 2014-11-21 22:07:10 -08:00
Florin Broasca 69f685e7cf HBASE-12513 Graceful stop script does not restore the balancer state
Signed-off-by: stack <stack@apache.org>
2014-11-18 13:14:41 -08:00
stack b94e6738d9 HBASE-10378 Refactor write-ahead-log implementation -- ADDEDNUM 2014-11-18 12:12:35 -08:00
Jesse Yates 0c2314b07a HBASE-12428 region_mover.rb script is broken if port is not specified
If the port is not specified, there is an object nil exception.
2014-11-06 13:01:08 -08:00
Enis Soztutar 0fa43bd574 HBASE-12372 [WINDOWS] Enable log4j configuration in hbase.cmd 2014-10-29 11:59:55 -07:00
stack b68b3bf784 HBASE-12240 hbase-daemon.sh should remove pid file if process not found running (Ashish Singhi) 2014-10-12 23:08:13 -07:00
Elliott Clark 915b338634 HBASE-11804 Raise default heap size if unspecified 2014-10-01 13:39:52 -07:00
Jimmy Xiang 683f3b3d50 HBASE-12034 If I kill single RS in branch-1, all regions end up on Master! 2014-09-29 13:50:59 -07:00
stack 8e5aad43a2 HBASE-6290 Add a function a mark a server as dead and start the recovery the process (Talat Uyarer) 2014-09-29 10:23:32 -07:00
stack 4be3cf8fec HBASE-6290 Add a function a mark a server as dead and start the recovery the process (Talat Uyarer) 2014-09-29 10:22:10 -07:00
Ted Yu 88cd708d8d HBASE-11948 graceful_stop.sh should use hbase-daemon.sh when executed on the decomissioned node (Sebastien Barrier) 2014-09-26 15:35:57 +00:00
stack 5d4bc3ea1c HBASE-10748 hbase-daemon.sh fails to execute with 'sh' command 2014-09-24 09:21:03 -07:00
stack ee573ea285 HBASE-12032 Script to stop regionservers via RPC (Patrick White) 2014-09-19 16:49:59 -07:00
stack 098f8c4401 HBASE-12021 Hbase shell does not respect the HBASE_OPTS set by the user in console (Ashish Singhi) 2014-09-19 11:06:53 -07:00
stack 257562036b HBASE-12019 hbase-daemon.sh overwrite HBASE_ROOT_LOGGER and HBASE_SECURITY_LOGGER variables (Sebastien Barrier) 2014-09-18 17:00:53 -07:00
Patrick White b26ec4e3df HBASE-12013 Support multiple regionservers per host in region_mover.rb
Signed-off-by: Elliott Clark <eclark@apache.org>
2014-09-18 08:48:15 -07:00
Nick Dimiduk 29b274a116 HBASE-11845 HFile tool should implement Tool, disable blockcache by default
HFileTool now accepts configuration via -D arguments. The blockcache is
disabled by default.
2014-09-11 14:39:30 -07:00
Andrew Purtell f9be6db0e1 HBASE-11844 region_mover.rb load enters an infinite loop if region already present on target server (Stephen Veiss) 2014-08-28 14:33:22 -07:00
Jonathan M Hsieh 4b8a38ebb5 HBASE-11658 Piped commands to hbase shell should return non-zero if shell command failed (Sean Busbey) 2014-08-08 13:54:53 -07:00
Ted Yu b158900b68 HBASE-11666 Enforce JDK7 javac for builds on branch-1 and master (Sean Busbey) 2014-08-05 15:00:37 +00:00
Sean Busbey 41ecb18c20 HBASE-11662 shell should properly handle long form --debug.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2014-08-04 21:31:30 -07:00
Andrew Purtell 6e7dd6f827 HBASE-11668 Re-add HBASE_LIBRARY_PATH to bin/hbase (Esteban Gutierrez) 2014-08-04 21:27:47 -07:00
Andrew Purtell c6d07f881f HBASE-11649 Add shortcut commands to bin/hbase for test tools 2014-08-01 10:31:27 -07:00
Jimmy Xiang cc61cc3081 HBASE-11575 Pseudo distributed mode does not work as documented 2014-07-24 10:04:35 -07:00
Andrew Purtell a030b17ba7 HBASE-11534 Remove broken JAVA_HOME autodetection in hbase-config.sh (Esteban Gutierrez) 2014-07-18 10:46:34 -07:00
Andrew Purtell a462990765 HBASE-2217 VM OPTS for shell only 2014-07-16 17:11:54 -07:00
Rajeshbabu Chintaguntla 5a05836dd1 HBASE-11493 Autorestart option is not working because of stale znode 'shutdown'(Nijel) 2014-07-14 05:32:55 +00:00
Andrew Purtell d289eecd2f HBASE-11496 HBASE-9745 broke cygwin CLASSPATH translation (Dave Latham) 2014-07-10 17:47:04 -07:00
stack ea085c6373 HBASE-4495 CatalogTracker has an identity crisis; needs to be cut-back in scope (Mikhail Antonov) 2014-07-02 19:01:04 -07:00
Michael Stack aa101ca97e HBASE-9149 javadoc cleanup of to reflect .META. rename to hbase:meta (Misty Stanley-Jones) 2014-05-27 10:36:55 -07:00
Jonathan Hsieh 3e3b9a2f65 HBASE-5697 Audit HBase for usage of deprecated hadoop 0.20.x, 1.x property names (Srikanth Srungarapu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1591045 13f79535-47bb-0310-9956-ffa450edef68
2014-04-29 18:19:37 +00:00
nkeywal 4b762ee841 HBASE-10018 Change the location prefetch
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1585518 13f79535-47bb-0310-9956-ffa450edef68
2014-04-07 16:55:45 +00:00
Michael Stack 8b00ce12bf HBASE-10797 Add support for -h and --help to rolling_restart.sh and fix the usage string output
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1579477 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 00:01:35 +00:00
Jonathan Hsieh d0966109f2 HBASE-10769 hbase/bin/hbase-cleanup.sh has wrong usage string (Vamsee Yariagadda)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1578469 13f79535-47bb-0310-9956-ffa450edef68
2014-03-17 17:13:57 +00:00
Jonathan Hsieh 04b60809fa HBASE-10731 Fix environment variables typos in scripts (Albert Chu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1576956 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 22:16:28 +00:00
Enis Soztutar 65f6d41851 HBASE-10688 Add a draining_node script to manage nodes in draining mode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1576856 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 19:00:47 +00:00
mbertozzi 52b775db97 HBASE-10682 region_mover.rb throws "can't convert nil into String" for regions moved
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1574828 13f79535-47bb-0310-9956-ffa450edef68
2014-03-06 10:05:40 +00:00
Jonathan Hsieh 0e0f813e07 HBASE-10639 Unload script displays wrong counts (off by one) when unloading regions (Srikanth Srungarapu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1573678 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 19:06:51 +00:00
Zhihong Yu 397b272901 HBASE-10638 Improve error message when there is no region server available for move
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1573010 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 17:30:23 +00:00
Michael Stack e09d637d7a HBASE-8803 region_mover.rb should move multiple regions at a time
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1572327 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 23:05:50 +00:00
jxiang 147a2304d1 HBASE-5356 region_mover.rb can hang if table region it belongs to is deleted
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1565742 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 17:57:44 +00:00
Jonathan Hsieh 0e47eb67ff HBASE-10123 Change default ports; move them out of linux ephemeral port range
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1559200 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 17:37:25 +00:00
Jonathan Hsieh 92410d57d8 HBASE-10186 region_mover.rb broken because ServerName constructor is changed to private (Samir Ahmic)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1551532 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 13:05:10 +00:00
Enis Soztutar fab098fa47 HBASE-10084 [WINDOWS] bin\hbase.cmd should allow whitespaces in java.library.path and classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1551433 13f79535-47bb-0310-9956-ffa450edef68
2013-12-17 01:03:10 +00:00
Zhihong Yu 9b945bc87f HBASE-10164 Allow heapsize of different units to be passed as HBASE_HEAPSIZE
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1550996 13f79535-47bb-0310-9956-ffa450edef68
2013-12-15 02:59:24 +00:00
ndimiduk 33a753c766 HBASE-10120 start-hbase.sh doesn't respect --config in non-distributed mode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1550038 13f79535-47bb-0310-9956-ffa450edef68
2013-12-11 03:09:15 +00:00
Michael Stack 64f417ab99 HBASE-10056 region_status.rb not adopted to 0.96 api
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546416 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 18:00:03 +00:00
Zhihong Yu 2a6407fff4 HBASE-10049 Small improvments in region_mover.rb
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546393 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 16:23:26 +00:00
Michael Stack 12f0dce3ae HBASE-10051 rolling-restart.sh have old value of "zookeeper.znode.unassiged" config causing infinite loop
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546215 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 22:26:36 +00:00
Michael Stack aa911ebc66 HBASE-10050 graceful_stop.sh syntax error
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546212 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 22:21:27 +00:00
eclark 9eb5a28520 HBASE-10045 HMaster's clear command could conflict with JMX ports
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1545892 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 00:52:12 +00:00
Zhihong Yu 44cb861092 HBASE-9924 Avoid potential filename conflict in region_mover.rb
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1543225 13f79535-47bb-0310-9956-ffa450edef68
2013-11-18 23:11:08 +00:00
ndimiduk e1a3d71738 HBASE-8438 Extend bin/hbase to print a "mapreduce classpath"
$ ./bin/hbase mapredcp --help
Usage: hbase mapredcp [-Dtmpjars=...]
  Construct a CLASSPATH containing dependency jars required to run a mapreduce
  job. By default, includes any jars detected by TableMapReduceUtils. Provide
  additional entries by specifying a comma-separated list in tmpjars.

$ ./bin/hbase mapredcp | tr ':' '\n'
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/netty-3.6.6.Final.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-hadoop-compat-0.97.0-SNAPSHOT.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/protobuf-java-2.5.0.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/guava-12.0.1.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/htrace-core-2.01.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-protocol-0.97.0-SNAPSHOT.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-client-0.97.0-SNAPSHOT.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/zookeeper-3.4.5.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-server-0.97.0-SNAPSHOT.jar
/private/tmp/hbase-0.97.0-SNAPSHOT/lib/hbase-common-0.97.0-SNAPSHOT.jar


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1542811 13f79535-47bb-0310-9956-ffa450edef68
2013-11-17 20:49:24 +00:00
Enis Soztutar 2163ca98d1 HBASE-9788 [WINDOWS] Update rest server class name
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1533261 13f79535-47bb-0310-9956-ffa450edef68
2013-10-17 21:14:44 +00:00
Michael Stack ffeb4ab1e3 HBASE-9745 Append HBASE_CLASSPATH to end of Java classpath and use another env var for prefix
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1531594 13f79535-47bb-0310-9956-ffa450edef68
2013-10-12 21:03:39 +00:00
mbertozzi 066638e6cc HBASE-9735 region_mover.rb uses the removed HConnection.getZooKeeperWatcher()
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1530784 13f79535-47bb-0310-9956-ffa450edef68
2013-10-09 20:26:03 +00:00
nkeywal bba51c29c7 HBASE-9632 Put the shell in a maven sub module (hbase-shell) instead of hbase-server
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1525641 13f79535-47bb-0310-9956-ffa450edef68
2013-09-23 16:40:51 +00:00
Enis Soztutar 1dca2b68ad HBASE-9560 bin/hbase clean --cleanAll should not skip data cleaning if in local mode
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1524202 13f79535-47bb-0310-9956-ffa450edef68
2013-09-17 20:12:10 +00:00