Commit Graph

11904 Commits

Author SHA1 Message Date
Xiang Li cb2f2a7d1b HBASE-17916 Error message not clear when the permission of staging dir
is not as expected

Signed-off-by: Michael Stack <stack@apache.org>
2017-04-14 08:12:09 -07:00
qgxiaozhan 1afb86a1c1 HBASE-17816 HRegion#mutateRowWithLocks should update writeRequestCount metric
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-04-11 18:08:06 -07:00
Nemo Chen 4030facc99 HBASE-16469 Several log refactoring/improvement suggestions
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-04-11 14:28:47 -05:00
Esteban Gutierrez ec461ac871 HBASE-17351 Unable to generate tar ball for master branch 2017-04-11 10:25:54 -05:00
Jerry He b6a2c02b93 HBASE-17869 UnsafeAvailChecker wrongly returns false on ppc 2017-04-06 16:13:52 -07:00
Tomu Tsuruhara a6e9de3a0e HBASE-17871 scan#setBatch(int) call leads wrong result of VerifyReplication
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-04-06 07:00:36 -07:00
Yu Li 96890d64d4 HBASE-17886 Fix compatibility of ServerSideScanMetrics 2017-04-06 18:19:34 +08:00
Yi Liang 4057a6c89c HBASE-17861: Regionserver down when checking the permission of staging dir if hbase.rootdir is on S3
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-04-04 07:22:31 -07:00
Karan Mehta 19e4e4d49a HBASE-17698 ReplicationEndpoint choosing sinks
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-03-31 16:31:29 -07:00
Yi Liang cc700ef4c1 HBASE-17821: The CompoundConfiguration#toString is wrong
Signed-off-by: CHIA-PING TSAI <chia7712@gmail.com>
2017-03-31 15:13:58 +08:00
Ramkrishna 589a0e2efb HBASE-17837 Backport HBASE-15314 to branch-1.3 (Chunhui shen & Ram)) 2017-03-30 17:03:36 +05:30
tedyu d0139a8777 HBASE-17287 Master becomes a zombie if filesystem object closes 2017-03-29 04:50:49 -07:00
tedyu 6fe3b5e0f1 HBASE-17831 Support small scan in thrift2 (Guangxu Cheng) 2017-03-28 02:00:48 -07:00
Ashu Pachauri babb857940 HBASE-16755 Honor flush policy under global memstore pressure
Signed-off-by: Gary Helmling <garyh@apache.org>
2017-03-27 11:48:17 -07:00
Chia-Ping Tsai 006bfc7054 HBASE-17623 Reuse the bytes array when building the hfile block 2017-03-25 23:51:14 +08:00
zhangduo 849ab5ff29 HBASE-17595 addendum fix the problem for mayHaveMoreCellsInRow 2017-03-23 20:35:12 +08:00
tedyu 9726c71681 HBASE-17798 RpcServer.Listener.Reader can abort due to CancelledKeyException (Guangxu Cheng) 2017-03-21 08:06:56 -07:00
zhangduo b973d3fd46 HBASE-17584 Expose ScanMetrics with ResultScanner rather than Scan 2017-03-20 16:32:20 +08:00
Chia-Ping Tsai 02d9bf0c57 HBASE-17803 PE always re-creates table when we specify the split policy 2017-03-19 19:10:24 +08:00
CHIA-PING TSAI e1eaf612f6 HBASE-17426 Inconsistent environment variable names for enabling JMX 2017-03-17 10:28:54 +08:00
zhangduo 6be8d2041b HBASE-17793 Backport ScanResultCache related code to branch-1 2017-03-17 09:32:44 +08:00
CHIA-PING TSAI d542b446b8 HBASE-17778 Remove the testing code in the AsyncRequestFutureImpl 2017-03-17 07:52:45 +08:00
Michael Stack d1ea718e43 HBASE-17501 Revert "Revert "guard against NPE while reading FileTrailer and HFileBlock""
This reverts commit e92a147e19.

This is a revert of a revert -- i.e. a restore -- just so I can change
the commit message to add the JIRA number.
2017-03-16 14:56:04 -07:00
Michael Stack e92a147e19 Revert "guard against NPE while reading FileTrailer and HFileBlock"
This reverts commit c97905a962.

This is a revert just so I can add the JIRA number to the commit
message.
2017-03-16 14:55:41 -07:00
zhangduo 094e9a311b HBASE-16584 Backport the new ipc implementation in HBASE-16432 to branch-1 2017-03-16 23:00:30 +08:00
Andrew Purtell d7666b6066 HBASE-17780 BoundedByteBufferPool "At capacity" messages are not actionable 2017-03-14 13:23:47 -07:00
tedyu 318298047b HBASE-17779 disable_table_replication returns misleading message and does not turn off replication (Janos Gub) 2017-03-14 12:34:04 -07:00
James Moore c97905a962 guard against NPE while reading FileTrailer and HFileBlock
guard against NPE from FSInputStream#seek

