Commit Graph

754 Commits

Author SHA1 Message Date
Sean Busbey 2a65066b35 HBASE-20070 refactor website generation
* rely on git plumbing commands when checking if we've built the site for a particular commit already
* switch to forcing '-e' for bash
* add command line switches for: path to hbase, working directory, and publishing
* only export JAVA/MAVEN HOME if they aren't already set.
* add some docs about assumptions
* Update javadoc plugin to consistently be version 3.0.0
* avoid duplicative site invocations on reactor modules
* update use of cp command so it works both on linux and mac
* manually skip enforcer plugin during build
* still doing install of all jars due to MJAVADOC-490, but then skip rebuilding during aggregate reports.
* avoid the pager on git-diff by teeing to a log file, which also helps later reviewing in the case of big changesets.

Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2018-03-02 09:25:10 -06:00
Michael Stack 549a6d93d4 HBASE-20043 ITBLL fails against hadoop3
Fix MoveRandomRegionOfTableAction. It depended on old AM behavior.
Make it do explicit move as is required in AMv3; w/o it, it was just
closing region causing test to fail.

Fix pom so hadoop3 profile specifies a different netty3 version.

Bunch of logging format change that came of trying trying to read
the spew from this test.
2018-02-24 17:29:54 -08:00
Peter Somogyi 1fd2a276f6 Add psomogyi as committer 2018-02-22 19:54:03 +01:00
Mike Drob aef60a11b5 HBASE-20041 move jersey-1 exclusions to hbase-rest 2018-02-22 09:34:16 -06:00
Artem Ervits 0068b95c85
HBASE-20032 Receving multiple warnings for missing reporting.plugins.plugin.version 2018-02-20 15:16:22 -08:00
Mike Drob 0d6acfa0cf HBASE-19991 hbase-rest test fail against h3 2018-02-16 09:12:15 -06:00
Michael Stack c2ee82c909 HBASE-19986 If HBaseTestClassRule timesout a test, thread dump 2018-02-12 15:28:40 -08:00
zhangduo 918599ef12 HBASE-19873 Add a CategoryBasedTimeout ClassRule for all UTs 2018-01-29 08:43:56 +08:00
Mohammad Arshad 98cae45d2b HBASE-17079 HBase build fails on windows, hbase-archetype-builder is reason for failure
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2018-01-24 16:26:46 -08:00
Apekshit Sharma 0b6422658c HBASE-19780 Remove execution phase and goal of checkstyle plugin.
We don't do checkstyle as part of default "mvn install" since it takes significant
amount of time (~90sec) and slows builds and development. We only need it for pre-commits.
2018-01-23 15:08:04 -08:00
Umesh Agashe 9ba961a5ef HBASE-19825 Fix hadoop3 compat test failures, need commons-beanutils from hadoop 3 2018-01-18 18:28:54 -08:00
Mike Drob ea7d5fc884 HBASE-19552 Update hbase-thirdparty version
Some manual cleanup of changing package names in pom files and getting
rid of the no-longer-needed netty system property.

This commit will break compilation, package renames in source code are
done in follow-on commits using straightforward find and replace.

's/org.apache.hadoop.hbase.shaded.com.google/org.apache.hbase.thirdparty.com.google/'
's/org.apache.hadoop.hbase.shaded.io.netty/org.apache.hbase.thirdparty.io.netty/'
2017-12-28 11:41:42 -06:00
Yi Liang 4a9c298a50 Add Yi Liang to pom.xml 2017-12-22 21:08:35 -08:00
Balazs Meszaros f572c4b80e HBASE-10092 Move up on to log4j2
Changes:
- replaced commons-logging to slf4j everywhere
- log.XXX(Throwable) calls were replaced with log.XXX(t.toString(), t)
- log.XXX(Object) calls were replaced with log.XXX(Objects.toString(obj))
- log.fatal() calls were replaced with log.error(HBaseMarkers.FATAL, ...)
- programmatic log4j configuration was removed from the unit test

This commit does not affect the current logging configurations, because log4j
is still on the classpath. slf4j-log4j12 binds log4j to slf4j.

