Commit Graph

13888 Commits

Author SHA1 Message Date
Umesh Agashe 5dacc85122 HBASE-18674 upgrading to commons-lang3 2017-08-28 15:57:12 -07:00
Michael Stack a2b110e0fa HBASE-18692 [compat 1-2] ByteBufferUtils.copyFromBufferToBuffer goes from void to int 2017-08-28 10:00:31 -07:00
Tamas Penzes bbf23d9627 HBASE-18369 hbase thrift web-ui not available
classpath issue when running as a developer fixed
removed thrift webapp from server (it's not used at all, since moved to thrift webapp)

Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-28 08:45:57 -07:00
张世彬10204932 f1b3528d79 HBASE-18701 Optimize reference guide to use cell acl conveniently
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-28 08:10:51 -07:00
Chia-Ping Tsai e219d34694 HBASE-18640 (Addendum) Remove the redundant dependency 2017-08-28 23:01:55 +08:00
Balazs Meszaros a7270cc08c HBASE-18705 bin/hbase does not find cached_classpath.txt
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-28 04:09:05 -07:00
Vikas Vishwakarma 4e7f677170 HBASE-18633 Add more info to understand the source/scenario of large batch requests exceeding threshold 2017-08-28 15:20:21 +05:30
Chia-Ping Tsai d63a287bfd HBASE-18519 Use builder pattern to create cell 2017-08-28 14:14:49 +08:00
Chun-Hao Tang a407b58f17 HBASE-18611 Copy all tests from o.a.h.h.p.TestProtobufUtil to o.a.h.h.s.p.TestProtobufUtil
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-27 19:16:06 +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
Deon Huang 483c42a756 HBASE-18670 Add .DS_Store to .gitignore
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-27 18:52:11 +08:00
Jan Hentschel f53051b590 HBASE-16722 Fixed broken link in CatalogJanitor doc
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-08-26 20:24:20 +08:00
Apekshit Sharma f386a9a375 HBASE-18688 Upgrade commons-codec to 1.10
Change-Id: I764495e969c99c39b77e2e7541612ee828257126
2017-08-26 02:00:21 -07:00
Apekshit Sharma 664b6be0ef HBASE-18640 Move mapreduce out of hbase-server into separate module.
- Moves out o.a.h.h.{mapred, mapreduce} to new hbase-mapreduce module which depends
  on hbase-server because of classes like *Snapshot{Input,Output}Format.java, WALs, replication, etc
- hbase-backup depends on it for WALPlayer and MR job stuff
- A bunch of tools needed to be pulled into hbase-mapreduce becuase of their dependencies on MR.
  These are: CompactionTool, LoadTestTool, PerformanceEvaluation, ExportSnapshot
  This is better place of them than hbase-server. But ideal place would be in separate hbase-tools module.
- There were some tests in hbase-server which were digging into these tools for static util funtions or
  confs. Moved these to better/easily shared place. For eg. security related stuff to HBaseKerberosUtils.
- Note that hbase-mapreduce has secondPartExecution tests. On my machine they took like 20 min, so maybe
  more on apache jenkins. That's basically equal reduction of runtime of hbase-server tests, which is a
  big win!

Change-Id: Ieeb7235014717ca83ee5cb13b2a27fddfa6838e8
2017-08-25 18:38:48 -07:00
zhangduo 8d33949b8d HBASE-16324 Remove LegacyScanQueryMatcher 2017-08-26 08:04:43 +08:00
Josh Elser 2773510f12 HBASE-18679 Add a null check around the result of getCounters() in ITBLL 2017-08-25 18:40:02 -04:00
Michael Stack 439191ece6 HBASE-18687 Add @since 2.0.0 to new classes; AMENDMENT2 2017-08-25 14:44:01 -07: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
Jan Hentschel 368591dfcd HBASE-18635 Fixed Asciidoc warning
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-08-25 13:09:57 -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
Guangxu Cheng ac1fe07f48 HBASE-18671 Support Append/Increment in rest api
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-25 07:57:03 -07:00
Tamas Penzes 158f3da167 HBASE-18607: fix submit-patch.py to support utf8
one liner to support utf8 content

Change-Id: I57508879bea25aa5ae69e01e777b91a7160aafc8
Signed-off-by: Apekshit Sharma <appy@apache.org>
2017-08-25 00:04:19 -07:00
Michael Stack 08a9522fc1 HBASE-18673 Some more unwanted reference to unshaded PB classes 2017-08-24 20:59:23 -07:00
Ajay Jadhav 98bb5c05e3 HBASE-18448 Added refresh HFiles coprocessor endpoint
Signed-off-by: anoopsamjohn <anoopsamjohn@gmail.com>
2017-08-25 06:56:41 +05:30
Huaxiang Sun 1a2c38b965 HBASE-18287 Remove log warning in PartitionedMobCompactor.java#getFileStatus 2017-08-24 14:43:44 -07:00
Mike Drob bd0b0afa61 HBASE-18656 First issues found by error-prone 2017-08-24 12:16:31 -05:00
Michael Stack 1b4e935cec HBASE-18658 Purge hokey hbase Service implementation; use (internal) Guava Service instead
Removes hbase Service. Moves the single user, ClusterSchemaServiceImpl
to use relocated internal Guava Service instead.
2017-08-24 09:19:36 -07:00
anoopsamjohn 88356029f1 Revert "HBASE-18448 Added refresh HFiles coprocessor endpoint"
This reverts commit 612c23556d.
2017-08-24 21:13:08 +05:30
Ajay Jadhav 612c23556d HBASE-18448 Added refresh HFiles coprocessor endpoint
Signed-off-by: anoopsamjohn <anoopsamjohn@gmail.com>
2017-08-24 20:42:49 +05:30
Guangxu Cheng 321bc55f91 HBASE-18647 Parameter cacheBlocks does not take effect in REST API for scan
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-24 08:08:54 -07:00
Michael Stack 6e7baa07f0 HBASE-15982 Interface ReplicationEndpoint extends Guava's Service
Breaking change to our ReplicationEndpoint and BaseReplicationEndpoint.

ReplicationEndpoint implemented Guava 0.12 Service. An abstract
subclass, BaseReplicationEndpoint, provided default implementations
and facility, among other things, by extending Guava
AbstractService class.

Both of these HBase classes were marked LimitedPrivate for
REPLICATION so these classes were semi-public and made it so
Guava 0.12 was part of our API.

Having Guava in our API was a mistake. It anchors us and the
implementation of the Interface to Guava 0.12. This is untenable
given Guava changes and that the Service Interface in particular
has had extensive revamp and improvement done. We can't hold to
the Guava Interface. It changed. We can't stay on Guava 0.12;
implementors and others on our CLASSPATH won't abide being stuck
on an old Guava.

So this class makes breaking changes. The unhitching of our Interface
from Guava could only be done in a breaking manner. It undoes the
LimitedPrivate on BaseReplicationEndpoint while keeping it for the RE
Interface. It means consumers will have to copy/paste the
AbstractService-based BRE into their own codebase also supplying their
own Guava; HBase no longer 'supplies' this (our Guava usage has
been internalized, relocated).

This patch then adds into RE the basic methods RE needs of the old
Guava Service rather than return a Service to start/stop only to go
back to the RE instance to do actual work. A few method names had to
be changed so could make implementations with Guava Service internally
and not have RE method names and types clash). Semantics remained the
same otherwise. For example startAsync and stopAsync in Guava are start
and stop in RE.
2017-08-24 08:05:27 -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
Michael Stack 3b444a066c HBASE-18224 Upgrade Jetty 2017-08-23 23:12:59 -07: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 ae3b51a7a7 HBASE-17442 (Addendum) Fix build errors due to wrong relativePath for parent pom.
Change-Id: I0796dcb08cee64089289b6e315b99ad623edbbeb
2017-08-23 16:14:23 -07:00
Huaxiang Sun 1b8509cca9 Add Huaxaing Sun to pom.xml 2017-08-23 15:13:05 -07: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
Apekshit Sharma ae052e4540 HBASE-17614 (addendum) Remove extraneous .DS_Store file.
Change-Id: I604832645f0d66fb972091c076c91558ab9627c5
2017-08-23 11:07:50 -07:00
Umesh Agashe 6b21f8881b HBASE-18575 [AMv2] Fixed and enabled TestRestartCluster#testRetainAssignmentOnRestart on master
* Fixed ServerCrashProcedure to set forceNewPlan to false for instances AssignProcedure. This enables balancer to find most suitable target server
* Fixed and enabled TestRestartCluster#testRetainAssignmentOnRestart on master
* Renamed method ServerName@isSameHostnameAndPort() to isSameAddress()

Signed-off-by: Michael Stack <stack@apache.org>
2017-08-23 10:10:56 -07:00
Vladimir Rodionov 2dda371209 HBASE-17614: Move Backup/Restore into separate module (Vladimir Rodionov)
Signed-off-by: Josh Elser <elserj@apache.org>
2017-08-23 12:40:57 -04:00
tedyu 6c0e219dd4 HBASE-18632 TestMultiParallel#testFlushCommitsWithAbort fails in master branch 2017-08-23 09:35:08 -07:00
Biju Nair 04f114b85c HBASE-18532 Improve cache related stats rendered on RS UI
Signed-off-by: tedyu <yuzhihong@gmail.com>
2017-08-23 07:53:55 -07:00
Michael Stack dcd3e9abf4 HBASE-18655 TestAsyncClusterAdminApi2 failing sometimes
Signed-off-by: Michael Stack <stack@apache.org>
2017-08-22 21:24:10 -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