Commit Graph

51 Commits

Author SHA1 Message Date
Andrew Purtell b194052ec0 HBASE-13825 Use ProtobufUtil#mergeFrom and ProtobufUtil#mergeDelimitedFrom in place of builder methods of same name
Incorporates HBASE-14076
2015-08-06 21:48:04 -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 9d06fc9f6b HBASE-14077 Add package to hbase-protocol protobuf files. 2015-07-15 11:21:29 -07:00
Misty Stanley-Jones 9ac6539f6a HBASE-13898 correct additional javadoc failures under java 8 <Gabor Liptak>
Ammending-Author: Sean Busbey <busbey@apache.org>

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufUtil.java
	hbase-common/src/main/java/org/apache/hadoop/hbase/CellComparator.java
	hbase-protocol/src/main/java/org/apache/hadoop/hbase/protobuf/ProtobufMagic.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/RegionObserver.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/http/jmx/JMXJsonServlet.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlockIndex.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/util/BloomFilterChunk.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java
2015-06-23 01:14:15 -05:00
Nick Dimiduk 3ebb54291c HBASE-13247 Change BufferedMutatorExample to use addColumn() since add() is deprecated 2015-06-15 17:48:36 -07:00
Jonathan Lawlor 408b916175 HBASE-13421 Reduce the number of object creations introduced by HBASE-11544 in scan RPC hot code paths
Signed-off-by: stack <stack@apache.org>
2015-04-08 14:03:38 -07:00
Andrew Purtell af1715933e HBASE-12972 Region, a supportable public/evolving subset of HRegion 2015-03-30 18:01:32 -07:00
Jonathan Lawlor 0c64a57e52 HBASE-11544: [Ergonomics] hbase.client.scanner.caching is dogged and will try to return batch even if it means OOME
Signed-off-by: stack <stack@apache.org>
2015-03-04 18:04:15 -08:00
tedyu 6f24e4639f HBASE-13115 Fix the usage of remote user in thrift doAs implementation (Srikanth Srungarapu) 2015-03-03 06:49:30 -08:00
stack b3d8a8843c HBASE-12985 Javadoc warning and findbugs fixes to get us green again
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/master/balancer/BaseLoadBalancer.java
2015-02-07 17:06:22 -08:00
Nick Dimiduk 8556e2598e HBASE-12728 buffered writes substantially less useful after removal of HTablePool (Solomon Duskis and Nick Dimiduk)
In our pre-1.0 API, HTable is considered a light-weight object that consumed by
a single thread at a time. The HTablePool class provided a means of sharing
multiple HTable instances across a number of threads. As an optimization,
HTable managed a "write buffer", accumulating edits and sending a "batch" all
at once. By default the batch was sent as the last step in invocations of
put(Put) and put(List<Put>). The user could disable the automatic flushing of
the write buffer, retaining edits locally and only sending the whole "batch"
once the write buffer has filled or when the flushCommits() method in invoked
explicitly. Explicit or implicit batch writing was controlled by the
setAutoFlushTo(boolean) method. A value of true (the default) had the write
buffer flushed at the completion of a call to put(Put) or put(List<Put>). A
value of false allowed for explicit buffer management. HTable also exposed the
buffer to consumers via getWriteBuffer().

The combination of HTable with setAutoFlushTo(false) and the HTablePool
provided a convenient mechanism by which multiple "Put-producing" threads could
share a common write buffer. Both HTablePool and HTable are deprecated, and
they are officially replaced in The new 1.0 API by Table and BufferedMutator.
Table, which replaces HTable, no longer exposes explicit write-buffer
management. Instead, explicit buffer management is exposed via BufferedMutator.
BufferedMutator is made safe for concurrent use. Where code would previously
retrieve and return HTables from an HTablePool, now that code creates and
shares a single BufferedMutator instance across all threads.

