Commit Graph

11614 Commits

Author SHA1 Message Date
Enis Soztutar 02a641e2b1 HBASE-15837 Memstore size accounting is wrong if postBatchMutate() throws exception
Conflicts:
	hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
	hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
2016-05-26 11:13:06 -07:00
Apekshit 7af013b267 HBASE-14635 Fix flaky test TestSnapshotCloneIndependence
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-05-25 21:24:09 -07:00
tedyu a049b5f799 HBASE-15884 NPE in StoreFileScanner#skipKVsNewerThanReadpoint during reverse scan (Sergey Soldatov) 2016-05-25 17:29:32 -07:00
Joseph Hwang 2346b5e216 HBASE-15471 Added in Priority, General, and Replication queue sizes for RegionServers to the Web UI
Changed UI labels so that queue "size" refers to size in bytes and queue "length" refers to number of items in queue.

Signed-off-by: Elliott Clark <elliott@fb.com>
2016-05-25 15:15:01 -07:00
stack 627b48b799 HBASE-4368 Expose processlist in shell (per regionserver and perhaps by cluster) (Talat Uyarer) 2016-05-23 15:47:35 -07:00
Mikhail Antonov 51dfe44174 HBASE-15880 RpcClientImpl#tracedWriteRequest incorrectly closes HTrace span 2016-05-23 12:47:46 -07:00
stack e50bf9d7a9 HBASE-15878 Deprecate doBulkLoad(Path hfofDir, final HTable table) in branch-1 (even though its 'late') 2016-05-23 09:12:53 -07:00
stack 67c02684c9 Revert "HBASE-15876 Remove doBulkLoad(Path hfofDir, final HTable table) though it has not been through a full deprecation cycle"
Wrong commit message
This reverts commit 04ef799dd0.
2016-05-23 09:11:17 -07:00
stack 04ef799dd0 HBASE-15876 Remove doBulkLoad(Path hfofDir, final HTable table) though it has not been through a full deprecation cycle 2016-05-23 09:07:28 -07:00
tedyu 34ca6f5069 HBASE-15873 ACL for snapshot restore / clone is not enforced 2016-05-22 19:13:13 -07:00
tedyu 6738dbadac HBASE-15802 ConnectionUtils should use ThreadLocalRandom instead of Random (Matt Warhaftig) 2016-05-22 06:47:59 -07:00
Jerry He b7de663580 HBASE-14818 user_permission does not list namespace permissions (li xiang) 2016-05-21 20:32:20 -07:00
tedyu 01d77bf37b HBASE-15529 Override needBalance in StochasticLoadBalancer (Guanghao Zhang) 2016-05-21 14:39:41 -07:00
Gary Helmling aacc816ac7 HBASE-15856 Addendum Fix UnknownHostException import in MetaTableLocator 2016-05-20 19:31:07 -07:00
Matteo Bertozzi 0acd49ddfe HBASE-15872 Split TestWALProcedureStore 2016-05-20 13:18:12 -07:00
tedyu 108a130f38 HBASE-15529 Revert due to TestRegionRebalancing failing 2016-05-20 12:56:48 -07:00
tedyu b91a6199e9 HBASE-15529 Override needBalance in StochasticLoadBalancer (Guanghao Zhang) 2016-05-20 10:20:44 -07:00
Gary Helmling df40739ae7 HBASE-15856 Don't cache unresolved addresses for connections 2016-05-20 10:02:05 -07:00
Matteo Bertozzi 6dbc8ebec1 HBASE-15865 Move TestTableDeleteFamilyHandler and TestTableDescriptorModification handler tests to procedure 2016-05-20 07:15:48 -07:00
Matteo Bertozzi 233264bc17 HBASE-15864 Reuse the testing helper to wait regions in transition 2016-05-20 06:49:14 -07:00
Jerry He d038b762a5 HBASE-15465 userPermission returned by getUserPermission() for the selected namespace does not have namespace set (li xiang) 2016-05-19 20:38:24 -07:00
tedyu 696a51d344 HBASE-15847 VerifyReplication prefix filtering (Geoffrey Jacoby) 2016-05-19 10:43:49 -07:00
Vincent 5eed14272b HBASE-15617 Canary in regionserver mode might not enumerate all regionservers
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2016-05-18 18:42:17 -07:00
Matteo Bertozzi e5eea96ca6 HBASE-15843 Replace RegionState.getRegionInTransition() Map with a Set 2016-05-18 12:51:17 -07:00
Jerry He a9972355c4 HBASE-15841 Performance Evaluation tool total rows may not be set correctly 2016-05-18 12:15:18 -07:00
Enis Soztutar 49359a4ee3 HBASE-15824 LocalHBaseCluster gets bind exception in master info port - ADDENDUM 2016-05-18 11:36:16 -07:00
Stephen Yuan Jiang 0078522549 HBASE-15850 Localize the configuration change in testCheckTableLocks to reduce flakiness of TestHBaseFsck test suite (Stephen Yuan Jiang) 2016-05-18 07:13:39 -07:00
tedyu ce43e33876 HBASE-15769 Perform validation on cluster key for add_peer (Matt Warhaftig) 2016-05-17 13:26:45 -07:00
stack c0fcce2bde HBASE-15593 Time limit of scanning should be offered by client (Phil Yang) 2016-05-17 12:51:03 -07:00
Elliott Clark 89146d85ac HBASE-15840 WAL.proto compilation broken for cpp 2016-05-17 12:04:31 -07:00
tedyu cadebe691f HBASE-15842 SnapshotInfo should display ownership information 2016-05-16 20:34:41 -07:00
Enis Soztutar c96227eed1 HBASE-15824 LocalHBaseCluster gets bind exception in master info port 2016-05-16 10:35:45 -07:00
Sean Busbey e365191896 HBASE-15780 Make AuthUtil public and rely on it for talking to secure HBase.
Signed-off-by: Gary Helmling <garyh@apache.org>
Signed-off-by: Mikhail Antonov <antonov@apache.org>
Signed-off-by: stack <stack@apache.org>
2016-05-16 00:53:45 -05:00
Mikhail Antonov 0042d6d4c8 HBASE-15615 Wrong sleep time when RegionServerCallable need retry (Guanghao Zhang) 2016-05-15 20:49:00 -07:00
stack 77f511fceb HBASE-15811 Batch Get after batch Put does not fetch all Cells We were not waiting on all executors in a batch to complete. The test for no-more-executors was damaged by the 0.99/0.98.4 fix "HBASE-11403 Fix race conditions around Object#notify"
It added this in AsyncProcess#waitForMaximumCurrentTasks:

