Commit Graph

429 Commits

Author SHA1 Message Date
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
Enis Soztutar 287d08447f HBASE-13120 Allow disabling hadoop classpath and native library lookup (Siddharth Wagle) 2015-02-27 16:28:11 -08:00
Andrew Purtell 2d475c2677 HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan) 2015-02-11 12:12:56 -08:00
Elliott Clark e0dbc0b55f HBASE-12999 Make foreground_start return the correct exit code 2015-02-10 14:36:25 -08:00
tedyu 118f738d7c HBASE-12957 region_mover#isSuccessfulScan may be extremely slow on region with lots of expired data (Hongyu Bi) 2015-02-03 20:07:23 -08:00
Elliott Clark e3032b1770 HBASE-12964 Add the ability for hbase-daemon.sh to start in the foreground 2015-02-03 15:09:55 -08:00
Elliott Clark 8ee4464ef9 HBASE-12892 Add a class to allow taking a snapshot from the command line 2015-01-25 17:22:41 -08:00
Andrew Purtell 44fa36b425 HBASE-12904 Threading issues in region_mover.rb 2015-01-22 13:11:40 -08:00
stack 3f1cb3e63b HBASE-12608 region_mover.rb does not log moving region count correctly when loading regions (cuijianwei) 2014-12-27 10:38:11 -08:00
tedyu 1fae34de56 HBASE-12662 region_status.rb is failing with NoMethodError (Ashish Singhi) 2014-12-09 09:35:01 -08:00
Sean Busbey 8959828fb5 HBASE-12522 Backport of write-ahead-log refactoring and follow-ons.
Issues incorporated and incompatible changes called out on the jira.

* Cleaned up references to HLog
* Deprecates HLogKey but maintains it for compatibility
  - Moves all Writeable from WALKey to HLogKey
* Adds utility code to CoprocessorHost to help with evolving Coprocessor APIs
* RSRpcServices roll WAL call now requests the non-meta LogRoller roll all logs
  - rolls actually happen asynchronously
  - deprecated old api (and noted incompatible behavior change)
  - modified api in new Admin interface to reflect lack of return values.
* Moved WAL user facing API to "WAL"
  - only 1 sync offered
  - WALTrailer removed from API
* make provider used by the WALFactory configurable.
* Move all WAL requests to use opaque ids instead of paths
* WALProvider provides API details for implementers and handles creation of WALs.
* Refactor WALActionsListener to have a basic implementation.
* turn MetricsWAL into a WALActionsListener.
* tests that needs FSHLog implementation details use them directly, others just reference provider + factory
  - Some tests moved from Large to Medium based on run time.
* pull out wal disabling into its own no-op class
* update region open to delegate to WALFactory
* update performance test tool to allow for multiple regions
* Removed references to meta-specific wals within wal code
  - replaced with generic suffixes
  - WALFactory maintains a dedicated WALProvider for meta (and so knows about the distinction)
* maintain backwards compat on HLogPrettyPrinter and mark it deprecated.
  - made WALPrettyPrinter IA.Private in favor of `bin/hbase wal`
* move WALUtil stuff that's implementation specific to said implementation
  - WALUtil now acts as an integration point between the RegionServer and hte WAL code.

Incorporates contributions from v.himanshu and stack.

Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/WALPlayer.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/migration/NamespaceUpgrade.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/protobuf/ReplicationProtbufUtil.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/LogRoller.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RegionServerServices.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/FSHLog.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/RegionReplicaReplicationEndpoint.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/HMerge.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/MetaUtils.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/TestIOFencing.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestAdmin2.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/coprocessor/TestRegionObserverScannerOpenHook.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestInvocationRecordFilter.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/fs/TestBlockReorder.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHLogRecordReader.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/mapreduce/TestImportExport.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestDistributedLogSplitting.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestAtomicOperation.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionMergeTransaction.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransaction.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestHLog.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRollAbort.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRollingNoCluster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestMultiSlaveReplication.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationEndpoint.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationSource.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationWALEntryFilters.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpointNoMaster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationSourceManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestReplicationWALReaderManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestFSVisitor.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestMergeTool.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestSecureWAL.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALFiltering.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALMethods.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALReaderOnSecureWAL.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALSplit.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALSplitCompressed.java
	src/main/docbkx/ops_mgt.xml
2014-12-02 11:05:02 -06:00
Patrick White 39c67f6031 HBASE-12569 Update scripts to control MaxDirectMemorySize via env vars
Signed-off-by: stack <stack@apache.org>

Conflicts:
	src/main/docbkx/book.xml
2014-11-25 00:00:53 -08:00
Enis Soztutar 9701845ea7 HBASE-12560 [WINDOWS] Append the classpath from Hadoop to HBase classpath in bin/hbase.cmd 2014-11-21 22:07:54 -08:00
Florin Broasca d3c9425c9b HBASE-12513 Graceful stop script does not restore the balancer state
Signed-off-by: stack <stack@apache.org>
2014-11-18 13:15:14 -08:00