Conflicts:
	hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTable.java
	hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestAsyncProcess.java
	hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedList.java
	hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestBigLinkedListWithVisibility.java
	hbase-it/src/test/java/org/apache/hadoop/hbase/test/IntegrationTestLoadAndVerify.java
	hbase-it/src/test/java/org/apache/hadoop/hbase/trace/IntegrationTestSendTraceRequests.java
	hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/PerformanceEvaluation.java
	hbase-rest/src/test/java/org/apache/hadoop/hbase/rest/client/TestRemoteTable.java
	hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/MultiTableOutputFormat.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/TestMultiVersions.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestClientPushback.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestCloneSnapshotFromClient.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestFromClientSide.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestMultiParallel.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestRestoreSnapshotFromClient.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestRpcControllerFactory.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMaster.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestFSErrorsExposed.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestScannerWithBulkload.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/wal/TestLogRolling.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationChangingPeerRegionservers.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/replication/TestReplicationWithTags.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsReplication.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/SnapshotTestingUtils.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestFlushSnapshotFromClient.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/snapshot/TestRestoreFlushSnapshotFromClient.java
2015-01-23 09:07:55 -08:00
Srikanth Srungarapu 929100403d HBASE-12704 Add demo client which uses doAs functionality on Thrift-over-HTTPS 2014-12-17 16:28:18 -08:00
Nick Dimiduk 081ce3f8de HBASE-12163 Move test annotation classes to the same package as in master 2014-12-08 10:38:58 -08:00
stack a5169d422b HBASE-12526 Remove unused imports (Varun Saxena) 2014-12-01 14:30:59 -08:00
stack eb361fc33d HBASE-12038 Replace internal uses of signatures with byte[] and String tableNames to use the TableName equivalents (Solomon Duskis)
Conflicts:
	hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestTableLockManager.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaAdmin.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaTableUtil.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/quotas/TestQuotaThrottle.java
2014-09-30 16:44:29 -07:00
Enis Soztutar 1e821bc02a HBASE-12042 Replace internal uses of HTable(Configuration, String) with HTable(Configuration, TableName) (Solomon Duskis) 2014-09-29 19:39:18 -07:00
Elliott Clark 7e6cb56e4c HBASE-12062 Fix usage of Collections.toArray 2014-09-23 10:00:03 -07:00
Jimmy Xiang 6c54e8ed0b HBASE-11960 Provide a sample to show how to use Thrift client authentication 2014-09-19 09:34:00 -07:00
Enis Soztutar b175042917 HBASE-11679 Replace HTable with HTableInterface where backwards-compatible (Carter) 2014-09-09 11:51:26 -07:00
stack f149c26e9a HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime 2014-08-29 17:21:48 -07:00
Andrew Purtell 8b145419ed HBASE-11161 Provide example of POJO encoding with protobuf (Nick Dimiduk) 2014-05-23 13:53:23 -07:00
Enis Soztutar b021a1a513 HBASE-10163 Example Thrift DemoClient is flaky
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1551385 13f79535-47bb-0310-9956-ffa450edef68
2013-12-16 22:34:36 +00:00
Enis Soztutar 770e336ef6 HBASE-10020 Add maven compile-protobuf profile
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1546237 13f79535-47bb-0310-9956-ffa450edef68
2013-11-27 23:57:23 +00:00
Zhihong Yu 09ec361d3a HBASE-9754 Eliminate threadlocal from MVCC code (Ted Yu)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1533633 13f79535-47bb-0310-9956-ffa450edef68
2013-10-18 21:09:48 +00:00
sershe ed90c565ef HBASE-9496 make sure HBase APIs are compatible between 0.94 and 0.96
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1523825 13f79535-47bb-0310-9956-ffa450edef68
2013-09-16 22:36:38 +00:00
Jonathan Hsieh 3e25e1b7f5 HBASE-9493 Rename CellUtil#get*Array to CellUtil#clone*
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1521676 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 23:05:50 +00:00
Jonathan Hsieh 5a3060ee37 HBASE-9334 Convert KeyValue to Cell in hbase-client module - Filters
HBASE-9359 Convert KeyValue to Cell in hbase-client module - Result/Put/Delete, ColumnInterpreter


