huzheng
f54cc1ca51
HBASE-18160 Fix incorrect logic in FilterList.filterKeyValue
...
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-09-26 11:46:01 +08:00
Josh Elser
1540483135
HBASE-18807 Remove protobuf references from CP quota API calls
2017-09-23 22:06:51 -04:00
Abhishek Singh Chouhan
21a61ad597
HBASE-18796 Addendum: Scanner returning null incorrectly during locateRegionInMeta retry, resulting in incorrect TableNotFoundException
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-09-22 10:20:29 -07:00
Sean Busbey
e39359986c
HBASE-18731 [compat 1-2] Mark protected methods of QuotaSettings that touch Protobuf internals as IA.Private
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-21 14:00:10 -05:00
Abhishek Singh Chouhan
29a3ff3037
HBASE-18796 Admin#isTableAvailable returns incorrect result before daughter regions are opened
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-09-19 15:06:15 -07:00
Yu Li
b56760c732
HBASE-15931 Add log for long-running tasks in AsyncProcess (addendum)
2017-09-19 09:54:51 +08:00
Chia-Ping Tsai
81d2927e4c
HBASE-17980 (Addendum) make UnmodifyableHRegionInfo deprecated
2017-09-16 17:05:17 +08:00
brandboat
58988cb53c
HBASE-17980 Any HRegionInfo we give out should be immutable
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-14 14:25:07 -07:00
Michael Stack
780be085ed
HBASE-14998 Unify synchronous and asynchronous methods in Admin and cleanup
...
This is based on patch sent me by Balazs Meszaros. The good stuff in
here is from him. This patch does less than his ambition. It changes
Admin class only. Can work on making AsyncAdmin cohere in a follow-on.
* Deprecates getAlterStatus. Everywhere else we talk of 'modify' rather
'alter' and should use Future returned from async instead.
* isTableAvailable(TableName, byte [][]) has been deprecated to be
removed; use the overrie instead. This is a weird method.
* Changed listTableDescriptor to getDescriptor.
* Renamed other like methods to have same pattern (deprecating the old):
balancer => balance
setBalancerRunning => balancerSwitch
setNormalizerRunning => normalizerSwitch
enableCatalogJanitor => catalogJanitorSwitch
setCleanerChoreRunning => cleanerChoreSwitch
setSplitOrMergeEnabled => splitOrMergeEnabledSwitch
* Renamed (with deprecation of old) runCatalogScan => runCatalogJanitor.
* Reviewed generated javadoc and made some edits; purged reference to
hbase issues from our API, fixed param names, etc.
* Made all the enable services methods have same pattern.
* Renamed takeSnapshotAsync as snapshotAsync (with deprecation of old)
* Renamed execProcedureWithRet as execProcedureWithReturn (with
deprecation)
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-13 17:19:25 -07:00
Reid Chan
5d6b20ad18
HBASE-18609 Apply ClusterStatus#getClusterStatus(EnumSet<Option>) in code base
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-14 00:54:16 +08:00
Guangxu Cheng
93f5624cb9
HBASE-18789 Displays the reporting interval of each RS on the Master page
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-09-13 05:51:18 -07:00
Sean Busbey
4b124913f0
HBASE-17823 Migrate to Apache Yetus Audience Annotations
...
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-09-12 20:53:30 -05:00
Guangxu Cheng
cfdbdd2066
HBASE-18131 Add an hbase shell command to clear deadserver list in ServerManager
...
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-09-12 08:29:16 -07:00
Umesh Agashe
58bfa13075
HBASE-13271 Added test for batch operations with validation errors. Updated Javadoc for batch methods.
...
Javadoc for following methods are updated:
* Table.put(List<Put> puts)
* Table.delete(List<Delete> deletes)
Added @apiNote for delete regarding input list will not be modied in version 3.0.0
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-11 20:05:34 -07:00
Yun Zhao
90c15bae8d
HBASE-18662 The default values for many configuration items in the code are not consistent with hbase-default.xml
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-11 21:11:58 +08:00
Chia-Ping Tsai
2359ef518a
Revert "HBASE-18662 The default values for many configuration items in the code are not consistent with hbase-default.xml"
...
need more checks
This reverts commit 6035035707
.
2017-09-09 22:54:38 +08:00
Yun Zhao
6035035707
HBASE-18662 The default values for many configuration items in the code are not consistent with hbase-default.xml
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-09 18:14:34 +08:00
Chia-Ping Tsai
64fe24e687
HBASE-18783 Declare the builder of ClusterStatus as IA.Private, and remove the Writables from ClusterStatus
2017-09-09 15:51:32 +08:00
Reid Chan
77ca743d09
HBASE-18621 Refactor ClusterOptions before applying to code base
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-09 03:31:28 +08:00
Balazs Meszaros
359fed7b4b
HBASE-18106 Redo ProcedureInfo and LockInfo
...
Main changes:
- ProcedureInfo and LockInfo were removed, we use JSON instead of them
- Procedure and LockedResource are their server side equivalent
- Procedure protobuf state_data became obsolate, it is only kept for
reading previously written WAL
- Procedure protobuf contains a state_message field, which stores the internal
state messages (Any type instead of bytes)
- Procedure.serializeStateData and deserializeStateData were changed slightly
- Procedures internal states are available on client side
- Procedures are displayed on web UI and in shell in the following jruby format:
{ ID => '1', PARENT_ID = '-1', PARAMETERS => [ ..extra state information.. ] }
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-08 10:24:04 -07:00
Michael Stack
c90602ef67
HBASE-18779 Move CompareOperator to hbase-client module
2017-09-08 10:19:10 -07:00
Michael Stack
b8e0a8396f
HBASE-18769 Make CompareFilter use generic CompareOperator instead of
...
internal enum
2017-09-08 10:06:56 -07:00
Apekshit Sharma
6752eba68f
HBASE-14997 Move compareOp and Comparators out of filter to client package
...
Add a new generic CompareOperator enum and use it instead of the filter
CompareOp enum everywhere BUT inside CompareFilter.
2017-09-07 10:03:45 -07:00
tedyu
df34300cd3
HBASE-15410 Utilize the max seek value when all Filters in MUST_PASS_ALL FilterList return SEEK_NEXT_USING_HINT
2017-09-07 04:07:09 -07:00
Umesh Agashe
5d60123f3e
HBASE-18674 upgrading to commons-lang3
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-05 09:46:10 -07:00
Chia-Ping Tsai
32ddb1f604
HBASE-18736 Cleanup the HTD/HCD for Admin
2017-09-04 16:59:36 +08:00
cuijianwei
476973654c
HBASE-15497 Incorrect javadoc for atomicity guarantee of Increment and Append
2017-09-04 16:20:45 +08:00
Chia-Ping Tsai
0a3a9a5417
Revert "HBASE-15497 Incorrect javadoc for atomicity guarantee of Increment and Append"
...
Wrong author information
This reverts commit 6e3ffd03e7
.
2017-09-04 16:19:44 +08:00
cuijianwei
6e3ffd03e7
HBASE-15497 Incorrect javadoc for atomicity guarantee of Increment and Append
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-04 16:13:36 +08:00
zhangduo
9e53f2927b
HBASE-18699 Copy LoadIncrementalHFiles to another package and mark the old one as deprecated
2017-09-03 19:49:42 +08:00
Chia-Ping Tsai
8a800c3f19
HBASE-18721 Cleanup unused configs and private declaration
2017-08-31 23:40:37 +08:00
Chia-Ping Tsai
d374a01415
HBASE-18306 Get rid of TableDescriptor#getConfiguration
2017-08-30 11:23:12 +08:00
Sean Busbey
bc5478f947
HBASE-18577 test well-formed-ness of our client jars.
...
* Removes transitive hadoop deps from hbase-client that we don't use
* removes curator-recipes dep from hbase-client that we don't use
* removes jetty-util transitive from hbase-client that we don't use
* moves junit from compile to test scope for hbase-client
* adds an IT that checks the contents of jars
* excludes our server side web apps and related deps (jaxb, jersey, jetty) from shaded jars
* excludes proto source files from shaded jars
* relocates codahale metrics, commons-crypto, and curator
* finishes relocating jets3t
* moves logging backends to optional in shaded artifacts
* updates maven dependency plugin
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-29 11:58:33 -05:00
Peter Somogyi
b2a304ff84
HBASE-18665 ReversedScannerCallable invokes getRegionLocations incorrectly
...
The way how ReversedScannerCallable#prepare called getRegionLocations was faulty.
Calling prepare with force reload used cache and vica versa.
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-29 07:53:50 -07:00
Andy Yang
c91af3e7a4
HBASE-3935 HServerLoad.storefileIndexSizeMB should be changed to storefileIndexSizeKB
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-29 13:11:00 +08:00
Michael Stack
47a5614edd
Revert "HBASE-18674 upgrading to commons-lang3"
...
Premature push
This reverts commit 5dacc85122
.
2017-08-28 16:41:34 -07:00
Umesh Agashe
5dacc85122
HBASE-18674 upgrading to commons-lang3
2017-08-28 15:57:12 -07:00
Chia-Ping Tsai
d63a287bfd
HBASE-18519 Use builder pattern to create cell
2017-08-28 14:14:49 +08:00
Chia-Ping Tsai
8f290c35b7
HBASE-18691 [compat 1-2] HCD remove and removeConfiguration change return type
2017-08-27 18:58:35 +08:00
Michael Stack
6859d4e207
HBASE-18687 Add @since 2.0.0 to new classes; AMENDMENT
2017-08-25 14:14:51 -07:00
Michael Stack
e62fdd9db4
Revert "So far -- fix this message"
...
Revert miscommit
This reverts commit 3bc64dac95
.
2017-08-25 14:14:05 -07:00
Michael Stack
20d272bce5
HBASE-18687 Add @since 2.0.0 to new classes
2017-08-25 13:12:30 -07:00
Michael Stack
3bc64dac95
So far -- fix this message
2017-08-25 13:12:30 -07:00
Huaxiang Sun
2e87396236
Revert "HBASE-17249 Get/Scan's setTimeRange/setColumnFamilyTimeRange can take the TimeRange reference as the parameter instead of creating a new setColumnFamilyTimeRange instance. (huaxiang sun)"
...
This reverts commit 61220e4d7c
.
2017-08-25 10:53:18 -07:00
zhangduo
d12eb7a4aa
HBASE-18347 Implement a BufferedMutator for async client
2017-08-24 15:55:43 +08:00
Chia-Ping Tsai
25ee5f7f84
HBASE-18546 Always overwrite the TS for Append/Increment unless no existing cells are found
2017-08-24 14:35:22 +08:00
Chia-Ping Tsai
25ff9d0bbf
HBASE-18503 Change ***Util and Master to use TableDescriptor and ColumnFamilyDescriptor
2017-08-24 13:03:38 +08:00
Chia-Ping Tsai
12f2b02a80
Revert "HBASE-18503 Change ***Util and Master to use TableDescriptor and ColumnFamilyDescriptor"
...
Wrong author information
This reverts commit b03348630c
.
2017-08-24 13:02:11 +08:00
Chia-Ping Tsai
b03348630c
HBASE-18503 Change ***Util and Master to use TableDescriptor and ColumnFamilyDescriptor
2017-08-24 12:56:58 +08:00
Apekshit Sharma
26e6c2ceb4
HBASE-17442 Move most of the replication related classes from hbase-client to new hbase-replication package. (Guanghao Zhang).
...
Change-Id: Ie0e24cc617ab4bf56de8b1747062d1b78a5d4669
2017-08-23 14:41:58 -07:00
Michael Stack
7b8cf37c3b
HBASE-18660 Remove duplicate code from the checkAndPut method in HTable (Yun Zhao)
2017-08-22 21:19:24 -07:00
Mike Drob
51d458872d
HBASE-12349 Add custom error-prone module
2017-08-22 16:38:17 -05:00
Michael Stack
05f07f692b
HBASE-18645 Loads of tests timing out.... Revert "HBASE-14498 Master stuck in infinite loop when all Zookeeper servers are unreachable"
...
This reverts commit 1ab6882f62
.
2017-08-22 01:41:18 -07:00
tedyu
e2532ecd1e
HBASE-18617 FuzzyRowKeyFilter should not modify the filter pairs (vinisha)
2017-08-18 09:10:20 -07:00
Pankaj Kumar
1ab6882f62
HBASE-14498 Master stuck in infinite loop when all Zookeeper servers are unreachable
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-17 19:02:39 -07:00
Guanghao Zhang
092dc6de84
HBASE-18608 AsyncConnection should return AsyncAdmin interface instead of the implemenation
2017-08-17 09:47:39 +08:00
Xiang Li
4c3a64db13
HBASE-18573 Update Append and Delete to use Mutation#getCellList(family)
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-08-16 14:50:46 -07:00
zhangduo
4c74a73d57
HBASE-18553 Expose scan cursor for asynchronous scanner
2017-08-16 21:04:57 +08:00
Ashish Singhi
b0878184a3
HBASE-18437 Revoke access permissions of a user from a table does not work as expected
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-08-15 22:29:16 -07:00
Guanghao Zhang
59ffb6119b
HBASE-18598 AsyncNonMetaRegionLocator use FIFO algorithm to get a candidate locate request
2017-08-16 13:08:40 +08:00
Lars Francke
70c4f78ce0
HBASE-18599 Add missing @Deprecated annotations
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-15 10:44:50 -07:00
Deon Huang
d37266f63c
HBASE-2631 Decide between InMB and MB as suffix for field names in ClusterStatus objects
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-15 21:42:31 +08:00
brandboat
d4317c80e6
HBASE-18582 Correct the docs for Mutation#setCellVisibility
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-15 21:37:55 +08:00
Mike Drob
0b26ccdaa1
HBASE-18303 Clean up @Parameter boilerplate
2017-08-14 14:23:24 -05:00
Jerry He
096dac2e83
HBASE-18522 Add RowMutations support to Batch
2017-08-14 10:39:46 -07:00
Chia-Ping Tsai
e2b797be39
HBASE-18528 DON'T allow user to modify the passed table/column descriptor
2017-08-14 14:02:30 +08:00
Michael Stack
c6ac04ab39
HBASE-18271 Shade netty Purge mention of netty-all.
...
Add in hbase-thirdparty hbase-shaded-netty instead.
s/io.netty/org.apache.hadoop.hbase.shaded.io.netty/ everywhere in hbase.
Also set a system property when running tests and when starting
hbase; required by netty so can find the relocation files in the
bundled .so.
2017-08-13 12:46:21 -07:00
Reid Chan
923195c39e
HBASE-15511 ClusterStatus should be able to return responses by scope
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-14 01:02:39 +08:00
Xiang Li
173dce7347
HBASE-18555: Remove redundant familyMap.put() from addxxx() of sub-classes of Mutation and Query
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-08-11 22:49:38 -07:00
Guanghao Zhang
cabdbf181a
HBASE-18500 Performance issue: Don't use BufferedMutator for HTable's put method
2017-08-11 16:33:35 +08:00
Guanghao Zhang
4dd24c52b8
HBASE-17125 Inconsistent result when use filter to read data
2017-08-11 10:58:00 +08:00
zhangduo
624652373e
HBASE-18489 Expose scan cursor in RawScanResultConsumer
2017-08-10 10:11:40 +08:00
no_apologies
a7014ce46c
HBASE-18515 Introduce Delete.add as a replacement for Delete#addDeleteMarker
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-07 11:05:23 +08:00
Guanghao Zhang
5915d73a70
HBASE-18485 Performance issue: ClientAsyncPrefetchScanner is slower than ClientSimpleScanner
2017-08-07 10:35:19 +08:00
Benedict Jin
fe890b70ac
HBASE-18470 Remove the redundant comma from RetriesExhaustedWithDetailsException#getDesc
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-03 15:42:53 +08:00
Robert Yokota
855dd48f0a
HBASE-16893 Use Collection.removeIf instead of Iterator.remove in DependentColumnFilter
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-03 13:38:52 +08:00
Apekshit Sharma
de696cf6b6
HBASE-18231 Deprecate Admin#closeRegion*() commands in favor of Admin#unassign().
...
Other changes:
- Update corresponding tests in TestAdmin2. Removed tests centered around serverName part of old functions.
- Remove dead functions from ProtobufUtil and ServerManager
- Rename closeRegion* functions in HBTU to unassignRegion*
Change-Id: Ib9bdeb185e10750daf652be0bb328306accb73ab
2017-08-02 15:19:06 -07:00
Michael Stack
7a6de1bd42
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 generated
on the fly now as part of mainline build.
2017-08-02 09:33:20 -07:00
Yi Liang
00c1b56665
HBASE-18465: [AMv2] remove old split region code that is no longer needed
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-30 15:24:58 -05:00
anoopsamjohn
5c47cb5d49
HBASE-18473 VC.listLabels() erroneously closes any connection.
2017-07-30 14:49:38 +05:30
Yu Li
1e49decfa2
HBASE-18441 ZookeeperWatcher#interruptedException should throw exception
2017-07-26 15:19:11 +08:00
Malcolm Taylor
421029d0c7
HBASE-18434 Address some alerts raised by lgtm.com
...
Signed-off-by: Ramkrishna <ramkrishna.s.vasudevan@intel.com>
2017-07-26 10:00:23 +05:30
Andrew Purtell
2fd8e824d5
HBASE-18054 log when we add/remove failed servers in client (Ali)
2017-07-25 18:53:09 -07:00
张世彬10204932
d7febd54da
HBASE-18323 Remove multiple ACLs for the same user in kerberos
...
Signed-off-by: Josh Elser <elserj@apache.org>
2017-07-25 18:10:50 -04:00
Phil Yang
1ac4152b19
HBASE-15968 New behavior of versions considering mvcc and ts rather than ts only
2017-07-25 15:00:36 +08:00
Yi Liang
e9d8a7b6d5
HBASE-18107: [AMv2] Remove DispatchMergingRegionsRequest & DispatchMergingRegions
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-23 10:44:34 +01:00
Mike Drob
317ce73963
HBASE-18433 Convenience method for creating simple ColumnFamilyDescriptor
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-07-22 23:42:33 +08:00
rgidwani
ec3cb19664
HBASE-15816 Provide client with ability to set priority on Operations
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-07-21 17:12:16 -07:00
Michael Stack
890d92a90c
HBASE-17908 Upgrade guava
...
Pull in guava 22.0 by using the shaded version up in new hbase-thirdparty project.
In poms, exclude guava everywhere except on hadoop-common. Do this so
we minimize transitive includes. hadoop-common is needed because hadoop
Configuration uses guava doing preconditions.
Everywhere we used guava, instead use shaded so fix a load of imports.
Stopwatch API changed as did hashing and toStringHelper which is now
in MoreObjects class. Otherwise, minimal changes to come up on 22.0
2017-07-21 15:28:08 +01:00
Chia-Ping Tsai
7941b83aaf
HBASE-18420 Some methods of Admin don't use ColumnFamilyDescriptor
2017-07-21 19:14:33 +08:00
Andrew Purtell
01db60d65b
HBASE-18330 NPE in ReplicationZKLockCleanerChore
2017-07-19 15:46:08 -07:00
Phil Yang
6b7ebc019c
HBASE-18390 Sleep too long when finding region location failed
2017-07-19 11:34:57 +08: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
Guanghao Zhang
81ffd6a13e
HBASE-18342 Add coprocessor service support for async admin
2017-07-14 11:53:52 +08: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
Chia-Ping Tsai
cc4301ca08
HBASE-18268 Eliminate the findbugs warnings for hbase-client
2017-07-12 03:07:17 +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
tedyu
7d007eac98
HBASE-17705 Procedure execution must fail fast if procedure is not registered (Vladimir Rodionov)
2017-07-10 09:04:56 -07:00
Guanghao Zhang
1ddcc07d65
HBASE-18318 Implement updateConfiguration/stopMaster/stopRegionServer/shutdown methods
2017-07-10 13:41:19 +08:00