Commit Graph

2179 Commits

Author SHA1 Message Date
Andrew Purtell 14318d734e HBASE-19420 Backport HBASE-19152 Update refguide 'how to build an RC' and the make_rc.sh script
Removes src.xml used building src tgz via hbase-assembly.

Use git archive instead going forward. Updates developer release candidate
documentation and the make_rc.sh script.

Slight modifications to developer.adoc for branch-1
2017-12-04 16:35:13 -08:00
Guanghao Zhang 68ee26d34d HBASE-18626 Handle the incompatible change about the replication TableCFs' config 2017-12-02 09:00:30 +08:00
Sean Busbey 1a8ae5c1ec HBASE-19223 Note availability of Date Tiered Compaction in 1.y release for those upgrading from 0.98
Signed-off-by: Yu Li <liyu@apache.org>
Signed-off-by: Mike Drob <mdrob@apache.org>
2017-11-15 10:37:53 -06:00
Michael Stack 045c02d178
HBASE-19182 Add deprecation in branch-1 for hbase-prefix-tree so some heads up it removed in hbase2 2017-11-07 11:13:37 -08:00
Pankaj Kumar b7f283c6f6 HBASE-16724 Snapshot owner can't clone
Signed-off-by: Ashish Singhi <ashishsinghi@apache.org>
2016-10-15 11:57:00 +05:30
Sean Busbey df25ebf84f HBASE-15984 Handle premature EOF treatment of WALs in replication.
In some particular deployments, the Replication code believes it has
reached EOF for a WAL prior to succesfully parsing all bytes known to
exist in a cleanly closed file.

Consistently this failure happens due to an InvalidProtobufException
after some number of seeks during our attempts to tail the in-progress
RegionServer WAL. As a work-around, this patch treats cleanly closed
files differently than other execution paths. If an EOF is detected due
to parsing or other errors while there are still unparsed bytes before
the end-of-file trailer, we now reset the WAL to the very beginning and
attempt a clean read-through.

In current testing, a single such reset is sufficient to work around
observed dataloss. However, the above change will retry a given WAL file
indefinitely. On each such attempt, a log message like the below will
be emitted at the WARN level:

  Processing end of WAL file '{}'. At position {}, which is too far away
  from reported file length {}. Restarting WAL reading (see HBASE-15983
  for details).

Additionally, this patch adds some additional log detail at the TRACE
level about file offsets seen while handling recoverable errors. It also
add metrics that measure the use of this recovery mechanism.
2016-09-29 10:47:57 -05:00
Sean Busbey 6b233c4332 HBASE-8386 deprecate TableMapReduce.addDependencyJars(Configuration, class<?> ...)
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>

 Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableMapReduceUtil.java
2016-08-05 14:08:50 -05:00
Jonathan M Hsieh 8b9840b4a8 HBASE-14877 maven archetype: client application (Daniel Vimont) 2016-06-18 23:24:41 -07:00
tedyu 4c1db3cb03 HBASE-16045 endtime argument for VerifyReplication was incorrectly specified in usage 2016-06-16 15:52:16 -07:00
tedyu e417cf6b24 HBASE-5291 Add Kerberos HTTP SPNEGO authentication support to HBase web consoles (Josh Elser) 2016-06-15 10:26:18 -07:00
Nick Dimiduk 2c280c718a HBASE-15738 Ensure artifacts in project dist area include required md5 file 2016-05-08 18:11:15 -07:00
Junegunn Choi 615d77722c HBASE-15528 Clean up outdated entries in hbase-default.xml
Signed-off-by: Enis Soztutar <enis@apache.org>

Conflicts:
	src/main/asciidoc/_chapters/hbase-default.adoc
2016-05-03 21:21:20 -07:00
tedyu 215cccdffc HBASE-15219 Canary tool does not return non-zero exit code when one of regions is in stuck state 2016-02-20 20:25:41 -08:00
tedyu 822a064195 HBASE-15219 Revert pending verification of test result 2016-02-12 12:05:07 -08:00
tedyu 5fe081eb33 HBASE-15219 Canary tool does not return non-zero exit code when one of regions is in stuck state 2016-02-10 02:38:12 -08:00
Andrew Purtell 7a718cce71 HBASE-15216 Canary does not accept config params from command line (Vishal Khandelwal)
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
2016-02-09 22:46:20 -08:00
Enis Soztutar c73b4f8df6 HBASE-15066 Small improvements to Canary tool 2016-01-06 02:47:32 -08:00
Elliott Clark 2b84c40f01 HBASE-14765 Remove snappy profile 2015-11-05 10:21:14 -08:00
Apekshit(Appy) Sharma 1517deee67 HBASE-14400 Fix HBase RPC protection documentation
Signed-off-by: Andrew Purtell <apurtell@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/security/SaslUtil.java
2015-09-15 18:30:24 -07:00
Enis Soztutar a72d406941 Updated documentation from master 2015-08-25 16:16:34 -07:00
stack d204e67091 HBASE-14273 Rename MVCC to MVCC: From MultiVersionConsistencyControl to MultiVersionConcurrencyControl (Lars Francke) 2015-08-25 16:08:09 -07:00
Andrew Purtell 234a4632a4 HBASE-13996 Add write sniffing in canary (Liu Shaohui)
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java

