Commit Graph

20 Commits

Author SHA1 Message Date
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
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
Enis Soztutar e79572fa1c HBASE-12372 [WINDOWS] Enable log4j configuration in hbase.cmd 2014-10-29 12:02:38 -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
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
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
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
Enis Soztutar 5e6b63d6fc HBASE-9483 [WINDOWS] Allow running upgrade tool from hbase.cmd
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1521579 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 18:36:35 +00:00
Enis Soztutar ff6d8620fc HBASE-9386 [WINDOWS] Small improvements to .cmd scripts
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1519028 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 17:28:05 +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
Enis Soztutar 518168296c HBASE-8456 HBase Windows scripts fail when there's a blank space in JAVA_HOME (Mostafa Elhemali)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1477351 13f79535-47bb-0310-9956-ffa450edef68
2013-04-29 21:26:55 +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
Enis Soztutar 464a0ea2db HBASE-6815. [WINDOWS] Provide hbase scripts in order to start HBASE on Windows in a single user mode. (Slavik Krassovsky)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1438764 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 23:33:22 +00:00