Commit Graph

442 Commits

Author SHA1 Message Date
Viraj Jasani ce938a1ae4
HBASE-26371 Prioritize meta region move over other region moves in region_mover (#3768) (#3767)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2021-10-20 23:08:28 +05:30
Lokesh Khurana e250c7fc63
HBASE-24620 : Add a ClusterManager which submits command to ZooKeeper and its Agent which picks and execute those Commands (#2299)
Co-authored-by: Viraj Jasani <vjasani@apache.org>

Signed-off-by: Aman Poonia <apoonia@salesforce.com>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-12-21 16:13:18 +05:30
Lokesh Khurana fac1d4aab7
HBASE-25237 : 'hbase master stop' shuts down the cluster, not the master only (#2705)
Closes #2713

Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-11-27 16:34:37 +05:30
WenFeiYi 655658ce36
HBASE-24550 Passing '-h' or '--help' to bin/hbase doesn't do as expected
Closes #1930

Signed-off-by: Viraj Jasani <vjasani@apache.org>
2020-06-19 23:09:17 +05:30
Rushabh 638508e20d HBASE-22874 Define a public API for Canary checking and a non-public tool implementation
Closes #580

* Canary is now an IA.Public interface
* CanaryTool is now the implementation

Branch-1 specific changes for differences in APIs and cleanup of the ref guide using a classname.

Co-authored-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Sean Busbey <busbey@apache.org>
2019-10-04 13:14:36 -07:00
Toshihiro Suzuki dd9eadb00f
HBASE-22988 Backport HBASE-11062 "hbtop" to branch-1
Fixes #647

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-10-01 16:48:16 -07:00
liang.feng 1930856da6 HBASE-22658 region_mover.rb should choose same rsgroup servers as target servers
Co-authored-by: Reid Chan <reidchan@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Reid Chan <reidchan@apache.org>
2019-07-26 11:46:26 +08:00
Andrew Purtell 19cdd6d4c9
HBASE-22538 Prevent graceful_stop.sh from shutting down RS too early before finishing unloading regions (Jeongdae Kim)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2019-06-20 15:25:21 -07:00
Artem Ervits e1bca19631 HBASE-22396 Backport HBASE-21536 to branch-1
Fix completebulkload usage instructions

Signed-off-by: Josh Elser <elserj@apache.org>
2019-06-03 16:43:05 -04:00
Andrew Purtell 301bbe1b8e
HBASE-21926 Profiler servlet 2019-03-17 18:48:41 -07:00
stack 19c3663119 HBASE-21567 Allow overriding configs starting up the shell
Adds support for -D as option to 'hbase shell'
2018-12-10 10:13:05 -08:00
Sean Busbey b9ca1cc152 HBASE-20276 restore original shell REPL functionality where commands can return results
* makes commands always pass any results back to hirb
* print warning if hirb is given the --return-values flag
* add some docs on how to avoid the console clutter that HBASE-15965 sought to address
* add an upgrade section note about this change.
* cleanup where the get_splits command does its printing so there's a building block that doesn't print
* some rubocop suggested tweaks and opt-out for classlength check on table and shell classes.

Signed-off-by: Mike Drob <mdrob@apache.org>

 Conflicts:
	src/main/asciidoc/_chapters/upgrading.adoc

* backport leaves off refguide change about upgrading.

 Conflicts:
	hbase-shell/src/main/ruby/hbase/table.rb
	hbase-shell/src/main/ruby/shell/commands/get_splits.rb
2018-04-06 13:15:56 -05:00
Josh Elser 99306bba77 HBASE-19770 Separate command return values from interactive shells
Uses a new option to the shell to specify that return values are
unwanted instead of overloading the interactive option. Enable
return_values when the shell is non-interactive.

Includes addendum "Replace `if not` with `unless`"

Signed-off-by: Apekshit Sharma <appy@apache.org>
Signed-off-by: Mike Drob <mdrob@apache.org>
2018-02-15 14:43:57 -05:00
Apekshit Sharma 090ded5686 HBASE-16459 Remove unused hbase shell --format option 2017-11-10 09:52:26 -08:00
Artem Ervits b0ff1dd5cb HBASE-19140 hbase-cleanup.sh uses deprecated call to remove files in hdfs
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-11-01 19:16:14 +01:00
CHIA-PING TSAI e1eaf612f6 HBASE-17426 Inconsistent environment variable names for enabling JMX 2017-03-17 10:28:54 +08:00
tedyu db410ea7cf HBASE-17427 region_mover.rb may move region onto the same server 2017-01-04 17:19:57 -08:00
Andrew Purtell 33002bd8e3 HBASE-15924 Enhance hbase services autorestart capability to hbase-daemon.sh
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:

	bin/rolling-restart.sh
2016-12-20 17:37:15 -08:00
Esteban Gutierrez 429f398c07 HBASE-16379 [replication] Minor improvement to replication/copy_tables_desc.rb 2016-08-10 11:16:53 -07:00
tedyu cebba7b4d8 HBASE-16377 ServerName check is ineffective in region_mover.rb 2016-08-09 18:21:18 -07:00
tedyu 2aa8cdc989 HBASE-16125 RegionMover uses hardcoded, Unix-style tmp folder - breaks Windows (Vladimir Rodionov) 2016-07-01 10:03:45 -07:00
tedyu d4a842948a HBASE-14581 Znode cleanup throws auth exception in secure mode 2016-06-17 10:57:08 -07:00
Apekshit Sharma 2ee7d2a488 HBASE-15845 Changes:
- Remove omnipresence of formatter object since it is kind of a use-and-throw class. Commands should create
  an instance, use it to format the output and discard it.
- Some refactoring
Tested: Ran TestShell

Change-Id: I12176ee12695df952ee4b0f8397e5d3be8f16a87
2016-06-03 16:35:29 -07:00
tedyu 278c17d1eb HBASE-15815 Region mover script sometimes reports stuck region where only one server was involved 2016-05-13 07:45:50 -07:00
Matteo Bertozzi 47eb79311f HBASE-15508 Add command for exporting snapshot in hbase command script (Yufeng Jiang) 2016-03-23 10:38:13 -07:00
Enis Soztutar 6d56ecfcf7 HBASE-15145 HBCK and Replication should authenticate to zookepeer using server principal 2016-01-26 14:43:30 -08:00
tedyu f541539da5 HBASE-15057 local-master-backup.sh doesn't start HMaster correctly (Samir Ahmic) 2016-01-08 15:58:46 -08:00
Enis Soztutar c73b4f8df6 HBASE-15066 Small improvements to Canary tool 2016-01-06 02:47:32 -08:00
tedyu a4f445b20e HBASE-14531 graceful_stop.sh "if [ \"$local\" ]" condition unexpected behaviour (Samir Ahmic) 2015-11-29 13:11:31 -08:00
stack 32642ac971 HBASE-14768 bin/graceful_stop.sh logs nothing as a balancer state to be stored (Hiroshi Ikeda) 2015-11-04 21:51:56 -08:00
stack d7c1468ed9 HBASE-14709 Parent change breaks graceful_stop.sh on a cluster 2015-10-27 16:55:16 -07:00
Elliott Clark 226f7a019a 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:26 -07:00
Esteban Gutierrez 1b5fb8193e HBASE-14354 Minor improvements for usage of the mlock agent 2015-09-01 18:38:32 -07:00
Samir Ahmic f30d3dc20c HBASE-14325 Add snapshotinfo command to hbase script.
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2015-08-31 09:12:42 -07:00
tedyu 861d546b87 HBASE-14258 Addendum fixes case sensitivity in 'load' (Vladimir Rodionov) 2015-08-29 02:11:32 -07:00
tedyu 9b55f1cd29 HBASE-14258 Make region_mover.rb script case insensitive with regard to hostname (Vladimir Rodionov) 2015-08-25 16:37:11 -07:00
Sean Busbey 9091409800 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

Conflicts:
	bin/considerAsDead.sh
	dev-support/rebase_all_git_branches.sh
2015-07-31 11:22:50 -07:00
Elliott Clark e28094fe4d HBASE-13927 Allow hbase-daemon.sh to conditionally redirect the log or not
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-07-06 12:02:37 -05:00
Jonathan M Hsieh d90523355e HBASE-11658 Piped commands to hbase shell should return non-zero if shell command failed (Sean Busbey) 2015-05-01 17:24:55 -07:00
Enis Soztutar b970599b42 HBASE-13589 [WINDOWS] hbase.cmd script is broken 2015-04-28 17:19:49 -07:00
Y. SREENIVASULU REDDY 5bee2930e0 HBASE-13490 echo ulimit output to log during daemon foreground start.
Signed-off-by: Sean Busbey <busbey@apache.org>
2015-04-27 01:45:43 -05:00
tedyu bbab9bf0c4 HBASE-13475 Small spelling mistake in region_mover#isSuccessfulScan causes NoMethodError (Victor Xu) 2015-04-15 05:04:32 -07:00
Gustavo Anatoly 12f095f00f HBASE-13229 Specify bash for local-regionservers.sh and local-master-backup.sh
Signed-off-by: Sean Busbey <busbey@apache.org>

Conflicts:
	src/main/asciidoc/_chapters/configuration.adoc
2015-03-17 12:49:55 -05:00
Sean Busbey 7ea18e2068 Revert "Specify bash for local-regionservers.sh and local-master-backup.sh"
This reverts commit 58ab201be3.
2015-03-17 12:49:36 -05:00
Gustavo Anatoly 58ab201be3 Specify bash for local-regionservers.sh and local-master-backup.sh
Signed-off-by: Sean Busbey <busbey@apache.org>

Conflicts:
	src/main/asciidoc/_chapters/configuration.adoc
2015-03-17 10:27:03 -05:00
Jonathan M Hsieh d899322286 HBASE-13162 Add capability for cleaning hbase acls to hbase cleanup script (Srikanth Srungarapu) 2015-03-12 17:07:25 -07:00
Lars George c78243af61 HBASE-13165 Fix docs and scripts for default max heaps size after HBASE-11804 (code) 2015-03-11 11:20:56 +01:00
Lars George d0682d19ff HBASE-13174 Apply HBASE-11804 to Windows scripts 2015-03-11 10:38:48 +01:00
Y. SREENIVASULU REDDY f7c35f8b53 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:14:07 -08:00
Esteban Gutierrez 946c53ce65 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:36:02 -08:00