Signed-off-by: Michael Stack <stack@apache.org>
2017-03-13 14:53:57 -07:00
Guanghao Zhang 759d63b15c HBASE-17773 VerifyReplication tool wrongly emits Invalid arguments error (Tom Tsuruhara) 2017-03-13 17:53:43 +08:00
Guanghao Zhang 531598d67f HBASE-17746 TestSimpleRpcScheduler.testCoDelScheduling is broken 2017-03-13 11:10:33 +08:00
zhangduo dc84c7b9a7 HBASE-17712 Addendum modify log message 2017-03-10 16:01:45 +08:00
Stephen Yuan Jiang 7dfb3b3194 HBASE-17764 Solve TestMultiSlaveReplication flakiness (Stephen Yuan Jiang) 2017-03-09 18:38:57 -08:00
Ashu Pachauri 20cb390529 HBASE-15429 Add split policy for busy regions
Signed-off-by: Gary Helmling <garyh@apache.org>
2017-03-09 17:33:53 -08:00
Andrew Purtell 0bc9ad0628 HBASE-17731 Fractional latency reporting in MultiThreadedAction 2017-03-09 16:54:38 -08:00
CHIA-PING TSAI 1105e1260d HBASE-17736 Some options can't be configured by the shell
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-03-09 16:53:31 -08:00
Ashu Pachauri 598dd9bb0e HBASE-16977 VerifyReplication should log a printable representation of the row keys
Signed-off-by: Gary Helmling <garyh@apache.org>
2017-03-09 16:36:10 -08:00
Umesh Agashe 3d9520b140 HBASE-17761: Test TestRemoveRegionMetrics.testMoveRegion fails intermittently because of race condition
Signed-off-by: Esteban Gutierrez <esteban@apache.org>
2017-03-09 14:26:10 -08:00
Esteban Gutierrez c70769ea89 HBASE-15941 HBCK repair should not unsplit healthy splitted region
Signed-off-by: Michael Stack <stack@apache.org>
2017-03-08 22:03:47 -08:00
chenyechao a44068adaa HBASE-17737 Thrift2 proxy should support scan timeRange per column family
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-03-08 20:34:27 -08:00
Michael Stack ca5b8a44a4 HBASE-17718 Difference between RS's servername and its ephemeral node cause SSH stop working
This patch reverts HBASE-9593 -- i.e. registering in zk before we
register with master putting it back to how it was where we register
in zk AFTER we report for duty with the master (because then we'll
register in zk with the name the master gave us). It then fixes the
problem reported in HBASE-9593 in an alternate fashion by checking
for a RS znode if we failed a connect on assign; if none found, we
remove a server from online servers list.

M hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
 Make move method available to tests.

M hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
 Correct method name changing moveFromOnelineToDeadServers to
 moveFromOnlineToDeadServers

 Add actual fix which is call to checkForRSznode if exception trying to
 open a region; if none found, call expire on the server so it gets
 removed from the list of online servers.

 This patch exposes sloppyness in the waitForRegionServers around our
 current case where Master is hosting regions but ONLY hbase:meta;
 in this case we need to wait on at least another server to report
 in beyond Master (we weren't but stuff was 'working' because of the
 early registration of RS nodes in zk).

M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
 Make 'killed' available to tests.

 Put registry of ephemeral node back to where it was originally,
 so it is AFTER we get response from Master on registering for duty
 so we can put our znode up in zk with the name the Master gave us
 rather than local name (which could be unknown to the Master).
   private boolean stopping = false;

M hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRSKilledWhenInitializing.java
 Cleanup and test of new cleanup.
2017-03-08 10:47:53 -08:00
Andrew Purtell ba292ccbf4 HBASE-17729 Missing shortcuts for some useful HCD options 2017-03-08 10:05:29 -08:00
tedyu f34709e1b7 HBASE-17460 enable_table_replication can not perform cyclic replication of a table (Janos Gub) 2017-03-08 01:27:35 -08:00
zhangduo dcaa9bd715 HBASE-17712 Remove/Simplify the logic of RegionScannerImpl.handleFileNotFound 2017-03-08 14:51:11 +08:00
Karan Mehta 5f630935bb HBASE-17716 Formalize Scan Metric names
Signed-off-by: Michael Stack <stack@apache.org>
2017-03-07 07:42:40 -08:00
Phil Yang f45d261902 HBASE-15484 Correct the semantic of batch and partial - amend to fix bug and revise the JavaDoc for related APIs. 2017-03-07 22:42:58 +08:00
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