synchronized (this.tasksInProgress) {
+          if (tasksInProgress.get() != oldInProgress) break;
           this.tasksInProgress.wait(100);

which added a break out of our waiting loop if any change in
count of tasks; it seems that what was wanted was instead to
avoid the wait if there was movement in the count of completed
task.

Reformats waitForMaximumCurrentTasks so it is testable. Adds
test that we indeed wait on the specified parameter.
2016-05-13 17:53:37 -07:00
Apekshit 92f415976e HBASE-13532 Make UnknownScannerException less scary by giving more information in the exception string. (Apekshit)
Signed-off-by: Matteo Bertozzi <matteo.bertozzi@cloudera.com>
2016-05-13 15:03:36 -07:00
tedyu 278c17d1eb HBASE-15815 Region mover script sometimes reports stuck region where only one server was involved 2016-05-13 07:45:50 -07:00
Apekshit a6f8214e9b HBASE-15236 Inconsistent cell reads over multiple bulk-loaded HFiles. In KeyValueHeap, if two cells are same i.e. have same key and timestamp, then instead of directly using seq id to determine newer one, we should use StoreFile.Comparater.SEQ_ID because that's what is used to determine order of hfiles. In this patch, we assign each scanner an order based on it's index in storefiles list, which is then used in KeyValueHeap to disambiguate between same cells. Changes the getSequenceId() in KeyValueScanner class to getScannerOrder(). Testing: Adds unit test to TestKeyValueHeap. Manual testing: Three cases (Tables t, t2, t3 in the jira description), single region, 2 hfiles with same seq id, timestamps and duplicate KVs. Made sure that returned kv was same for get and scan. (Apekshit)
Change-Id: I22600c91c0a51fb63eb17db73472839d2f13957c

Signed-off-by: stack <stack@apache.org>
2016-05-12 21:31:13 -07:00
Jerry He cadc4cf15b HBASE-15808 Reduce potential bulk load intermediate space usage and waste 2016-05-12 15:22:56 -07:00
Matteo Bertozzi 98d13c745c HBASE-15415 Improve Master WebUI snapshot information (huaxiang sun) 2016-05-09 20:22:07 -07:00
zhangduo 690b44d29a HBASE-15801 Upgrade checkstyle for all branches 2016-05-10 09:37:20 +08:00
Apekshit 2f282aca15 HBASE-11625 - Verifies data before building HFileBlock. - Adds HFileBlock.Header class which contains information about location of fields. Testing: Adds CorruptedFSReaderImpl to TestChecksum.
Change-Id: I6777f2ddf8922691c84ca86d0cffa9a37dc879ae

Signed-off-by: stack <stack@apache.org>
2016-05-09 16:29:47 -07:00
Enis Soztutar d07d316113 HBASE-15740 Replication source.shippedKBs metric is undercounting because it is in KB 2016-05-09 10:25:57 -07:00
Jonathan M Hsieh 137d891fbc HBASE-15791 Improve javadoc around ScheduledChore 2016-05-09 09:57:31 -07:00
Ramkrishna 94c4d568b5 HBASE-15609 Remove PB references from Result, DoubleColumnInterpreter and
any such public facing class for 2.0 (Ram)
2016-05-09 14:57:39 +05:30
Nick Dimiduk 2c280c718a HBASE-15738 Ensure artifacts in project dist area include required md5 file 2016-05-08 18:11:15 -07:00
Gary Helmling e44c360350 HBASE-15773 Improvements to CellCounter job 2016-05-06 11:18:24 -07:00
Ashish Singhi 0964884b92 HBASE-15669 HFile size is not considered correctly in a replication request 2016-05-06 17:28:06 +05:30
Ramkrishna b9df7978fc HBASE-15608 Remove PB references from SnapShot related Exceptions (Ram) 2016-05-06 17:07:44 +05:30
tedyu 09d451b1db HBASE-15292 Refined ZooKeeperWatcher to prevent ZooKeeper's callback while construction (Hiroshi Ikeda) 2016-05-05 16:07:39 -07:00