Signed-off-by: Michael Stack <stack@apache.org>
2017-12-20 22:21:33 -08:00
Apekshit Sharma 2a5e5e9e2c HBASE-19526 Update hadoop version to 3.0 GA 2017-12-17 19:10:04 -08:00
Mike Drob 75f512bd71 HBASE-18838 Fix hadoop3 check-shaded-invariants 2017-12-15 11:19:47 -06:00
Apekshit Sharma 1b822b60b5 HBASE-19489 Adds QUICK_HADOOPCHECK flag to check against only the latest maintenance releases in "hadoopcheck". Updates hadoop version to 3.0.0-beta1. 2017-12-12 23:22:04 -08:00
Michael Stack 66db0006eb
HBASE-19349 Introduce wrong version depencency of servlet-api jar
Move the hadoop-hdfs guava exclude in modules up to the top pom.
Looks like an exclude in a module is not additive but rather exclusive
blanking out the top level set of exclusions.

Tested by looking in lib dir of the built tarball.
2017-12-07 17:50:30 -08:00
zhangduo 75cdbb5700 HBASE-19410 Move zookeeper related UTs to hbase-zookeeper and mark them as ZKTests 2017-12-06 16:38:34 +08:00
Mike Drob 50c5988971 HBASE-19422 Provide clear error message on use of wrong hadoop-profile property
Signed-off-by: Apekshit Sharma <appy@apache.org>
2017-12-05 11:04:59 -08:00
zhangduo 7a5b078306 HBASE-19399 Purge curator dependency from hbase-client 2017-12-03 08:30:30 +08:00
Mike Drob 680a534acd HBASE-19390 Temporary downgrade to Jetty 9.3 to match hadoop 2017-12-01 14:38:48 -06:00
Apekshit Sharma 330b0d05b9 HBASE-19114 Split out o.a.h.h.zookeeper from hbase-server and hbase-client
- Moved DrainingServerTracker and RegionServerTracker to hbase-server:o.a.h.h.master.
- Moved SplitOrMergeTracker to oahh.master (because it depends on a PB)
- Moving hbase-client:oahh.zookeeper.*  to hbase-zookeeper module.  After HBASE-19200, hbase-client doesn't need them anymore (except 3 classes).
- Renamed some classes to use a consistent naming for classes - ZK instead of mix of ZK, Zk , ZooKeeper. Couldn't rename following public classes: MiniZooKeeperCluster, ZooKeeperConnectionException. Left RecoverableZooKeeper for lack of better name. (suggestions?)
- Sadly, can't move tests out because they depend on HBaseTestingUtility (which defeats part of the purpose - trimming down hbase-server tests. We need to promote more use of mocks in our tests)
2017-11-17 13:20:18 -08:00
tedyu df82abb159 HBASE-19210 TestNamespacesInstanceResource fails (Ted Yu) 2017-11-13 13:52:35 -08:00
tedyu 42506a6bcb HBASE-19210 TestNamespacesInstanceResource fails - revert due to missing credit 2017-11-13 13:52:01 -08:00
Mike Drob 14f87a1204 HBASE-19210 Revert "Revert "TestNamespacesInstanceResource fails""
This reverts commit cd4ca11f8f.
2017-11-13 15:27:16 -06:00
Mike Drob cd4ca11f8f Revert "TestNamespacesInstanceResource fails"
Missing issue number.

This reverts commit 6ea759611c.
2017-11-13 15:26:58 -06:00
tedyu 6ea759611c TestNamespacesInstanceResource fails 2017-11-13 13:01:32 -08:00
Tamas Penzes 377174d3ef HBASE-18601: Update Htrace to 4.2
Updated HTrace version to 4.2
Created TraceUtil class to wrap htrace methods. Uses try with resources.