git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1519077 13f79535-47bb-0310-9956-ffa450edef68
2013-08-30 20:31:47 +00:00
jeffreyz 72eacc89f3 hbase-9226: Thrift host and port are hardcoded in thrift2 DemoClient.java
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1514425 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 18:25:21 +00:00
jeffreyz 00c3eb1a0e hbase-9222: Thrift DemoClient failed with error IllegalArgument(message:Row length is 0)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1514401 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 17:49:37 +00:00
Michael Stack 46fb7c409d HBASE-8408 Implement namespace
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1511577 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 04:19:49 +00:00
Devaraj Das 3daea02e86 HBASE-8846. Refactors the old exceptions back to their original packages.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1508301 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 05:14:32 +00:00
larsh 00175ae834 HBASE-8877 Reentrant row locks (Dave Latham)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1504002 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 05:34:00 +00:00
Lars George 8bf99de619 HBASE-8890 Fix Thrift 2 example class location
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1501722 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 11:17:06 +00:00
Zhihong Yu 191ba57a27 HBASE-8534 Fix coverage for org.apache.hadoop.hbase.mapreduce (Aleksey Gorshkov)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1488542 13f79535-47bb-0310-9956-ffa450edef68
2013-06-01 16:23:55 +00:00
anoopsamjohn 6ff1dc821d HBASE-8641 IndexBuilder example : CF name of the src table is hard coded
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1487909 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 16:12:05 +00:00
Michael Stack c6f4c60ac4 HBASE-1762 Remove concept of ZooKeeper from HConnection interface
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1480501 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 00:05:17 +00:00
Michael Stack 130d95e78d HBASE-8005 DemoClient.cpp can not be built correctly
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1461177 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 15:12:24 +00:00
mbertozzi 16589af634 HBASE-8123 Replace HashMap/HashSet with TreeMap/TreeSet where byte[] is used as key
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1457089 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 20:04:08 +00:00
Michael Stack 466902ffde HBASE-8101 Cleanup: findbugs and javadoc warning fixes as well as making it illegal passing null row to Put/Delete, etc.
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1457024 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 17:11:32 +00:00
Michael Stack 71c9e007bd HBASE-8027 hbase-7994 redux; shutdown hbase-example unit tests
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1453984 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 18:13:38 +00:00
Michael Stack d40c5b2e83 HBASE-7994 Disable unit tests under hbase-examples; they fail too often up on jenkins; APPLIED BOTH ORIGINAL PATCH AND ADDENDUM IN ONE GO
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1453091 13f79535-47bb-0310-9956-ffa450edef68
2013-03-05 23:32:21 +00:00
sershe 9b1ec93ee3 HBASE-7902 deletes may be removed during minor compaction, in non-standard compaction schemes
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1451314 13f79535-47bb-0310-9956-ffa450edef68
2013-02-28 19:46:24 +00:00
eclark 24ebbcabc3 HBASE-7188 Move classes into hbase-client
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1449950 13f79535-47bb-0310-9956-ffa450edef68
2013-02-25 22:50:17 +00:00
Zhihong Yu e0e0c44e34 HBASE-7495 parallel seek in StoreScanner (Liang Xie)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1447740 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 14:51:05 +00:00
mbertozzi a8658d520e HBASE-7802 Use the Store interface instead of HStore (coprocessor, compaction, ...)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1445434 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 00:08:47 +00:00
Michael Stack ea245beac7 HBASE-7315 Remove support for client-side RowLocks
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1435747 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 22:45:11 +00:00
nkeywal 4e0af48fe4 HBASE-7508 Fix simple findbugs
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1430169 13f79535-47bb-0310-9956-ffa450edef68
2013-01-08 08:31:11 +00:00
Andrew Kyle Purtell a1079157ec HBASE-7351, HBASE-7399, HBASE-7406. Periodic health check chore (Vandana Ayyalasomayajula)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1428141 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 02:12:24 +00:00
larsh 726f822774 HBASE-7215 Put, Delete, Increment, Result, all all HBase M/R classes still implement/use Writable
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1415412 13f79535-47bb-0310-9956-ffa450edef68
2012-11-29 22:19:39 +00:00
eclark 9a030acad8 HBASE-7203 Move example CoProcessor into hbase-examples
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1413751 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 18:02:29 +00:00