Amending-Author: Andrew Purtell <apurtell@apache.org>
2015-08-21 22:57:28 -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
Sean Busbey 6e66c8d03f HBASE-14086 remove unused bundled dependencies 2015-07-28 15:22:38 -05:00
Sean Busbey fdd2692f34 HBASE-14066 clean out old docbook docs from branch-1. 2015-07-13 21:50:04 -05:00
stack 8da1214099 HBASE-14053 Disable DLR in branch-1+ 2015-07-09 16:38:04 -07:00
Enis Soztutar 5ce97afee7 HBASE-13973 Update documentation for 10070 Phase 2 changes 2015-06-26 15:25:01 -07:00
Andrew Purtell 7df1814f7f HBASE-13780 Default to 700 for HDFS root dir permissions for secure deployments (Enis Soztutar) 2015-05-27 13:15:43 -07:00
Nick Dimiduk 33fe79cf6f HBASE-13665 Fix docs and site building on branch-1 2015-05-11 15:26:41 -07:00
Enis Soztutar 9621debfa5 HBASE-12926 Backport HBASE-12688 (Update site with a bootstrap-based UI) for HBASE-12918 (Andrew Purtell) 2015-01-27 19:31:15 -08:00
Enis Soztutar 8783377e44 HBASE-12568 Adopt Semantic Versioning and document it in the book 2014-12-11 12:02:06 -08:00
Enis Soztutar 48d9d27d68 Blanket update of src/main/docbkx from master 2014-12-02 20:35:51 -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
Sean Busbey f43cb80327 HBASE-12544 restore ops_mgt section of ref guide.
* checked out file version as of d7f51e^
* redid cherry-pick of changes to ops_mgt.xml from master commit 804444
* fixup with cherry pick of 71ed3b to replace mdash entity with unicode.

Original Author: stack <stack@apache.org>

Signed-off-by: stack <stack@apache.org>
2014-11-20 12:44:19 -08:00
stack d7f51e1cfa HBASE-12455 Add 'description' to bean and attribute output when you do /jmx?description=true
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/http/jmx/JMXJsonServlet.java
	src/main/docbkx/ops_mgt.xml
2014-11-11 15:06:25 -08:00
Misty Stanley-Jones a237956679 HBASE-12249 Script to help you adhere to the patch-naming guidelines 2014-10-22 13:25:57 +10:00
stack 1d1026d1bb HBASE-12286 [shell] Add server/cluster online load of configuration changes Add doc to the refguide, change command names to drop the _rs_
Signed-off-by: stack <stack@apache.org>

Conflicts:
	hbase-shell/src/main/ruby/shell.rb
2014-10-21 11:39:34 -07:00
stack b19db79968 HBASE-11990 Make setting the start and stop row for a specific prefix easier (Niels Basjes)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterWithScanLimits.java
	src/main/docbkx/book.xml
2014-10-09 11:22:40 -07:00
Misty Stanley-Jones 7525fa9386 HBASE-11981 Document how to find the units of measure for a given HBase metric 2014-10-07 17:07:40 +10:00
Misty Stanley-Jones 141e31b7bd HBASE-11692 Document how and why to do a manual region split
Incorporated Stack's feedback
2014-10-07 16:47:06 +10:00
Misty Stanley-Jones 226873f1ae HBASE-9005 Improve documentation around KEEP_DELETED_CELLS, time range scans, and delete markers 2014-10-07 14:05:47 +10:00
Misty Stanley-Jones 24cb52be37 HBASE-10411 Add a kerberos 'request is a replay (34)' issue in the Troubleshooting chapter (Takeshi Miao) 2014-10-07 13:49:43 +10:00
Misty Stanley-Jones b3935ec9ad HBASE-9004 Fix Documentation around Minor Compaction and TTL (Masatake Iwasaki) 2014-10-07 13:33:41 +10:00
Misty Stanley-Jones 10e889b1b6 HBASE-6994 minor doc update about DEFAULT_ACCEPTABLE_FACTOR (Liang Xie) 2014-10-07 13:18:30 +10:00
Misty Stanley-Jones b362dc71d6 HBASE-11930 Document new permission check to roll WAL writer (Jerry He) 2014-10-02 07:43:11 +10:00
Misty Stanley-Jones 8180a4d3a5 HBASE-11951 Add a script to assist with publishing the website and getting rid of stale files 2014-09-18 13:01:57 +10:00
Misty Stanley-Jones de72f4b9a9 HBASE-11761 Add a FAQ item for updating a maven-managed application from 0.94 -> 0.96+ 2014-09-18 12:57:09 +10:00
Misty Stanley-Jones 786418c883 Rebased HBASE-11730 for branch-1 2014-09-18 12:50:11 +10:00
Misty Stanley-Jones c4111ed971 HBASE-11738 Documented improvements to ltt and pe tools 2014-09-17 08:05:51 +10:00