Commit Graph

131 Commits

Author SHA1 Message Date
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
Enis Soztutar c73b4f8df6 HBASE-15066 Small improvements to Canary tool 2016-01-06 02:47:32 -08: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
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
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
Enis Soztutar 287d08447f HBASE-13120 Allow disabling hadoop classpath and native library lookup (Siddharth Wagle) 2015-02-27 16:28:11 -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
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
Elliott Clark bb1d6ce437 HBASE-11804 Raise default heap size if unspecified 2014-10-01 13:39:37 -07:00
stack 73cd983e73 HBASE-12021 Hbase shell does not respect the HBASE_OPTS set by the user in console (Ashish Singhi) 2014-09-19 11:07:19 -07:00
Nick Dimiduk 42bc104d0b 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:18 -07:00
Andrew Purtell bd24634707 HBASE-11668 Re-add HBASE_LIBRARY_PATH to bin/hbase (Esteban Gutierrez) 2014-08-04 21:27:57 -07:00
Andrew Purtell a28f048fbf HBASE-11649 Add shortcut commands to bin/hbase for test tools 2014-08-01 10:44:24 -07:00
Andrew Purtell 94f767fcc4 HBASE-2217 VM OPTS for shell only 2014-07-16 17:12:12 -07:00
Andrew Purtell 3d37252a32 HBASE-11496 HBASE-9745 broke cygwin CLASSPATH translation (Dave Latham) 2014-07-10 17:48:02 -07: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
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
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
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
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
Michael Stack 6fa574e115 HBASE-9474 Cleanup of hbase script usage
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1522064 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 22:06:33 +00:00
Michael Stack 08247bfe76 HBASE-9311 Create a migration script that will move data from 0.94.x to 0.96
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1516648 13f79535-47bb-0310-9956-ffa450edef68
2013-08-22 22:46:14 +00:00
Michael Stack 49b79cd4ca HBASE-9152 Not able to find HMaster and HRegionServer processes with grep by process name on ps result because of large classpath as argument.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1512560 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 04:10:03 +00:00
jyates d36db689ec HBASE-9097: Set HBASE_CLASSPATH before rest of the classpath
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1512460 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 19:26:12 +00:00
Enis Soztutar 0e22f9ec78 HBASE-8200 Integration Test classes are not part of the default HBase classpath.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1501602 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 23:09:42 +00:00
Enis Soztutar 559aa12a09 HBASE-8766 [WINDOWS] bin/hbase.cmd zkcli is broken
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1494732 13f79535-47bb-0310-9956-ffa450edef68
2013-06-19 18:37:26 +00:00
Zhihong Yu a4d58c4061 HBASE-8686 Extra left brace in bin/hbase (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1489635 13f79535-47bb-0310-9956-ffa450edef68
2013-06-04 21:43:43 +00:00
Michael Stack 17daaca0f3 HBASE-8658 hbase clean is deaf to the --config DIR option
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1488045 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 23:11:17 +00:00
Michael Stack bb783d7678 HBASE-7244 Provide a command or argument to startup, that formats znodes if provided
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1478962 13f79535-47bb-0310-9956-ffa450edef68
2013-05-03 20:30:44 +00:00
Michael Stack df95e96647 HBASE-5472 LoadIncrementalHFiles loops forever if the target table misses a CF -- REVERT -- ANOTHER OVERCOMMIT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471247 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 04:45:44 +00:00
Michael Stack e5094baacf HBASE-5472 LoadIncrementalHFiles loops forever if the target table misses a CF -- REAPPLY
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1471246 13f79535-47bb-0310-9956-ffa450edef68
2013-04-24 04:44:09 +00:00
larsh 2f64d221e1 HBASE-8025 zkcli fails when SERVER_GC_OPTS is enabled (Dave Latham)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1456582 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 18:11:39 +00:00
larsh a92c7f7612 HBASE-7153 print gc option in hbase-env.sh affects hbase zkcli (Dave Latham and LarsH)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1453686 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 05:51:26 +00:00
eclark a01797c761 HBASE-7637 hbase-hadoop1-compat conflicts with -Dhadoop.profile=2.0
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1437803 13f79535-47bb-0310-9956-ffa450edef68
2013-01-23 23:45:36 +00:00
jyates f0968bf21a HBASE-7091: Support custom GC options in hbase-env.sh
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1424640 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 19:10:10 +00:00
jxiang 044f53bf33 HBASE-7284 Rename rest server from Main to RESTServer
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418407 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 17:32:52 +00:00
nkeywal ae684de8fd HBASE-7269 Testing in place does not work if not building with default profile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1418333 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 14:38:42 +00:00
eclark e6053a6160 HBASE-7168 ADD in the script called 'hbase', we don't check for errors when generating the classpath with mvn
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1414868 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 19:05:15 +00:00
nkeywal 7e2e57f48e HBASE-7168 In the script called 'hbase', we don't check the errors when generating the classpath with mvn
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1412565 13f79535-47bb-0310-9956-ffa450edef68
2012-11-22 14:44:38 +00:00
eclark 4d6f61bab8 HBASE-6961 In place scripts fail if mvn install hasn't been run
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1396307 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 20:47:33 +00:00
jxiang 1de90b853b HBASE-6803 script hbase should add JAVA_LIBRARY_PATH to LD_LIBRARY_PATH
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1387258 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 17:02:01 +00:00
Michael Stack f125ca952c HBASE-6241 HBaseCluster interface for interacting with the cluster from system tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1385024 13f79535-47bb-0310-9956-ffa450edef68
2012-09-15 07:01:15 +00:00
Michael Stack b7f7c4ac09 HBASE-6553 Remove Avro Gateway
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1374484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 00:31:55 +00:00
Michael Stack 17a12aa8e5 HBASE-6087 Add hbase-common module
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1344510 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 23:51:44 +00:00
Zhihong Yu 3fa097b01c HBASE-6110 Fix TestInfoServers, patch v3 (Jesse)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1343110 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 21:45:03 +00:00
Zhihong Yu 99613b8746 HBASE-6110 Revert due to increased number of failed tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1343081 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 19:31:47 +00:00
Zhihong Yu a113f4c291 HBASE-6110 Fix TestInfoServers (Jesse Yates)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1342995 13f79535-47bb-0310-9956-ffa450edef68
2012-05-27 05:29:43 +00:00
Michael Stack 390f32d79f HBASE-4336 Convert source tree into maven modules
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1342856 13f79535-47bb-0310-9956-ffa450edef68
2012-05-26 05:56:04 +00:00