Signed-off-by: Balazs Meszaros <balazs.meszaros@cloudera.com>
Signed-off-by: Michael Stack <stack@apache.org>
2017-11-11 10:34:03 -08:00
Apekshit Sharma 8a179ead50 HBASE-19089 Fix the list of included moduleSets in src and binary tars.
Change-Id: I2c4c3fab111fdc311c730c857bb09739dae5585b
2017-11-09 14:22:49 -08:00
Andrew Purtell 46408e021d HBASE-19203 Update Hadoop version used for build to 2.7.4 (from 2.5.1) 2017-11-07 12:37:36 -08:00
Ashu Pachauri bc3f3ee3bc Change timezone for Ashu Pachauri in pom.xml 2017-11-06 12:17:41 +05:30
Mike Drob 3a0f59d031 HBASE-18983 update error-prone to 2.1.1 2017-11-04 21:28:52 -05:00
Michael Stack f812218ffe
HBASE-19179 Remove hbase-prefix-tree 2017-11-04 10:11:13 -07:00
Apekshit Sharma 71a55dcd64 HBASE-18925 Update mockito dependency from mockito-all:1.10.19 to mockito-core:2.1.0 for JDK8 support.
Last mockito-all release was in Dec'14. Mockito-core has had many releases since then.

From mockito's site:
- "Mockito does not produce the mockito-all artifact anymore ; this one was primarily
aimed at ant users, and contained other dependencies. We felt it was time to move on
and remove such artifacts as they cause problems in dependency management system like
maven or gradle."
- anyX() and any(SomeType.class) matchers now reject nulls and check type.
2017-11-01 14:21:38 -07:00
Rahul Gidwani be5529c6b4 Added Rahul Gidwani to pom.xml 2017-10-30 11:46:00 -07:00
Mike Drob 0b7d8ffc21 HBASE-18438 Precommit doesn't warn about unused imports
Signed-off-by: Chia-Ping Tsai <chia7712@gmail.com>
2017-10-29 20:47:33 +08:00
Jan Hentschel c5f47153c4 Added Jan Hentschel to pom.xml 2017-10-26 10:36:08 +02:00
Sean Busbey 1c1906e03a HBASE-19049 Update Kerby to 1.0.1.
Signed-off-by: Mike Drob <mdrob@apache.org>
2017-10-24 09:43:20 -05:00
Apekshit Sharma 3969b853b2 HBASE-19053 Split out o.a.h.h.http from hbase-server into a separate module
Change-Id: Ie3a688b789104df7feaf34ac9fb326a79d6a3960
2017-10-23 22:52:24 -07:00
huzheng 24931044d6 Add Zheng Hu to pom.xml 2017-10-23 13:41:45 +08:00
Chia-Ping Tsai d59ed234ef HBASE-19014 surefire fails; When writing xml report stdout/stderr ... No such file or directory 2017-10-21 01:29:38 +08:00
Mike Drob 5facaded90 HBASE-16338 Remove Jackson1 deps
* Change imports from org.codehaus to com.fasterxml
* Exclude transitive jackson1 from hadoop and others
* Minor test cleanup to add assert messages, fix some parameter order
* Add anti-pattern check for using jackson 1 imports
* Add explicit non-null serialization directive to ScannerModel
2017-10-20 09:20:12 -05:00
zhangduo d653c0bc7f HBASE-18747 Introduce new example and helper classes to tell CP users how to do filtering on scanners 2017-10-14 08:48:09 +08:00
Sean Busbey 54da4405d7 HBASE-18867 update maven enforcer plugin.
Signed-off-by: Mike Drob <mdrob@apache.org>
2017-10-09 20:32:24 -05:00
Sean Busbey 6302dfaf2b HBASE-18973 Clean up warnings about pom well-formedness from mvn validate.
Signed-off-by: Michael Stack <stack@apache.org>
Signed-off-by: Mike Drob <mdrob@apache.org>
2017-10-09 11:28:34 -05:00
Misty Stanley-Jones b0e1a15092 Update Misty's timezone
Signed-off-by: Misty Stanley-Jones <misty@apache.org>
2017-09-29 10:37:45 -07:00
Mike Drob 4136ab338d HBASE-18883 Update Curator to 4.0
Signed-off-by: zhangduo <zhangduo@apache.org>
2017-09-29 10:39:57 -05:00
Michael Stack 5c12e424e6 HBASE-18831 Add explicit dependency on javax.el
Signed-off-by: Michael Stack <stack@apache.org>
2017-09-16 10:37:27 -07:00
zhangduo f7a986cb67 HBASE-18821 addendum use versionRange instead of version to fix m2e error 2017-09-15 16:54:16 +08:00