Chia-Ping Tsai
1ee4923730
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 89f978beb8
.
2017-09-09 22:55:33 +08:00
Yun Zhao
89f978beb8
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:11:14 +08:00
Chia-Ping Tsai
26b009f1d1
HBASE-18783 Declare the builder of ClusterStatus as IA.Private, and remove the Writables from ClusterStatus
2017-09-09 15:55:21 +08:00
Reid Chan
6970c1e9eb
HBASE-18621 Refactor ClusterOptions before applying to code base
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-09 03:38:42 +08:00
Balazs Meszaros
c48dc02b76
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 11:56:28 -07:00
Michael Stack
f08dd5d342
HBASE-18779 Move CompareOperator to hbase-client module
2017-09-08 10:18:32 -07:00
Michael Stack
7f70b6c8e3
HBASE-18769 Make CompareFilter use generic CompareOperator instead of
...
internal enum
2017-09-08 10:05:51 -07:00
Apekshit Sharma
56cba5e450
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 11:03:22 -07:00
tedyu
743f3ae221
HBASE-15410 Utilize the max seek value when all Filters in MUST_PASS_ALL FilterList return SEEK_NEXT_USING_HINT
2017-09-07 08:15:29 -07:00
Umesh Agashe
bd219c0fb8
HBASE-18674 upgrading to commons-lang3
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-05 09:46:49 -07:00
Chia-Ping Tsai
0e01544838
HBASE-18736 Cleanup the HTD/HCD for Admin
2017-09-04 17:02:28 +08:00
cuijianwei
a1efda29e9
HBASE-15497 Incorrect javadoc for atomicity guarantee of Increment and Append
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-09-04 16:23:02 +08:00
zhangduo
a37417c254
HBASE-18699 Copy LoadIncrementalHFiles to another package and mark the old one as deprecated
2017-09-03 19:49:47 +08:00
Chia-Ping Tsai
a32642e6f6
HBASE-18721 Cleanup unused configs and private declaration
2017-08-31 23:40:18 +08:00
Chia-Ping Tsai
2f7dcc919d
HBASE-18306 Get rid of TableDescriptor#getConfiguration
2017-08-30 11:26:31 +08:00
Sean Busbey
72bb96076e
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 12:09:25 -05:00
Peter Somogyi
09b036a519
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:54:37 -07:00
Andy Yang
d26e22d75b
HBASE-3935 HServerLoad.storefileIndexSizeMB should be changed to storefileIndexSizeKB
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-29 13:43:27 +08:00
Chia-Ping Tsai
0142c09217
HBASE-18519 Use builder pattern to create cell
2017-08-28 14:19:45 +08:00
Chia-Ping Tsai
13769ab7c1
HBASE-18691 [compat 1-2] HCD remove and removeConfiguration change return type
2017-08-27 19:02:07 +08:00
Michael Stack
34ca89e83e
HBASE-18687 Add @since 2.0.0 to new classes; AMENDMENT
2017-08-25 14:15:51 -07:00
Michael Stack
3e1c598d8e
HBASE-18687 Add @since 2.0.0 to new classes
2017-08-25 13:12:52 -07:00
Huaxiang Sun
f74cf679ec
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 11:19:46 -07:00
zhangduo
1ae9a39011
HBASE-18347 Implement a BufferedMutator for async client
2017-08-24 16:01:30 +08:00
Chia-Ping Tsai
45b20da23b
HBASE-18546 Always overwrite the TS for Append/Increment unless no existing cells are found
2017-08-24 14:40:44 +08:00
Apekshit Sharma
e2ce252b59
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 22:18:26 -07:00
Chia-Ping Tsai
205016ca79
HBASE-18503 Change ***Util and Master to use TableDescriptor and ColumnFamilyDescriptor
2017-08-24 13:01:09 +08:00
Michael Stack
b24e33312a
HBASE-18594 Release hbase-2.0.0-alpha2; ADDENDUM update version from 2.0.0-alpha2 to 2.0.0-alpha3-SNAPSHOT
2017-08-23 11:07:41 -07:00
Michael Stack
9c36c0c52f
HBASE-18660 Remove duplicate code from the checkAndPut method in HTable (Yun Zhao)
2017-08-22 21:19:53 -07:00
Michael Stack
1653b54de9
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:42:27 -07:00
tedyu
22ecb7a7b5
HBASE-18617 FuzzyRowKeyFilter should not modify the filter pairs (vinisha)
2017-08-18 09:12:16 -07:00
Pankaj Kumar
12a7d2bace
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:03:11 -07:00
Guanghao Zhang
c606a565c1
HBASE-18608 AsyncConnection should return AsyncAdmin interface instead of the implemenation
2017-08-17 09:56:06 +08:00
Xiang Li
4057552ed6
HBASE-18573 Update Append and Delete to use Mutation#getCellList(family)
...
Signed-off-by: Jerry He <jerryjch@apache.org>
2017-08-16 14:45:33 -07:00
zhangduo
770312a8c2
HBASE-18553 Expose scan cursor for asynchronous scanner
2017-08-16 21:05:02 +08:00
Guanghao Zhang
b2afd6c24e
HBASE-18598 AsyncNonMetaRegionLocator use FIFO algorithm to get a candidate locate request
2017-08-16 13:41:32 +08:00
Ashish Singhi
1f7873d305
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:15 -07:00
Lars Francke
9de5fd5bb5
HBASE-18599 Add missing @Deprecated annotations
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-15 10:45:40 -07:00
Deon Huang
5073bd6e04
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:43:43 +08:00
brandboat
8775f3027f
HBASE-18582 Correct the docs for Mutation#setCellVisibility
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-15 21:38:08 +08:00
Mike Drob
0ded122b1e
HBASE-18303 Clean up @Parameter boilerplate
2017-08-14 14:24:37 -05:00
Jerry He
cf050de917
HBASE-18522 Add RowMutations support to Batch
2017-08-14 10:43:10 -07:00
Michael Stack
add9974515
HBASE-18595 Set version in branch-2 from 2.0.0-alpha2-SNAPSHOT to 2.0.0-alpha2
2017-08-14 10:28:44 -07:00
Chia-Ping Tsai
fffe4e278d
HBASE-18528 DON'T allow user to modify the passed table/column descriptor
2017-08-14 14:03:19 +08:00
Michael Stack
b4d44467fb
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:50:20 -07:00
Reid Chan
802f602e11
HBASE-15511 ClusterStatus should be able to return responses by scope
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-14 01:08:31 +08:00
Xiang Li
8cebf7f1a8
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:53:37 -07:00
Guanghao Zhang
0c16bb591b
HBASE-18500 Performance issue: Don't use BufferedMutator for HTable's put method
2017-08-11 16:38:08 +08:00
Guanghao Zhang
8197a31bbc
HBASE-17125 Inconsistent result when use filter to read data
2017-08-11 11:04:42 +08:00
zhangduo
64345a5b5a
HBASE-18489 Expose scan cursor in RawScanResultConsumer
2017-08-10 10:11:49 +08:00
Josh Elser
f262548b1f
HBASE-18514 Squash of space quota "phase 2" work
...
Contains the following commits:
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.
HBASE-17752 Shell command to list snapshot sizes WRT quotas
HBASE-17840 Update hbase book to space quotas on snapshots
2017-08-07 16:32:16 -04:00
no_apologies
2c067695dd
HBASE-18515 Introduce Delete.add as a replacement for Delete#addDeleteMarker
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-07 11:13:12 +08:00
Guanghao Zhang
be034c26b4
HBASE-18485 Performance issue: ClientAsyncPrefetchScanner is slower than ClientSimpleScanner
2017-08-07 10:43:03 +08:00
Benedict Jin
ee6ff31c0d
HBASE-18470 Remove the redundant comma from RetriesExhaustedWithDetailsException#getDesc
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-03 15:43:20 +08:00
Robert Yokota
da2cb02422
HBASE-16893 Use Collection.removeIf instead of Iterator.remove in DependentColumnFilter
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-03 13:43:51 +08:00
Apekshit Sharma
41da64a144
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:22:17 -07:00
Michael Stack
ee70b1d2e0
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:42:38 -07:00
Andrew Purtell
5e21e30682
HBASE-18431 Mitigate compatibility concerns between branch-1.3 and branch-1.4
...
We needed to move TableName out of HBase.proto to resolve a cycle after
repairing incompatible changes introduced into branch-1. Carry this forward.
2017-08-01 17:05:14 -07:00
Yi Liang
928137c1ce
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:25:40 -05:00
anoopsamjohn
d776a3caae
HBASE-18473 VC.listLabels() erroneously closes any connection.
2017-07-30 15:38:18 +05:30
Yu Li
3be51a85ba
HBASE-18441 ZookeeperWatcher#interruptedException should throw exception
2017-07-26 15:21:25 +08:00
Malcolm Taylor
7517f93265
HBASE-18434 Address some alerts raised by lgtm.com
...
Signed-off-by: Ramkrishna <ramkrishna.s.vasudevan@intel.com>
2017-07-26 10:03:07 +05:30
Andrew Purtell
e24f7f4675
HBASE-18054 log when we add/remove failed servers in client (Ali)
2017-07-25 18:53:08 -07:00
张世彬10204932
8ad76bbc88
HBASE-18323 Remove multiple ACLs for the same user in kerberos
...
Signed-off-by: Josh Elser <elserj@apache.org>
2017-07-25 18:17:02 -04:00
Phil Yang
86ce7fcbbf
HBASE-15968 New behavior of versions considering mvcc and ts rather than ts only
2017-07-25 15:17:47 +08:00
Yi Liang
9e230dc321
HBASE-18107: [AMv2] Remove DispatchMergingRegionsRequest & DispatchMergingRegions
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-23 10:45:38 +01:00
Mike Drob
254b78c116
HBASE-18433 Convenience method for creating simple ColumnFamilyDescriptor
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-07-22 23:44:02 +08:00
rgidwani
d461bec6c2
HBASE-15816 Provide client with ability to set priority on Operations
...
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2017-07-21 17:12:21 -07:00
Michael Stack
d5c6e11016
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:41:52 +01:00
Chia-Ping Tsai
f8fa04c717
HBASE-18420 Some methods of Admin don't use ColumnFamilyDescriptor
2017-07-21 19:15:09 +08:00
Andrew Purtell
cbf390422b
HBASE-18330 NPE in ReplicationZKLockCleanerChore
2017-07-19 15:46:22 -07:00
Phil Yang
fc362f69cb
HBASE-18390 Sleep too long when finding region location failed
2017-07-19 11:49:58 +08:00
Yi Liang
a4575704bc
HBASE-18229: create new Async Split API to embrace AM v2
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-14 22:26:17 +01:00
Sean Busbey
9cc9404261
HBASE-18187 update version to 2.0.0-alpha-2-SNAPSHOT
2017-07-14 11:20:32 -05:00
Guanghao Zhang
06a0bfc3ba
HBASE-18342 Add coprocessor service support for async admin
2017-07-14 11:55:32 +08:00
Jan Hentschel
97b649eb93
HBASE-18344 Introduce Append.addColumn as a replacement for Append.add
...
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-07-13 20:05:22 +08:00
Chia-Ping Tsai
ca5d8c40b7
HBASE-18268 Eliminate the findbugs warnings for hbase-client
2017-07-12 03:08:05 +08:00
Guanghao Zhang
8a8e299eee
HBASE-18343 Track the remaining unimplemented methods for async admin
2017-07-11 14:05:02 +08:00
zhangduo
7acb226eb9
HBASE-18348 The implementation of AsyncTableRegionLocator does not follow the javadoc
2017-07-11 11:44:40 +08:00
tedyu
5d7dfa4d1d
HBASE-17705 Procedure execution must fail fast if procedure is not registered (Vladimir Rodionov)
2017-07-10 09:11:58 -07:00
Guanghao Zhang
4368f09057
HBASE-18318 Implement updateConfiguration/stopMaster/stopRegionServer/shutdown methods
2017-07-10 13:49:03 +08:00
Guanghao Zhang
da80839ecc
HBASE-18316 Implement async admin operations for draining region servers
2017-07-09 20:22:06 +08:00
Chia-Ping Tsai
53ec9c5bd3
HBASE-18241 Change client.Table, client.Admin, Region, Store, and HBaseTestingUtility to not use HTableDescriptor or HColumnDescriptor
2017-07-08 17:00:15 +08:00
Guanghao Zhang
5d4e4f2007
HBASE-18317 Implement async admin operations for Normalizer/CleanerChore/CatalogJanitor
2017-07-08 10:59:01 +08:00
Guanghao Zhang
359f97711f
HBASE-18319 Implement getClusterStatus/getRegionLoad/getCompactionState/getLastMajorCompactionTimestamp methods
2017-07-07 16:47:19 +08:00
Michael Stack
b2b5cd6de6
Revert "HBASE-17056 Remove checked in PB generated files Selective add of dependency on"
...
Build is unstable and has interesting issues around CLASSPATH. Revert
for now.
This reverts commit 1049025e1d
.
2017-07-06 21:48:41 -07:00
Michael Stack
1049025e1d
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 21:38:23 -07:00
Guanghao Zhang
507f5fb844
HBASE-18297 Provide a AsyncAdminBuilder to create new AsyncAdmin instance
2017-07-05 10:10:05 +08:00
Michael Stack
84a5d29391
HBASE-18286 Create static empty byte array to save memory
...
Revert "Revert "HBASE-18266 Create static empty byte array to save memory (Ben Epstein)""
... i.e. a reapply but with correct JIRA this time.
This reverts commit 3a0db474a2
.
2017-07-03 19:51:16 -07:00
Michael Stack
3a0db474a2
Revert "HBASE-18266 Create static empty byte array to save memory (Ben Epstein)"
...
Wrong JIRA number
This reverts commit 549fb1677b
.
2017-07-03 19:50:55 -07:00
Peter Somogyi
eacbdb061e
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:43:42 -07:00
Guanghao Zhang
af36bfb2f7
HBASE-18283 Provide a construct method which accept a thread pool for AsyncAdmin
2017-07-04 10:18:49 +08:00
Michael Stack
f4c99a6a89
HBASE-11707 Using Map instead of list in FailedServers of RpcClient (Liu Shaohui)
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-07-01 12:25:21 -07:00
Michael Stack
549fb1677b
HBASE-18266 Create static empty byte array to save memory (Ben Epstein)
2017-06-30 15:31:16 -07:00
Sean Busbey
d00850f66d
HBASE-15391 ADDENDUM Avoid too large "deleted from META" info log.
2017-06-30 09:52:19 -05:00
Michael Stack
09cafb1163
HBASE-15391 Avoid too large "deleted from META" info log (Liu Shaohui)
2017-06-30 03:53:58 -07:00
Michael Stack
619dcf24f4
Revert "HBASE-18229: create new Async Split API to embrace AM v2"
...
TestShell is failing.
This reverts commit 290fb8965d
.
2017-06-30 03:30:50 -07:00
Yi Liang
290fb8965d
HBASE-18229: create new Async Split API to embrace AM v2
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-29 16:21:08 -07:00
张世彬10204932
f6dd43be70
HBASE-17982 correct spelling error of 'occured'
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-29 15:10:08 -07:00
Xiang Li
2db99eb74a
HBASE-18022: Refine the error message issued with TableNotFoundException when expected table is not the same as the one fetched from meta
...
Signed-off-by: Michael Stack <stack@apache.org>
2017-06-29 15:07:01 -07:00