Commit Graph

10006 Commits

Author SHA1 Message Date
Nick Dimiduk ab18158e60 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.
2015-01-23 08:48:31 -08:00
Rajeshbabu Chintaguntla e13b9938a1 HBASE-12791 HBase does not attempt to clean up an aborted split when the regionserver shutting down-addendum(Rajeshbabu) 2015-01-23 12:41:45 +05:30
Misty Stanley-Jones 5fbf80ee5e HBASE-12902 Post-asciidoc conversion fix-ups 2015-01-23 13:12:02 +10:00
Enis Soztutar 38701ea8ec HBASE-12899 HBase should prefix htrace configuration keys with "hbase.htrace" rather than just "hbase." (Colin Patrick McCabe) 2015-01-22 19:04:35 -08:00
Andrew Purtell 71ab4ddb19 HBASE-12731 Heap occupancy based client pushback 2015-01-22 17:33:21 -08:00
Nick Dimiduk 9824eb7840 HBASE-12810 Update to htrace-incubating 2015-01-22 14:28:20 -08:00
Nick Dimiduk 508085fe5a HBASE-12896 checkstyle report diff tool 2015-01-22 14:12:46 -08:00
Andrew Purtell e370baf8a5 HBASE-12904 Threading issues in region_mover.rb 2015-01-22 13:11:31 -08:00
Sean Busbey 418ea93774 HBASE-12898 ensure direct dependencies are declared. 2015-01-22 14:33:25 -06:00
tedyu 319f9bb791 HBASE-12903 Fix configuration which enables secure bulk load (Weichen Ye) 2015-01-22 09:02:44 -08:00
Ramkrishna 1b800f7d4c HBASE-12669 - Have compaction scanner save info about delete markers
(Jingcheng Du)
2015-01-22 14:52:40 +05:30
anoopsjohn 833feefbf9 HBASE-12745 Visibility Labels: support visibility labels for user groups. (Jerry He) 2015-01-22 11:36:17 +05:30
Enis Soztutar 8b7a20f4ee HBASE-12393 The regionserver web will throw exception if we disable block cache (ChiaPing Tsai) 2015-01-21 17:22:10 -08:00
Enis Soztutar 8793383b66 HBASE-12774 Fix the inconsistent permission checks for bulkloading. (Srikanth Srungarapu) 2015-01-21 17:03:55 -08:00
Enis Soztutar 735fe20029 HBASE-12864 IntegrationTestTableSnapshotInputFormat fails 2015-01-21 16:21:42 -08:00
tedyu e87a69d9c0 HBASE-12886 Correct tag option name in PerformanceEvaluation (Jerry He) 2015-01-21 12:30:51 -08:00
Nick Dimiduk 9bdb81f0a1 HBASE-12887 Cleanup many checkstyle errors in o.a.h.h.client 2015-01-20 12:44:36 -08:00
Nick Dimiduk 3e777898aa HBASE-12881 TestFastFail is not compatible with surefire.rerunFailingTestsCount 2015-01-20 09:29:42 -08:00
rahulgidwani f71b980d37 HBASE-11195 Potentially improve block locality during major compaction for old regions
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2015-01-19 17:33:17 -08:00
Andrew Purtell 53815afc10 HBASE-12878 Incorrect HFile path in TestHFilePerformance print output (Vikas Vishwakarma) 2015-01-19 12:46:44 -08:00
Misty Stanley-Jones 4d31779dd7 HBASE-11533 AsciiDoctor POC Addendum 2 to fix redirects during site generation 2015-01-19 18:21:09 +10:00
Misty Stanley-Jones f80691e583 HBASE-12871 Document JDK versions supported by each release missing in new documentation <Kevin Risden> 2015-01-19 00:06:06 -08:00
Andrew Purtell 03e17168c3 HBASE-12840 Improve unit test coverage of the client pushback mechanism 2015-01-17 11:50:26 -08:00
Enis Soztutar 092c91eb0f HBASE-12837 ReplicationAdmin leaks zk connections (stack) 2015-01-16 13:16:12 -08:00
Enis Soztutar af725a0357 HBASE-12833 [shell] table.rb leaks connections (Solomon Duskis) 2015-01-16 11:35:27 -08:00
Enis Soztutar a55bd21340 HBASE-12862 Uppercase wals in RegionServer webUI 2015-01-16 11:12:14 -08:00
zhangduo 7309bb4317 HBASE-12863 Master info port on RS UI is always 0
Signed-off-by: Enis Soztutar <enis@apache.org>
2015-01-16 10:45:38 -08:00
Andrew Purtell f1d1dbfaa4 HBASE-8026 HBase Shell docs for scan command does not reference VERSIONS (Amit Kabra) 2015-01-16 09:43:32 -08:00
Matteo Bertozzi 621b33f2f9 HBASE-12773 Add warning message when user is trying to bulkload a large HFile (Srikanth Srungarapu) 2015-01-15 23:13:47 +00:00
tedyu eafc07a06d HBASE-12848 Utilize Flash storage for WAL 2015-01-15 08:52:30 -08:00
Ramkrishna 71184309e1 HBASE-12845 - ByteBufferOutputStream should grow as direct buffer if the
initial buffer is also direct BB (Ram)
2015-01-15 12:59:38 +05:30
Misty Stanley-Jones 1c45263cf4 HBASE-12620 Add HBASE-11639 related items to Ref Guide <Ramkrishna S. Vasudevan> 2015-01-14 21:09:58 -08:00
Misty Stanley-Jones e80b3092a6 HBASE-12858 - remove extraneous Docbook files 2015-01-14 20:40:00 -08:00
Misty Stanley-Jones 4b0efe5515 HBASE-12708 Document newly introduced params for using Thrift-over-HTTPS. <Srikanth Srungarapu> 2015-01-14 20:36:56 -08:00
Sean Busbey 296383c934 HBASE-11533 ADDENDUM asciidoc POC 2015-01-14 19:02:00 -08:00
tedyu f0b4e5b19e HBASE-12858 Add missing license header for docbkx/hbase-default.xml 2015-01-14 18:56:28 -08:00
Enis Soztutar 51575197de HBASE-12844 ServerManager.isServerReacable() should sleep between retries 2015-01-14 15:45:46 -08:00
Rajeshbabu Chintaguntla 7e872a81a9 HBASE-12847 TestZKLessSplitOnCluster frequently times out in 0.98 builds(Rajeshbabu) 2015-01-15 00:00:37 +05:30
Misty Stanley-Jones 1a21c1684c HBASE-11533 Asciidoc Proof of Concept 2015-01-13 22:32:29 -08:00
stack 608025ae67 HBASE-7541 Convert all tests that use HBaseTestingUtility.createMultiRegions to HBA.createTable (Jonathan Lawlor) 2015-01-13 22:10:12 -08:00
stack 1723245282 Add in an hbasecon2015 logo for the banner 2015-01-13 21:56:27 -08:00
Nick Dimiduk 9b7f36b8cf HBASE-11983 HRegion constructors should not create HLog 2015-01-13 15:07:59 -08:00
Virag Kothari 4ac457a7bc HBASE-12480 Regions in FAILED_OPEN/FAILED_CLOSE should be processed on master failover 2015-01-13 11:03:16 -08:00
tedyu 72a6a670ac HBASE-12849 LoadIncrementalHFiles should use unmanaged connection in branch-1 2015-01-13 10:51:56 -08:00
tedyu e5f3dd682f HBASE-11144 Filter to support scanning multiple row key ranges (Jiajia Li) 2015-01-13 07:02:06 -08:00
Misty Stanley-Jones 20a096d62e HBASE-12777 Redirect multi-page book to single-page book 2015-01-12 22:09:24 -08:00
Andrew Purtell acc284eec6 HBASE-12801 Failed to truncate a table while maintaing binary region boundaries (Liu Shaohui) 2015-01-12 19:09:02 -08:00
Andrew Purtell c32a2c0b16 HBASE-12839 Remove synchronization in ServerStatisticsTracker 2015-01-12 16:06:51 -08:00
Enis Soztutar 8816fa05c2 HBASE-12832 Describe table from shell no longer shows Table's attributes, only CF attributes (Srikanth Srungarapu) 2015-01-12 14:00:22 -08:00
Andrew Purtell e52d8f85c4 HBASE-12838 After HBASE-5162 RSRpcServices accidentally applies mutations twice 2015-01-12 11:45:36 -08:00