Commit Graph

11809 Commits

Author SHA1 Message Date
Phil Yang 6afe696e53 HBASE-15484 Correct the semantic of batch and partial 2017-03-07 12:04:09 +08:00
Andrew Purtell ccf1f17d78 HBASE-17722 Metrics subsystem stop/start messages add a lot of useless bulk to operational logging
Conflicts:
	hbase-spark/src/test/resources/log4j.properties
2017-03-03 12:35:21 -08:00
Josh Elser 85b5d49315 HBASE-17717 Explicitly use "sasl" ACL scheme for hbase superuser
The special "auth" ZK ACL scheme will always set the ACL's id (the
user who is allowed) to be the authenticated user of the ZK connection.
This results in the HBase superuser not actually receiving the
permissions as the ZKUtil intends to do. Since we know we have security
enabled, we can instead explicitly list "sasl" as the ACL scheme
instead.
2017-03-02 15:50:38 -05:00
tedyu 88f909cf1f HBASE-17710 HBase in standalone mode creates directories with 777 permission 2017-03-02 11:33:36 -08:00
dvdreddy f64a52a0c2 HBASE-16630 Fragmentation in long running Bucket Cache
Bug Fix : Added Memory block type also to the list of
evictions that need to happen when there is a needForExtra

Improvement : Inorder to fix the non availabilty of Buckets and force
the movement of buckets to transformed sizes, whenever we encounter a
situation where an allocation cant be made for a BucketSize, we will
forcefully free the entire buckets that have least occupancy ratio. This
is the same strategy used by MemCached when they encounter a similar
issue going by the name 'Slab Calcification'. Only improvement is that
we use a heuristic to evict from the buckets that are least occupied
and also avoid the BucketSizes where there is a single Bucket

Signed-off-by: Ramkrishna <ramkrishna.s.vasudevan@intel.com>
2017-03-01 18:10:54 +05:30
Ramkrishna bef27396e5 Revert "HBASE-16630 Handle Fragmentation in bucket cache"
This reverts commit 779f9cb07f.
2017-03-01 11:41:02 +05:30
dvdreddy 779f9cb07f HBASE-16630 Handle Fragmentation in bucket cache
Currently whenever a compaction/bulkload happen and the
blocks are evicted from theirs buckets the buckets become
fragmented and are not available to be used by other
BucketSizes

Bug Fix : Added Memory block type also to the list of
evictions that need to happen when there is a needForExtra

Improvement : Inorder to fix the non availabilty of Buckets and force
the movement of buckets to transformed sizes, whenever we encounter a
situation where an allocation cant be made for a BucketSize, we will
forcefully free the entire buckets that have least occupancy ratio. This
is the same strategy used by MemCached when they encounter a similar
issue going by the name 'Slab Calcification'. Only improvement is that
we use a heuristic to evict from the buckets that are least occupied
and also avoid the BucketSizes where there is a single Bucket

Change-Id: I9e3b4deb8d893953003ddf5f1e66312ed97ea9cb

Signed-off-by: Ramkrishna <ramkrishna.s.vasudevan@intel.com>
2017-03-01 10:37:22 +05:30
tedyu 7d38e6126a HBASE-17673 Monitored RPC Handler not shown in the WebUI (Allan Yang) 2017-02-28 07:44:35 -08:00
Jingcheng Du 2131c79552 HBASE-17688 MultiRowRangeFilter not working correctly if given same start and stop RowKey 2017-02-28 12:15:38 +08:00
Andrew Purtell 07e63c837b HBASE-16188 Add EventCounter information to log4j properties file (Gopi Krishnan Nambiar) 2017-02-27 15:55:32 -08:00
tedyu 3249155080 HBASE-17689 Add support for table.existsAll in thrift2 THBaseservice (Yechao Chen) 2017-02-27 14:41:07 -08:00
tedyu 04dd73c77b HBASE-17689 Add support for table.existsAll in thrift2 THBaseservice - Revert wrong JIRA Id 2017-02-27 14:38:55 -08:00
tedyu 47872cec23 HBASE-17654 Add support for table.existsAll in thrift2 THBaseservice (Yechao Chen) 2017-02-27 08:44:58 -08:00
Jan Hentschel ec84118c97 HBASE-17634 Cleaned up the usage of Result.isPartial
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-02-27 20:45:58 +08:00
tedyu 8528e82875 HBASE-17674 Major compaction may be cancelled in CompactionChecker (Guangxu Cheng) 2017-02-25 16:33:34 -08:00
Ashu Pachauri 4b8195f22c HBASE-17057 Minor compactions should also drop page cache (Ashu Pachauri)
Signed-off-by: Gary Helmling <garyh@apache.org>
2017-02-24 15:31:36 -08:00
Abhishek Singh Chouhan b0780bdc63 HBASE-17682 Region stuck in merging_new state indefinitely
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-02-23 15:19:13 -08:00
Abhishek Singh Chouhan 2b6e9b3a3a Amend HBASE-17069 RegionServer writes invalid META entries in some circumstances
Fix Hregioninfo being null during merge

Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-02-23 13:46:02 -08:00
zhangduo 3e2a6784c7 HBASE-17595 Add partial result support for small/limited scan 2017-02-23 16:10:10 +08:00
Sean Busbey 7917314477 HBASE-17677 Just the new tests from 'ServerName parsing from directory name should be more robust to errors.'
Signed-off-by: Michael Stack <stack@apache.org>
2017-02-22 21:23:11 -06:00
Ashu Pachauri a373445730 HBASE-17590 Drop cache hint should work on store file write path (Ashu Pachauri)
Signed-off-by: Gary Helmling <garyh@apache.org>
2017-02-22 13:37:12 -08:00
Sean Busbey a404bfa0c2 HBASE-17561 table status page should escape values that may contain arbitrary characters.
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2017-02-21 23:22:55 -06:00
Joao Girao e7efa23d07 HBASE-13718 added columns schema to table description in web view
Summary:
 * added a new table "Table Schema" on the table description page
 * per column, list all the key/values on the column description

