Michael Stack
a9352fe956
HBASE-18366 Fix flaky test TestServerCrashProcedure#testRecoveryAndDoubleExecutionOnRsWithMeta (Umesh Agashe)
...
Disabled for now. Will be back here when a more fundamental fix.
2017-07-14 22:41:36 +01:00
Yi Liang
353627b39d
HBASE-18229: create new Async Split API to embrace AM v2
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-14 22:25:14 +01:00
Mike Drob
9e0f450c0c
HBASE-17922 Clean TestRegionServerHostname for hadoop3.
...
Change-Id: I6f1514b1bc301be553912539e6a4192c2ccc782b
Signed-off-by: Apekshit Sharma <appy@apache.org>
2017-07-13 11:44:18 -07:00
Jan Hentschel
c0725ddff1
HBASE-18344 Introduce Append.addColumn as a replacement for Append.add
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-07-13 20:04:57 +08:00
Mike Drob
cb5299ae9b
HBASE-18177 FanOutOneBlockAsyncDFSOutputHelper fails to compile against Hadoop 3
...
Because ClientProtocol::create has API changes between Hadoop 2/3
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-07-12 13:40:05 +08:00
Guanghao Zhang
22dce22e06
HBASE-18343 (addendum) Track the remaining unimplemented methods for async admin
2017-07-12 09:32:00 +08:00
tedyu
c0f743e44f
HBASE-18358 Backport HBASE-18099 'FlushSnapshotSubprocedure should wait for concurrent Region#flush() to finish'
2017-07-11 17:26:22 -07:00
Chia-Ping Tsai
d215cb4950
HBASE-18295 The result contains the cells across different rows
2017-07-12 02:27:29 +08:00
Guanghao Zhang
1978b78cdf
HBASE-18343 Track the remaining unimplemented methods for async admin
2017-07-11 14:01:56 +08:00
zhangduo
f8e892d7aa
HBASE-18348 The implementation of AsyncTableRegionLocator does not follow the javadoc
2017-07-11 11:43:35 +08:00
Chia-Ping Tsai
43492d2d3b
HBASE-18267 The result from the postAppend is ignored
2017-07-11 10:30:06 +08:00
tedyu
7d007eac98
HBASE-17705 Procedure execution must fail fast if procedure is not registered (Vladimir Rodionov)
2017-07-10 09:04:56 -07:00
zhangduo
351703455a
HBASE-18307 Share the same EventLoopGroup for NettyRpcServer, NettyRpcClient and AsyncFSWALProvider at RS side
2017-07-10 21:00:44 +08:00
Guanghao Zhang
1ddcc07d65
HBASE-18318 Implement updateConfiguration/stopMaster/stopRegionServer/shutdown methods
2017-07-10 13:41:19 +08:00
Guanghao Zhang
c48bb67123
HBASE-18316 Implement async admin operations for draining region servers
2017-07-09 19:51:59 +08:00
Chia-Ping Tsai
bc8ebc6f72
HBASE-18241 Change client.Table, client.Admin, Region, Store, and HBaseTestingUtility to not use HTableDescriptor or HColumnDescriptor
2017-07-08 16:54:25 +08:00
Guanghao Zhang
7f93729782
HBASE-18317 Implement async admin operations for Normalizer/CleanerChore/CatalogJanitor
2017-07-08 10:55:10 +08:00
Guanghao Zhang
b0a5fa0c2a
HBASE-18319 Implement getClusterStatus/getRegionLoad/getCompactionState/getLastMajorCompactionTimestamp methods
2017-07-07 16:21:45 +08:00
Yu Li
4fe7385767
HBASE-18083 Make large/small file clean thread number configurable in HFileCleaner
2017-07-07 14:07:23 +08:00
Michael Stack
6786b2b63e
Revert "HBASE-17056 Remove checked in PB generated files Selective add of dependency on"
...
Revert for now. Build unstable and some interesting issues around
CLASSPATH
This reverts commit df93c13fd2
.
2017-07-06 21:58:32 -07:00
Phil Yang
75d2eca8ac
HBASE-17931 Assign system tables to servers with highest version
2017-07-06 17:35:54 +08:00
Ramkrishna
50bb045723
HBASE-18002 Investigate why bucket cache filling up in file mode in an
...
exisiting file is slower (Ram)
2017-07-06 11:20:00 +05:30
Michael Stack
df93c13fd2
HBASE-17056 Remove checked in PB generated files Selective add of dependency on
...
hbase-thirdparty jars. Update to READMEs on how protobuf is done (and update to
refguide) Removed all checked in generated protobuf files. They are generatedon
the fly now as part of mainline build.
2017-07-05 20:57:11 -07:00
Michael Stack
c5abb6cabb
Revert "HBASE-14070 - Core HLC"
...
Revert a push too-early
This reverts commit 9fe94c1169
.
2017-07-05 20:11:05 -07:00
Michael Stack
172c662034
HBASE-18325 Disable flakey TestMasterProcedureWalLease
2017-07-05 20:10:43 -07:00
Amit Patel
9fe94c1169
HBASE-14070 - Core HLC
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-05 16:51:02 -07:00
Michael Stack
b71509151e
HBASE-17201 Edit of HFileBlock comments and javadoc
2017-07-05 13:32:27 -07:00
Stephen Yuan Jiang
05e3f394e2
HBASE-18301 Enable TestSimpleRegionNormalizerOnCluster#testRegionNormalizationMergeOnCluster that was disabled by Proc-V2 AM in HBASE-14614 (Stephen Yuan Jiang)
2017-07-05 09:56:30 -07:00
tedyu
4453472282
HBASE-18312 Ineffective handling of FileNotFoundException in FileLink.tryOpen()
2017-07-05 08:24:37 -07:00
anastas
2843214857
HBASE-18010: CellChunkMap integration into CompactingMemStore. Continuation of the previous commit
2017-07-05 12:56:45 +03:00
anastas
8ac4308411
HBASE-18010: CellChunkMap integration into CompactingMemStore. CellChunkMap usage is currently switched off by default. New tests are included. Review comments addressed.
2017-07-05 12:35:21 +03:00
Guanghao Zhang
e71e5ece88
HBASE-18297 Provide a AsyncAdminBuilder to create new AsyncAdmin instance
2017-07-05 09:18:02 +08:00
Samir Ahmic
63607800cd
HBASE-18310 LoadTestTool unable to write data
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-07-04 13:41:32 -07:00
samirMop
193a980338
HBASE-15943 Add page displaying JVM process metrics
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-03 21:35:27 -07:00
Peter Somogyi
f2731fc241
HBASE-18264 Update pom plugins
...
Update plugins in main and subprojects
Unified versions to use variable instead of direct values
Affected plugins:
- apache-rat-plugin 0.11 -> 0.12
- asciidoctor-maven-plugin 1.5.2.1 -> 1.5.5
- asciidoctorj-pdf 1.5.0-alpha.6 -> 1.5.0-alpha.15
- build-helper-maven-plugin 1.9.1 -> 3.0.0
- buildnumber-maven-plugin 1.3 -> 1.4
- exec-maven-plugin 1.2.1/1.4.0 -> 1.6.0
- extra-enforcer-rules 1.0-beta-3 -> 1.0-beta-6
- findbugs-maven-plugin 3.0.0 -> 3.0.4
- jamon-maven-plugin 2.4.1 -> 2.4.2
- maven-bundle-plugin 2.5.3 -> 3.3.0
- maven-compiler-plugin 3.2/3.5.1 -> 3.6.1
- maven-eclipse-plugin 2.9 -> 2.10
- maven-shade-plugin 2.4.1 -> 3.0.0
- maven-surefire-plugin 2.18.1 -> 2.20
- maven-surefire-report-plugin 2.7.2 -> 2.20
- scala-maven-plugin 3.2.0 -> 3.2.2
- spotbugs 3.1.0-RC1 -> 3.1.0-RC3
- wagon-ssh 2.2 -> 2.12
- xml-maven-plugin 1.0 -> 1.0.1
- maven-assembly-plugin 2.4 -> 2.6(inherited)
- maven-dependency-plugin 2.4 -> 2.10 (inherited)
- maven-enforcer-plugin 1.3.1 -> 1.4.1 (inherited)
- maven-javadoc-plugin 2.10.3 -> 2.10.4 (inherited)
- maven-resources-plugin 2.7 (inherited)
- maven-site-plugin 3.4 -> 3.5.1 (inherited)
Change-Id: I84539f555be498dff18caed1e3eea1e1aeb2143a
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-03 19:42:46 -07:00
Guanghao Zhang
14f0423b58
HBASE-18283 Provide a construct method which accept a thread pool for AsyncAdmin
2017-07-04 09:51:41 +08:00
Sean Busbey
fc973d0918
HBASE-17995 improve log messages during snapshot tests.
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-30 09:42:14 -05:00
Sean Busbey
74c5742024
HBASE-18288 Declared dependency on specific javax.ws.rs.
...
Signed-off-by: Huaxiang Sun <huaxiangsun@apache.org>
2017-06-30 08:41:50 -05:00
zhangduo
21653c31d9
HBASE-16585 Rewrite the delegation token tests with Parameterized pattern
2017-06-30 20:40:23 +08:00
Michael Stack
92f33ad076
Revert "HBASE-18229: create new Async Split API to embrace AM v2"
...
TestShell is failing.
This reverts commit 5be05e90d4
.
2017-06-30 03:30:01 -07:00
Michael Stack
73c225a071
HBASE-16192 Fix the potential problems in TestAcidGuarantees (Colin Ma)
2017-06-30 03:16:46 -07:00
Yi Liang
5be05e90d4
HBASE-18229: create new Async Split API to embrace AM v2
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-29 16:20:18 -07:00
张世彬10204932
07c1e18a55
HBASE-17982 correct spelling error of 'occured'
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-29 15:09:49 -07:00
Umesh Agashe
9189b88647
HBASE-18292 Fixed flaky test hbase.master.locking.TestLockProcedure#testLocalMasterLockRecovery
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-28 21:32:46 -07:00
Umesh Agashe
038d7e8984
HBASE-18278 Enable and Fix for unit test hbase.master.procedure.TestServerCrashProcedure#testRecoveryAndDoubleExecutionOnRsWithMeta
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-28 16:01:55 -07:00
Ben-Epstein
aef674264e
HBASE-18281 created private static pattern matcher for performance
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-28 11:32:10 -07:00
Kahlil Oppenheimer
8da6f069c3
HBASE-18164 Fast locality computation in balancer - addendum handles NaN
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-06-27 14:57:53 -05:00
Sean Busbey
141482512a
Revert "HBASE-18164 Fast locality computation in balancer - addendum handles NaN"
...
This reverts commit 35693f0583
.
early commit missed some review feedback.
2017-06-27 14:57:53 -05:00
tedyu
293cb87d52
HBASE-18161 Incremental Load support for Multiple-Table HFileOutputFormat (Densel Santhmayor)
2017-06-27 12:31:55 -07:00
张世彬10204932
389e142eae
HBASE-18265 Correct the link unuseful in regionServer's region state UI
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-06-27 10:38:46 +08:00
Kahlil Oppenheimer
35693f0583
HBASE-18164 Fast locality computation in balancer - addendum handles NaN
...
-Added new LocalityCostFunction and LocalityCandidateGenerator that
cache localities of every region/rack combination and mappings of every
region to its most local server and to its most local rack.
-Made LocalityCostFunction incremental so that it only computes locality
based on most recent region moves/swaps, rather than recomputing the
locality of every region in the cluster at every iteration of the
balancer
-Changed locality cost function to reflect the ratio of:
(Current locality) / (Best locality possible given current cluster)
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-26 12:38:43 -07:00
Guanghao Zhang
2d781aa15c
HBASE-18234 Revisit the async admin api
2017-06-26 17:27:09 +08:00
David Harju
0e8e176ebd
HBASE-18023 Log multi-* requests for more than threshold number of rows
...
Signed-off-by: Josh Elser <elserj@apache.org>
2017-06-24 15:23:51 -04:00
张世彬10204932
96aca6b153
HBASE-18263 Resolve NPE in backup Master UI when accessing procedures.jsp
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-24 05:20:05 -07:00
Ramkrishna
d092008766
HBASE-18221 Switch from pread to stream should happen under HStore's
...
reentrant lock (Ram)
2017-06-23 10:32:29 +05:30
Umesh Agashe
7cc458e129
HBASE-18254 ServerCrashProcedure checks and waits for meta initialized, instead should check and wait for meta loaded
...
After enabling test hbase.master.procedure.TestServerCrashProcedure#testRecoveryAndDoubleExecutionOnRsWithMeta, this bug is found in ServerCrashProcedure
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-21 21:57:46 -07:00
Andrew Purtell
3489a1b821
HBASE-18235 LoadBalancer.BOGUS_SERVER_NAME should not have a bogus hostname
...
We deliberately use 'localhost' instead of a bogus hostname for
LoadBalancer.BOGUS_SERVER_NAME so the operation will fail fast.
2017-06-21 14:37:47 -07:00
QilinCao
00f657fbeb
HBASE-18252 Resolve BaseLoadBalancer bad practice warnings
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-21 10:12:23 -07:00
tedyu
83be50c2ab
HBASE-18226 Disable reverse DNS lookup at HMaster and use the hostname provided by RegionServer (Duo Xu)
2017-06-20 21:07:45 -07:00
Josh Elser
5b485d14cd
HBASE-17752 Shell command to list snapshot sizes WRT quotas
2017-06-20 14:17:00 -04:00
Ashish Singhi
af466bf722
HBASE-18212 reduce log level for unbuffer warning.
...
In Standalone mode with local filesystem HBase logs Warning message:Failed to invoke 'unbuffer' method in class org.apache.hadoop.fs.FSDataInputStream
Signed-off-by: Umesh Agashe <uagashe@cloudera.com>
Signed-off-by: Sean Busbey <busbey@apache.org>
2017-06-20 01:06:47 -05:00
Kahlil Oppenheimer
5224064d4d
HBASE-18164 Fast locality computation in balancer
...
-Added new LocalityCostFunction and LocalityCandidateGenerator that
cache localities of every region/rack combination and mappings of every
region to its most local server and to its most local rack.
-Made LocalityCostFunction incremental so that it only computes locality
based on most recent region moves/swaps, rather than recomputing the
locality of every region in the cluster at every iteration of the
balancer
-Changed locality cost function to reflect the ratio of:
(Current locality) / (Best locality possible given current cluster)
Signed-off-by: Sean Busbey <busbey@apache.org>
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-06-20 01:06:47 -05:00
Pankaj Kumar
ce1ce728c6
HBASE-18180 Possible connection leak while closing BufferedMutator in TableOutputFormat
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-18 19:46:47 -07:00
Guanghao Zhang
c6e71f159c
HBASE-18170 Refactor ReplicationSourceWALReaderThread
2017-06-19 09:26:45 +08:00
Umesh Agashe
d49208b056
HBASE-18104 AMv2: Enabled aggregation of RPCs
...
Unit test (TestAssignmentManager) uses mock which always aggregates. So added trace level log message and verified manually on a single node cluster.
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-16 23:53:39 -07:00
Umesh Agashe
b02d3d9ed5
HBASE-18227 Fixed unit test hbase.coprocessor.TestCoprocessorMetrics#testRegionObserverAfterRegionClosed
...
Calling closeRegion() directly on remote server is not supported post-AMv2. Calling unassign() on master
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-16 20:19:38 -07:00
Josh Elser
c7a64a8313
HBASE-18225 Avoid toString() on an array
2017-06-16 08:45:31 -07:00
Ramkrishna
c20d9cb1a2
HBASE-18220 - Addendum as per Duo suggestion for readability (Ram)
2017-06-16 12:34:08 +05:30
Ramkrishna
020f520d17
HBASE-18220 Compaction scanners need not reopen storefile scanners while
...
trying to switch over from pread to stream (Ram)
2017-06-16 11:03:04 +05:30
Michael Stack
dd1d81ef5a
HBASE-18004 getRegionLocations needs to be called once in
...
ScannerCallableWithReplicas#call() (Huaxiang Sun)
2017-06-15 13:41:01 -07:00
Michael Stack
c2eebfdb61
HBASE-18166 [AMv2] We are splitting already-split files v2 Address Stephen Jiang reivew comments; ADDENDUM TO FIX COMPILE
2017-06-15 11:40:13 -07:00
Michael Stack
f64512bee1
HBASE-18166 [AMv2] We are splitting already-split files v2 Address Stephen Jiang reivew comments
2017-06-15 10:26:03 -07:00
tedyu
8b36da1108
HBASE-18209 Include httpclient / httpcore jars in build artifacts
2017-06-14 20:09:42 -07:00
Andrew Purtell
50e28d62a6
HBASE-18219 Fix typo in constant HConstants.HBASE_CLIENT_MEAT_REPLICA_SCAN_TIMEOUT
2017-06-14 16:02:38 -07:00
Vincent
384e308e9f
HBASE-18137 Replication gets stuck for empty WALs
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-06-10 10:30:40 -07:00
Ashu Pachauri
eb2dc5d2a5
HBASE-18192: Replication drops recovered queues on region server shutdown
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-09 19:52:58 -07:00
Josh Elser
e5ea457054
HBASE-17748 Include HBase snapshots in space quotas
...
Introduces a new Chore in the Master which computes the size
of the snapshots included in a cluster. The size of these
snapshots are included in the table's which the snapshot was created
from HDFS usage.
Includes some test stabilization, trying to make the tests more
deterministic by ensuring we observe stable values as we know
that those values are mutable. This should help avoid problems
where size reports are delayed and we see an incomplete value.
2017-06-09 18:43:18 -04:00
Ashu Pachauri
7b40f4f3ec
HBASE-18092: Removing a peer does not properly clean up the ReplicationSourceManager state and metrics
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-09 08:23:04 -07:00
Chia-Ping Tsai
30817b922e
HBASE-18193 Master web UI presents the incorrect number of regions
2017-06-09 14:44:51 +08:00
Umesh Agashe
61839d7143
HBASE-18195 Removed redundant single quote from start message for HMaster and HRegionServer
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-08 22:21:00 -07:00
Gary Helmling
a558d6c57a
HBASE-18141 Regionserver fails to shutdown when abort triggered during RPC call
2017-06-08 17:20:29 -07:00
Yi Liang
112bff4ba0
HBASE-18109: Assign system tables first
...
This issue adds comments and a sort so system tables are queued first
(which will ensure they go out first). This should be good enough
along w/ existing scheduling mechanisms to ensure system/meta get
assigned first.
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-08 13:24:28 -07:00
Chia-Ping Tsai
72cb7d97cc
HBASE-18008 Any HColumnDescriptor we give out should be immutable
2017-06-08 23:26:08 +08:00
Alex Araujo
3f891a66ca
HBASE-18184 Add hbase-hadoop2-compat jar as MapReduce dependency
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-06-07 14:25:55 -07:00
Chia-Ping Tsai
4a1529c89b
HBASE-18158 Two running in-memory compaction threads may lose data for flushing
2017-06-07 17:57:32 +08:00
Ramkrishna
1d3252eb59
HBASE-17849 PE tool random read is not totally random (Ram)
2017-06-07 11:28:09 +05:30
Michael Stack
929c9dab14
HBASE-18181 Move master branch to version 3.0.0-SNAPSHOT post creation of branch-2
2017-06-06 22:04:39 -07:00
huzheng
0d0c330401
HBASE-17678 FilterList with MUST_PASS_ONE may lead to redundant cells returned
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-06-06 21:08:12 -07:00
Phil Yang
2f1923a823
HBASE-15576 Scanning cursor to prevent blocking long time on ResultScanner.next()
2017-06-07 11:32:04 +08:00
tedyu
80e15aac21
HBASE-16392 Backup delete fault tolerance (Vladimir Rodionov)
2017-06-06 20:29:13 -07:00
Chia-Ping Tsai
da3c023635
HBASE-18145 The flush may cause the corrupt data for reading
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-06-06 18:02:43 -07:00
Andrew Purtell
858bccfcb8
HBASE-18132 Low replication should be checked in period in case of datanode rolling upgrade (Allan Yang)
2017-06-06 17:21:21 -07:00
Ashish Singhi
1950acc67a
HBASE-9393 Hbase does not closing a closed socket resulting in many CLOSE_WAIT
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-06-06 12:52:46 -07:00
zhangduo
ee0f148c73
HBASE-18038 Rename StoreFile to HStoreFile and add a StoreFile interface for CP
2017-06-06 20:36:38 +08:00
Umesh Agashe
07c38e7165
HBASE-16549 Added new metrics for AMv2 procedures
...
Following AMv2 procedures are modified to override onSubmit(), onFinish() hooks provided by HBASE-17888 to do
metrics calculations when procedures are submitted and finshed:
* AssignProcedure
* UnassignProcedure
* MergeTableRegionProcedure
* SplitTableRegionProcedure
* ServerCrashProcedure
Following metrics is collected for each of the above procedure during lifetime of a process:
* Total number of requests submitted for a type of procedure
* Histogram of runtime in milliseconds for successfully completed procedures
* Total number of failed procedures
As we are moving away from Hadoop's metric2, hbase-metrics-api module is used for newly added metrics.
Modified existing tests to verify count of procedures.
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-05 17:14:14 -07:00
Michael Stack
e65d8653e5
HBASE-18155 TestMasterProcedureWalLease is flakey
2017-06-03 12:55:18 -07:00
Enis Soztutar
118429cbac
HBASE-15160 Put back HFile's HDFS op latency sampling code and add metrics for monitoring (Yu Li and Enis Soztutar)
2017-06-02 17:41:53 -07:00
tedyu
ef46debde8
HBASE-18005 read replica: handle the case that region server hosting both primary replica and meta region is down (huaxiang sun)
2017-06-02 09:29:51 -07:00
Guanghao Zhang
549171465d
HBASE-18111 Replication stuck when cluster connection is closed
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-06-01 15:12:15 -07:00
Michael Stack
e1f3c89b3b
HBASE-18143 [AMv2] Backoff on failed report of region transition quickly goes to astronomical time scale
...
M hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Rather than compound the pause time, just have backoff multiple the
original INIT_PAUSE_TIME_MS so we go 1, 2, 5, 10, ... etc. rather than
1, 2, 30, 600... and so on.
Minor fixup around logging so report of failed transition is no longer
reported as trace-level.
2017-06-01 13:01:36 -07:00