Test Plan:
 * mvn test # and wait..
 * create a new table using hbase shell:
   * create 'mytesttable', {NAME=>'CF1'}, {NAME=>'CF2'}
 * open http://localhost:16010/table.jsp?name=mytesttable
 * check the "Table Schema" appears and lists the columns correctly

Reviewers: eclark, vicka.dudin

Differential Revision: https://reviews.facebook.net/D38649

Signed-off-by: Elliott Clark <eclark@apache.org>
2017-02-21 23:22:55 -06:00
Phil Yang f5ae21ea32 HBASE-17210 Set timeout on trying rowlock according to client's RPC timeout 2017-02-22 11:43:47 +08:00
rgidwani 27a8aa99d9 HBASE-17675 ReplicationEndpoint should choose new sinks if a SaslException occurs
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-02-21 18:45:15 -08:00
Sean Busbey cdb38830d7 HBASE-15328 sanity check the redirect used to send master info requests to the embedded regionserver.
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2017-02-21 09:05:31 -06:00
huzheng 45357c078d HBASE-17472: Correct the semantic of permission grant
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-02-20 20:24:09 +08:00
ChiaPing Tsai 964e17f7b0 HBASE-17661 fix the queue length passed to FastPathBalancedQueueRpcExecutor
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-19 13:26:24 -08:00
Tim Brown 6b96b0ce85 HBASE-17658 Fix bookkeeping error with max regions for a table
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-17 07:42:21 -08:00
Yi Liang b141603e2e HBASE-17648: HBase Table-level synchronization fails between two secured(kerberized) cluster
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-17 07:04:35 -08:00
Abhishek Singh Chouhan 4038917239 HBASE-17069 RegionServer writes invalid META entries for split daughters in some circumstances
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-02-16 15:36:33 +08:00
Ashu Pachauri 2eb810d0f7 HBASE-17627 Active workers metric for thrift (Ashu Pachauri)
Signed-off-by: Gary Helmling <garyh@apache.org>
2017-02-15 15:46:29 -08:00
tedyu e3d70db4af HBASE-17649 REST API for scan should return 410 when table is disabled 2017-02-15 08:04:07 -08:00
zhangduo f835d1efc2 HBASE-17583 Add inclusive/exclusive support for startRow and endRow of scan for sync client 2017-02-15 10:18:58 +08:00
Phil Yang 0a25bf5b3f HBASE-17639 Do not stop server if ReplicationSourceManager's waitUntilCanBePushed throws InterruptedException 2017-02-14 17:48:49 +08:00
Sean Busbey d7c304573f HBASE-17558 ZK dumping jsp should escape HTML.
Signed-off-by: Enis Soztutar <enis@apache.org>
2017-02-13 23:49:12 -05:00
tedyu 2ac0c3b6da HBASE-17460 enable_table_replication can not perform cyclic replication of a table - revert due to failure in testEnableReplicationWhenSlaveClusterDoesntHaveTable 2017-02-13 16:01:25 -08:00
Andrew Purtell eb889f6a4b HBASE-17637 Update progress more frequently in IntegrationTestBigLinkedList.Generator.persist 2017-02-13 15:04:27 -08:00
Gary Helmling bf0c343fb8 HBASE-17611 Thrift2 per-call latency metrics are capped at ~2 seconds 2017-02-13 10:24:26 -08:00
tedyu 44f063350b HBASE-17603 REST API for scan should return 404 when table does not exist 2017-02-13 08:45:24 -08:00
tedyu 810427b950 HBASE-17460 enable_table_replication can not perform cyclic replication of a table (NITIN VERMA) 2017-02-10 16:45:27 -08:00
rgidwani 4588bdee9f HBASE-17609 Allow for region merging in the UI
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-02-09 14:06:48 -08:00
Andrew Purtell e4ee7ee891 HBASE-17572 HMaster: Caught throwable while processing event C_M_MERGE_REGION 2017-02-09 13:37:40 -08:00
tedyu 52c51fc271 HBASE-17265 Region left unassigned in master failover when region failed to open (Allan Yang) 2017-02-09 12:43:37 -08:00
Abhishek Singh Chouhan 807fcfd22f HBASE-17616 Incorrect actions performed by CM
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-09 12:35:22 -08:00
Ajay Jadhav 67fe516ec9 HBASE-17280 Add mechanism to control hbase cleaner behavior
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-02-09 12:18:42 -08:00
zhangduo e9abe07629 HBASE-17599 Use mayHaveMoreCellsInRow instead of isPartial 2017-02-09 15:38:23 +08:00
Jerry He f61b840a31 HBASE-15437 Response size calculated in RPCServer for warning tooLarge responses does NOT count CellScanner payload 2017-02-08 17:21:56 -08:00
Andrew Purtell fd062011f0 Revert "HBASE-17572 HMaster: Caught throwable while processing event C_M_MERGE_REGION (UndeclaredThrowableException)"
This reverts commit fb1239766d.
2017-02-08 15:59:44 -08:00
Zach York 8f6388503b HBASE-17437 Support specifying a WAL directory outside of the root directory (Yishan Yang and Zach York)
HBASE-17588 Remove unused imports brought in by HBASE-17437 (Zach York)

Signed-off-by: Enis Soztutar <enis@apache.org>
2017-02-08 15:01:59 -08:00