2010-02-22 18:49:24 -05:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2019-05-21 15:34:25 -04:00
|
|
|
|
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<!--
|
2011-10-23 19:03:32 -04:00
|
|
|
|
/**
|
|
|
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
|
* or more contributor license agreements. See the NOTICE file
|
|
|
|
|
* distributed with this work for additional information
|
|
|
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
|
|
|
* to you under the Apache License, Version 2.0 (the
|
|
|
|
|
* "License"); you may not use this file except in compliance
|
|
|
|
|
* with the License. You may obtain a copy of the License at
|
|
|
|
|
*
|
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
*
|
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
|
* limitations under the License.
|
|
|
|
|
*/
|
2012-09-18 16:03:50 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ON MVN COMPILE NOT WORKING
|
|
|
|
|
|
|
|
|
|
If you wondering why 'mvn compile' does not work building HBase
|
|
|
|
|
(in particular, if you are doing it for the first time), instead do
|
|
|
|
|
'mvn package'. If you are interested in the full story, see
|
|
|
|
|
https://issues.apache.org/jira/browse/HBASE-6795.
|
|
|
|
|
|
2011-10-23 19:03:32 -04:00
|
|
|
|
-->
|
2010-02-22 18:49:24 -05:00
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2010-10-03 23:19:26 -04:00
|
|
|
|
<parent>
|
|
|
|
|
<groupId>org.apache</groupId>
|
|
|
|
|
<artifactId>apache</artifactId>
|
2020-05-02 08:35:16 -04:00
|
|
|
|
<version>23</version>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<relativePath/>
|
|
|
|
|
<!-- no parent resolution -->
|
2010-10-03 23:19:26 -04:00
|
|
|
|
</parent>
|
2010-02-22 18:49:24 -05:00
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase</artifactId>
|
2022-10-24 00:15:18 -04:00
|
|
|
|
<version>${revision}</version>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<packaging>pom</packaging>
|
2015-07-15 06:12:36 -04:00
|
|
|
|
<name>Apache HBase</name>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<description>Apache HBase is the Hadoop database. Use it when you need
|
2010-10-03 23:19:26 -04:00
|
|
|
|
random, realtime read/write access to your Big Data.
|
2010-02-24 15:17:17 -05:00
|
|
|
|
This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
|
2022-03-28 09:13:58 -04:00
|
|
|
|
of commodity hardware.</description>
|
2019-05-21 15:34:25 -04:00
|
|
|
|
<url>https://hbase.apache.org</url>
|
2015-07-15 06:12:36 -04:00
|
|
|
|
<inceptionYear>2007</inceptionYear>
|
2016-08-02 01:54:50 -04:00
|
|
|
|
<!-- Set here so we can consistently use the correct name, even on branches with
|
|
|
|
|
an ASF parent pom older than v15. Also uses the url from v18.
|
|
|
|
|
-->
|
|
|
|
|
<licenses>
|
|
|
|
|
<license>
|
|
|
|
|
<name>Apache License, Version 2.0</name>
|
|
|
|
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
|
|
|
|
<distribution>repo</distribution>
|
|
|
|
|
</license>
|
|
|
|
|
</licenses>
|
2010-02-22 18:49:24 -05:00
|
|
|
|
<developers>
|
2013-04-02 01:02:44 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>acube123</id>
|
|
|
|
|
<name>Amitanand S. Aiyer</name>
|
|
|
|
|
<email>acube123@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2016-06-16 18:24:19 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>appy</id>
|
|
|
|
|
<name>Apekshit Sharma</name>
|
|
|
|
|
<email>appy@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2017-03-27 08:21:54 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>anastasia</id>
|
|
|
|
|
<name>Anastasia Braginsky</name>
|
|
|
|
|
<email>anastasia@apache.org</email>
|
|
|
|
|
<timezone>+2</timezone>
|
|
|
|
|
</developer>
|
2010-02-22 18:49:24 -05:00
|
|
|
|
<developer>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
<id>apurtell</id>
|
|
|
|
|
<name>Andrew Purtell</name>
|
|
|
|
|
<email>apurtell@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
2010-12-02 19:06:57 -05:00
|
|
|
|
</developer>
|
2013-03-10 01:44:12 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>anoopsamjohn</id>
|
|
|
|
|
<name>Anoop Sam John</name>
|
|
|
|
|
<email>anoopsamjohn@apache.org</email>
|
|
|
|
|
<timezone>+5</timezone>
|
|
|
|
|
</developer>
|
2015-06-11 08:28:20 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>antonov</id>
|
|
|
|
|
<name>Mikhail Antonov</name>
|
|
|
|
|
<email>antonov@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2016-03-30 01:38:21 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>ashishsinghi</id>
|
|
|
|
|
<name>Ashish Singhi</name>
|
|
|
|
|
<email>ashishsinghi@apache.org</email>
|
|
|
|
|
<timezone>+5</timezone>
|
|
|
|
|
</developer>
|
2016-11-20 21:44:12 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>binlijin</id>
|
|
|
|
|
<name>Lijin Bin</name>
|
|
|
|
|
<email>binlijin@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2014-12-01 17:52:40 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>busbey</id>
|
|
|
|
|
<name>Sean Busbey</name>
|
|
|
|
|
<email>busbey@apache.org</email>
|
|
|
|
|
<timezone>-6</timezone>
|
|
|
|
|
</developer>
|
2015-11-13 22:20:08 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>chenheng</id>
|
|
|
|
|
<name>Heng Chen</name>
|
|
|
|
|
<email>chenheng@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2017-03-17 15:15:17 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>chia7712</id>
|
|
|
|
|
<name>Chia-Ping Tsai</name>
|
|
|
|
|
<email>chia7712@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2013-02-07 14:22:20 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>ddas</id>
|
|
|
|
|
<name>Devaraj Das</name>
|
|
|
|
|
<email>ddas@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2016-08-31 23:18:30 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>dimaspivak</id>
|
|
|
|
|
<name>Dima Spivak</name>
|
|
|
|
|
<email>dimaspivak@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<developer>
|
2011-08-01 20:09:31 -04:00
|
|
|
|
<id>dmeil</id>
|
|
|
|
|
<name>Doug Meil</name>
|
2011-08-06 19:58:22 -04:00
|
|
|
|
<email>dmeil@apache.org</email>
|
2011-08-01 20:09:31 -04:00
|
|
|
|
<timezone>-5</timezone>
|
|
|
|
|
</developer>
|
2015-08-20 17:16:35 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>eclark</id>
|
|
|
|
|
<name>Elliott Clark</name>
|
|
|
|
|
<email>eclark@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2016-12-11 15:17:54 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>elserj</id>
|
|
|
|
|
<name>Josh Elser</name>
|
|
|
|
|
<email>elserj@apache.org</email>
|
|
|
|
|
<timezone>-5</timezone>
|
|
|
|
|
</developer>
|
2012-09-25 16:34:55 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>enis</id>
|
|
|
|
|
<name>Enis Soztutar</name>
|
|
|
|
|
<email>enis@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2017-03-19 03:58:51 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>eshcar</id>
|
|
|
|
|
<name>Eshcar Hillel</name>
|
|
|
|
|
<email>eshcar@apache.org</email>
|
|
|
|
|
<timezone>+2</timezone>
|
|
|
|
|
</developer>
|
2014-03-12 17:21:37 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>fenghh</id>
|
|
|
|
|
<name>Honghua Feng</name>
|
|
|
|
|
<email>fenghh@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2010-12-02 19:06:57 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>garyh</id>
|
|
|
|
|
<name>Gary Helmling</name>
|
|
|
|
|
<email>garyh@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
</developer>
|
2012-09-07 16:30:29 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>gchanan</id>
|
|
|
|
|
<name>Gregory Chanan</name>
|
|
|
|
|
<email>gchanan@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>jdcryans</id>
|
|
|
|
|
<name>Jean-Daniel Cryans</name>
|
|
|
|
|
<email>jdcryans@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2013-06-03 19:25:47 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>jeffreyz</id>
|
|
|
|
|
<name>Jeffrey Zhong</name>
|
|
|
|
|
<email>jeffreyz@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
2015-04-02 23:36:42 -04:00
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<id>jerryjch</id>
|
|
|
|
|
<name>Jing Chen (Jerry) He</name>
|
|
|
|
|
<email>jerryjch@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
2013-06-03 19:25:47 -04:00
|
|
|
|
</developer>
|
2012-11-09 18:58:44 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>jyates</id>
|
|
|
|
|
<name>Jesse Yates</name>
|
|
|
|
|
<email>jyates@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>jgray</id>
|
|
|
|
|
<name>Jonathan Gray</name>
|
2011-08-01 20:09:31 -04:00
|
|
|
|
<email>jgray@fb.com</email>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2016-06-22 07:21:21 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>jingchengdu</id>
|
|
|
|
|
<name>Jingcheng Du</name>
|
|
|
|
|
<email>jingchengdu@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2015-07-01 20:52:20 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>esteban</id>
|
|
|
|
|
<name>Esteban Gutierrez</name>
|
|
|
|
|
<email>esteban@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2012-01-19 01:29:01 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>jmhsieh</id>
|
|
|
|
|
<name>Jonathan Hsieh</name>
|
|
|
|
|
<email>jmhsieh@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2012-06-05 19:40:37 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>jxiang</id>
|
|
|
|
|
<name>Jimmy Xiang</name>
|
|
|
|
|
<email>jxiang@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2011-10-31 16:07:12 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>kannan</id>
|
|
|
|
|
<name>Kannan Muthukkaruppan</name>
|
|
|
|
|
<email>kannan@fb.com</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<id>karthik</id>
|
|
|
|
|
<name>Karthik Ranganathan</name>
|
|
|
|
|
<email>kranganathan@fb.com</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>larsgeorge</id>
|
|
|
|
|
<name>Lars George</name>
|
2010-03-04 12:54:27 -05:00
|
|
|
|
<email>larsgeorge@apache.org</email>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
<timezone>+1</timezone>
|
|
|
|
|
</developer>
|
2011-10-07 22:27:08 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>larsh</id>
|
|
|
|
|
<name>Lars Hofhansl</name>
|
|
|
|
|
<email>larsh@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2013-12-18 17:42:41 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>liangxie</id>
|
|
|
|
|
<name>Liang Xie</name>
|
|
|
|
|
<email>liangxie@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
2015-01-07 03:31:04 -05:00
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<id>liushaohui</id>
|
|
|
|
|
<name>Shaohui Liu</name>
|
|
|
|
|
<email>liushaohui@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
2013-12-18 17:42:41 -05:00
|
|
|
|
</developer>
|
2015-08-20 17:16:35 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>liyin</id>
|
|
|
|
|
<name>Liyin Tang</name>
|
|
|
|
|
<email>liyin.tang@fb.com</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2016-03-17 01:05:16 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>liyu</id>
|
|
|
|
|
<name>Yu Li</name>
|
|
|
|
|
<email>liyu@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2012-01-25 15:35:02 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>mbautin</id>
|
|
|
|
|
<name>Mikhail Bautin</name>
|
|
|
|
|
<email>mbautin@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2015-08-20 17:16:35 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>mbertozzi</id>
|
|
|
|
|
<name>Matteo Bertozzi</name>
|
|
|
|
|
<email>mbertozzi@apache.org</email>
|
|
|
|
|
<timezone>0</timezone>
|
|
|
|
|
</developer>
|
2014-09-09 00:13:40 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>misty</id>
|
|
|
|
|
<name>Misty Stanley-Jones</name>
|
|
|
|
|
<email>misty@apache.org</email>
|
|
|
|
|
<timezone>+10</timezone>
|
|
|
|
|
</developer>
|
2013-09-10 20:26:08 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>ndimiduk</id>
|
|
|
|
|
<name>Nick Dimiduk</name>
|
|
|
|
|
<email>ndimiduk@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2015-08-20 17:16:35 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>nkeywal</id>
|
|
|
|
|
<name>Nicolas Liochon</name>
|
|
|
|
|
<email>nkeywal@apache.org</email>
|
|
|
|
|
<timezone>+1</timezone>
|
|
|
|
|
</developer>
|
2010-12-02 16:55:40 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>nspiegelberg</id>
|
|
|
|
|
<name>Nicolas Spiegelberg</name>
|
|
|
|
|
<email>nspiegelberg@fb.com</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2015-03-02 15:53:18 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>octo47</id>
|
|
|
|
|
<name>Andrey Stepachev</name>
|
|
|
|
|
<email>octo47@gmail.com</email>
|
|
|
|
|
<timezone>0</timezone>
|
|
|
|
|
</developer>
|
2015-08-20 17:16:35 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>rajeshbabu</id>
|
|
|
|
|
<name>Rajeshbabu Chintaguntla</name>
|
|
|
|
|
<email>rajeshbabu@apache.org</email>
|
|
|
|
|
<timezone>+5</timezone>
|
|
|
|
|
</developer>
|
|
|
|
|
<developer>
|
|
|
|
|
<id>ramkrishna</id>
|
|
|
|
|
<name>Ramkrishna S Vasudevan</name>
|
|
|
|
|
<email>ramkrishna@apache.org</email>
|
|
|
|
|
<timezone>+5</timezone>
|
|
|
|
|
</developer>
|
2010-02-22 21:11:00 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>rawson</id>
|
|
|
|
|
<name>Ryan Rawson</name>
|
|
|
|
|
<email>rawson@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
</developer>
|
2013-02-25 14:48:45 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>sershe</id>
|
|
|
|
|
<name>Sergey Shelukhin</name>
|
|
|
|
|
<email>sershe@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2015-04-01 13:42:28 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>ssrungarapu</id>
|
|
|
|
|
<name>Srikanth Srungarapu</name>
|
|
|
|
|
<email>ssrungarapu@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2010-02-24 15:17:17 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>stack</id>
|
|
|
|
|
<name>Michael Stack</name>
|
|
|
|
|
<email>stack@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
2010-02-22 21:11:00 -05:00
|
|
|
|
</developer>
|
2015-08-20 17:16:35 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>syuanjiang</id>
|
|
|
|
|
<name>Stephen Yuan Jiang</name>
|
|
|
|
|
<email>syuanjiang@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2011-08-04 08:58:32 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>tedyu</id>
|
|
|
|
|
<name>Ted Yu</name>
|
|
|
|
|
<email>yuzhihong@gmail.com</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2010-05-25 02:52:16 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>todd</id>
|
|
|
|
|
<name>Todd Lipcon</name>
|
|
|
|
|
<email>todd@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2016-07-07 17:15:47 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>toffer</id>
|
|
|
|
|
<name>Francis Liu</name>
|
|
|
|
|
<email>toffer@apache.org</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2014-12-11 20:32:03 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>virag</id>
|
|
|
|
|
<name>Virag Kothari</name>
|
|
|
|
|
<email>virag@yahoo-inc.com</email>
|
|
|
|
|
<timezone>-8</timezone>
|
|
|
|
|
</developer>
|
2016-11-26 23:01:59 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>yangzhe1991</id>
|
|
|
|
|
<name>Phil Yang</name>
|
|
|
|
|
<email>yangzhe1991@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2016-12-19 21:43:17 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>zghao</id>
|
|
|
|
|
<name>Guanghao Zhang</name>
|
|
|
|
|
<email>zghao@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2015-03-09 19:29:58 -04:00
|
|
|
|
<developer>
|
|
|
|
|
<id>zhangduo</id>
|
|
|
|
|
<name>Duo Zhang</name>
|
|
|
|
|
<email>zhangduo@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2013-01-03 04:00:07 -05:00
|
|
|
|
<developer>
|
|
|
|
|
<id>zjushch</id>
|
|
|
|
|
<name>Chunhui Shen</name>
|
|
|
|
|
<email>zjushch@apache.org</email>
|
|
|
|
|
<timezone>+8</timezone>
|
|
|
|
|
</developer>
|
2010-02-22 18:49:24 -05:00
|
|
|
|
</developers>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<mailingLists>
|
|
|
|
|
<mailingList>
|
|
|
|
|
<name>User List</name>
|
|
|
|
|
<subscribe>user-subscribe@hbase.apache.org</subscribe>
|
|
|
|
|
<unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
|
|
|
|
|
<post>user@hbase.apache.org</post>
|
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive>
|
|
|
|
|
<otherArchives>
|
|
|
|
|
<otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
|
|
|
|
|
</otherArchives>
|
|
|
|
|
</mailingList>
|
|
|
|
|
<mailingList>
|
|
|
|
|
<name>Developer List</name>
|
|
|
|
|
<subscribe>dev-subscribe@hbase.apache.org</subscribe>
|
|
|
|
|
<unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
|
|
|
|
|
<post>dev@hbase.apache.org</post>
|
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
|
|
|
|
|
<otherArchives>
|
|
|
|
|
<otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
|
|
|
|
|
</otherArchives>
|
|
|
|
|
</mailingList>
|
|
|
|
|
<mailingList>
|
|
|
|
|
<name>Commits List</name>
|
|
|
|
|
<subscribe>commits-subscribe@hbase.apache.org</subscribe>
|
|
|
|
|
<unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
|
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
|
|
|
|
|
</mailingList>
|
|
|
|
|
<mailingList>
|
|
|
|
|
<name>Issues List</name>
|
|
|
|
|
<subscribe>issues-subscribe@hbase.apache.org</subscribe>
|
|
|
|
|
<unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
|
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
|
|
|
|
|
</mailingList>
|
|
|
|
|
<mailingList>
|
|
|
|
|
<name>Builds List</name>
|
|
|
|
|
<subscribe>builds-subscribe@hbase.apache.org</subscribe>
|
|
|
|
|
<unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
|
|
|
|
|
<archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
|
|
|
|
|
</mailingList>
|
|
|
|
|
<mailingList>
|
|
|
|
|
<name>User (ZH) List</name>
|
|
|
|
|
<subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
|
|
|
|
|
<unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
|
|
|
|
|
<post>user-zh@hbase.apache.org</post>
|
|
|
|
|
<archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
|
|
|
|
|
</mailingList>
|
|
|
|
|
</mailingLists>
|
|
|
|
|
|
|
|
|
|
<modules>
|
|
|
|
|
<module>hbase-build-configuration</module>
|
|
|
|
|
<module>hbase-replication</module>
|
|
|
|
|
<module>hbase-mapreduce</module>
|
|
|
|
|
<module>hbase-resource-bundle</module>
|
|
|
|
|
<module>hbase-http</module>
|
|
|
|
|
<module>hbase-server</module>
|
|
|
|
|
<module>hbase-thrift</module>
|
|
|
|
|
<module>hbase-shell</module>
|
|
|
|
|
<module>hbase-protocol-shaded</module>
|
|
|
|
|
<module>hbase-protocol</module>
|
|
|
|
|
<module>hbase-client</module>
|
|
|
|
|
<module>hbase-hadoop-compat</module>
|
|
|
|
|
<module>hbase-common</module>
|
|
|
|
|
<module>hbase-procedure</module>
|
|
|
|
|
<module>hbase-endpoint</module>
|
|
|
|
|
<module>hbase-it</module>
|
|
|
|
|
<module>hbase-examples</module>
|
|
|
|
|
<module>hbase-assembly</module>
|
|
|
|
|
<module>hbase-testing-util</module>
|
|
|
|
|
<module>hbase-annotations</module>
|
|
|
|
|
<module>hbase-rest</module>
|
|
|
|
|
<module>hbase-checkstyle</module>
|
|
|
|
|
<module>hbase-external-blockcache</module>
|
|
|
|
|
<module>hbase-shaded</module>
|
|
|
|
|
<module>hbase-archetypes</module>
|
|
|
|
|
<module>hbase-metrics-api</module>
|
|
|
|
|
<module>hbase-metrics</module>
|
|
|
|
|
<module>hbase-zookeeper</module>
|
|
|
|
|
<module>hbase-hbtop</module>
|
|
|
|
|
<module>hbase-asyncfs</module>
|
|
|
|
|
<module>hbase-logging</module>
|
|
|
|
|
<module>hbase-compression</module>
|
|
|
|
|
</modules>
|
|
|
|
|
<scm>
|
|
|
|
|
<connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
|
|
|
|
|
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
|
|
|
|
|
<url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
|
|
|
|
|
</scm>
|
|
|
|
|
<issueManagement>
|
|
|
|
|
<system>JIRA</system>
|
|
|
|
|
<url>https://issues.apache.org/jira/browse/HBASE</url>
|
|
|
|
|
</issueManagement>
|
|
|
|
|
<distributionManagement>
|
|
|
|
|
<site>
|
|
|
|
|
<id>hbase.apache.org</id>
|
|
|
|
|
<name>HBase Website at hbase.apache.org</name>
|
|
|
|
|
<!-- On why this is the tmp dir and not hbase.apache.org, see
|
|
|
|
|
https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
|
|
|
|
|
-->
|
|
|
|
|
<url>file:///tmp</url>
|
|
|
|
|
</site>
|
|
|
|
|
</distributionManagement>
|
2010-04-20 17:10:44 -04:00
|
|
|
|
<properties>
|
2023-02-01 03:54:32 -05:00
|
|
|
|
<revision>2.5.4-SNAPSHOT</revision>
|
2015-07-15 06:12:36 -04:00
|
|
|
|
<!-- override on command line to have generated LICENSE files include
|
|
|
|
|
diagnostic info for verifying notice requirements -->
|
|
|
|
|
<license.debug.print.included>false</license.debug.print.included>
|
|
|
|
|
<!-- When a particular module bundles its depenendencies, should be true -->
|
|
|
|
|
<license.bundles.dependencies>false</license.bundles.dependencies>
|
|
|
|
|
<!-- modules that include a the logo in their source tree should set true -->
|
|
|
|
|
<license.bundles.logo>false</license.bundles.logo>
|
|
|
|
|
<!-- modules that include bootstrap in their source tree should set true -->
|
|
|
|
|
<license.bundles.bootstrap>false</license.bundles.bootstrap>
|
|
|
|
|
<!-- modules that include jquery in their source tree should set true -->
|
|
|
|
|
<license.bundles.jquery>false</license.bundles.jquery>
|
HBASE-25896 Implement a Region Visualization on Master WebUI (#4228)
This is a demonstration of visualization of regions on the cluster. The visualization is a stacked
bar chart showing total storefile size per table per region server, with the x-axis being server
names, the y-axis being storfile size, and the bars stacked per table. The visualization is
generated entirely on the fly from within the browser, implemented using Vega Lite. So far, Vega
appears to handle rendering this visualization for a cluster of over 700 region servers with
approximately 300,000 regions.
Per [0], include an update to the top-level LICENSE.txt. Also update LICENSE files in all binary
distributions (i.e., jars), by way of LICENSE.vm. Vega uses a BSD 3-clause variant without
advertising clause, and as such is a "Category A" license, per [1].
No changes are made to the NOTICE files, as per the existing example of bundling the minified
JQuery, which is also a Category A license.
[0]: https://infra.apache.org/licensing-howto.html
[1]: https://www.apache.org/legal/resolved.html#category-a
Signed-off-by: Andrew Purtell <apurtell@apache.org>
2022-03-15 16:01:57 -04:00
|
|
|
|
<!-- modules that include vega in their source tree should set true -->
|
|
|
|
|
<license.bundles.vega>false</license.bundles.vega>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<tar.name>${project.build.finalName}.tar.gz</tar.name>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm</maven.build.timestamp.format>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<buildDate>${maven.build.timestamp}</buildDate>
|
2016-09-12 03:44:31 -04:00
|
|
|
|
<compileSource>1.8</compileSource>
|
2022-03-12 03:51:49 -05:00
|
|
|
|
<releaseTarget>8</releaseTarget>
|
2014-10-30 12:28:35 -04:00
|
|
|
|
<!-- Build dependencies -->
|
2022-10-24 00:15:18 -04:00
|
|
|
|
<!-- The $revision feature is introduced in 3.5.0 -->
|
|
|
|
|
<maven.min.version>3.5.0</maven.min.version>
|
2014-10-30 12:28:35 -04:00
|
|
|
|
<java.min.version>${compileSource}</java.min.version>
|
2010-10-03 23:19:26 -04:00
|
|
|
|
<!-- Dependencies -->
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<hadoop-two.version>2.10.2</hadoop-two.version>
|
2022-08-12 02:31:48 -04:00
|
|
|
|
<hadoop-three.version>3.2.4</hadoop-three.version>
|
2016-06-09 14:30:45 -04:00
|
|
|
|
<!-- These must be defined here for downstream build tools that don't look at profiles.
|
|
|
|
|
They ought to match the values found in our default hadoop profile, which is
|
|
|
|
|
currently "hadoop-2.0". See HBASE-15925 for more info. -->
|
|
|
|
|
<hadoop.version>${hadoop-two.version}</hadoop.version>
|
2017-09-02 16:14:09 -04:00
|
|
|
|
<hadoop.guava.version>11.0.2</hadoop.guava.version>
|
2016-06-09 14:30:45 -04:00
|
|
|
|
<compat.module>hbase-hadoop2-compat</compat.module>
|
|
|
|
|
<assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
|
2018-04-09 14:37:44 -04:00
|
|
|
|
<!--This property is for hadoops netty. HBase netty
|
2023-01-25 17:45:02 -05:00
|
|
|
|
comes in via hbase-thirdparty hbase-shaded-netty.
|
|
|
|
|
Note this is overridden by hadoop-specific profiles below. -->
|
|
|
|
|
<netty.hadoop.version>3.10.6.Final</netty.hadoop.version>
|
2016-06-09 14:30:45 -04:00
|
|
|
|
<!-- end HBASE-15925 default hadoop compatibility values -->
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<audience-annotations.version>0.13.0</audience-annotations.version>
|
|
|
|
|
<!--
|
|
|
|
|
The version used when generating javadoc, 0.13.0 is the latest version which supports jdk8.
|
|
|
|
|
When building with jdk11, we will use 0.14.1, please see the build-with-jdk11 profile.
|
|
|
|
|
-->
|
|
|
|
|
<javadoc.audience-annotations.version>0.13.0</javadoc.audience-annotations.version>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<avro.version>1.11.0</avro.version>
|
2020-01-26 23:45:03 -05:00
|
|
|
|
<caffeine.version>2.8.1</caffeine.version>
|
2023-01-27 09:40:04 -05:00
|
|
|
|
<commons-codec.version>1.15</commons-codec.version>
|
2021-10-06 04:19:17 -04:00
|
|
|
|
<commons-io.version>2.11.0</commons-io.version>
|
2019-06-19 11:34:59 -04:00
|
|
|
|
<commons-lang3.version>3.9</commons-lang3.version>
|
2017-08-25 07:34:03 -04:00
|
|
|
|
<commons-math.version>3.6.1</commons-math.version>
|
2020-01-26 23:45:03 -05:00
|
|
|
|
<disruptor.version>3.4.2</disruptor.version>
|
2022-03-30 17:30:53 -04:00
|
|
|
|
<httpclient.version>4.5.13</httpclient.version>
|
2020-01-26 23:45:03 -05:00
|
|
|
|
<httpcore.version>4.4.13</httpcore.version>
|
2019-04-07 11:25:48 -04:00
|
|
|
|
<metrics-core.version>3.2.6</metrics-core.version>
|
2023-01-20 12:08:31 -05:00
|
|
|
|
<jackson.version>2.14.1</jackson.version>
|
|
|
|
|
<jackson.databind.version>2.14.1</jackson.databind.version>
|
2020-08-25 00:05:52 -04:00
|
|
|
|
<jaxb-api.version>2.3.1</jaxb-api.version>
|
2017-01-30 14:54:54 -05:00
|
|
|
|
<servlet.api.version>3.1.0</servlet.api.version>
|
2022-03-19 07:46:08 -04:00
|
|
|
|
<wx.rs.api.version>2.1.1</wx.rs.api.version>
|
2017-09-04 16:10:20 -04:00
|
|
|
|
<glassfish.jsp.version>2.3.2</glassfish.jsp.version>
|
2017-09-15 20:30:12 -04:00
|
|
|
|
<glassfish.el.version>3.0.1-b08</glassfish.el.version>
|
2023-01-31 22:41:19 -05:00
|
|
|
|
<jruby.version>9.2.13.0</jruby.version>
|
2022-01-04 10:58:06 -05:00
|
|
|
|
<junit.version>4.13.2</junit.version>
|
2015-01-21 16:12:57 -05:00
|
|
|
|
<hamcrest.version>1.3</hamcrest.version>
|
2022-07-06 07:55:34 -04:00
|
|
|
|
<opentelemetry.version>1.15.0</opentelemetry.version>
|
|
|
|
|
<opentelemetry-javaagent.version>1.15.0</opentelemetry-javaagent.version>
|
2022-03-11 14:17:43 -05:00
|
|
|
|
<log4j2.version>2.17.2</log4j2.version>
|
2019-09-18 09:16:19 -04:00
|
|
|
|
<mockito-core.version>2.28.2</mockito-core.version>
|
2016-10-27 16:17:59 -04:00
|
|
|
|
<!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
|
2021-11-22 10:13:27 -05:00
|
|
|
|
<external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
|
2016-10-27 16:17:59 -04:00
|
|
|
|
<external.protobuf.version>2.5.0</external.protobuf.version>
|
2021-11-22 10:13:27 -05:00
|
|
|
|
<external.protoc.version>${external.protobuf.version}</external.protoc.version>
|
2020-01-26 23:45:03 -05:00
|
|
|
|
<protobuf.plugin.version>0.6.1</protobuf.plugin.version>
|
2014-11-05 03:59:23 -05:00
|
|
|
|
<thrift.path>thrift</thrift.path>
|
2021-03-26 00:03:02 -04:00
|
|
|
|
<thrift.version>0.14.1</thrift.version>
|
2020-04-13 16:46:37 -04:00
|
|
|
|
<zookeeper.version>3.5.7</zookeeper.version>
|
|
|
|
|
<jline.version>2.11</jline.version>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<slf4j.version>1.7.33</slf4j.version>
|
2015-05-02 00:53:13 -04:00
|
|
|
|
<clover.version>4.0.3</clover.version>
|
2015-10-13 20:25:02 -04:00
|
|
|
|
<jamon-runtime.version>2.4.1</jamon-runtime.version>
|
2023-01-03 01:11:43 -05:00
|
|
|
|
<jettison.version>1.5.2</jettison.version>
|
2017-05-18 12:32:40 -04:00
|
|
|
|
<!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
|
2023-01-31 22:41:19 -05:00
|
|
|
|
<joni.version>2.1.31</joni.version>
|
|
|
|
|
<jcodings.version>1.0.55</jcodings.version>
|
2017-05-03 08:43:51 -04:00
|
|
|
|
<spy.version>2.12.2</spy.version>
|
2022-10-10 18:55:57 -04:00
|
|
|
|
<bouncycastle.version>1.70</bouncycastle.version>
|
2022-11-17 08:10:53 -05:00
|
|
|
|
<skyscreamer.version>1.5.1</skyscreamer.version>
|
2017-10-19 10:05:50 -04:00
|
|
|
|
<kerby.version>1.0.1</kerby.version>
|
2022-07-06 06:57:15 -04:00
|
|
|
|
<commons-crypto.version>1.1.0</commons-crypto.version>
|
2019-09-23 05:59:06 -04:00
|
|
|
|
<curator.version>4.2.0</curator.version>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<!-- Plugin Dependencies -->
|
2017-06-29 09:37:22 -04:00
|
|
|
|
<build.helper.maven.version>3.0.0</build.helper.maven.version>
|
|
|
|
|
<buildnumber.maven.version>1.4</buildnumber.maven.version>
|
2020-01-27 13:45:27 -05:00
|
|
|
|
<!--
|
|
|
|
|
When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
|
|
|
|
|
-->
|
2022-03-31 17:18:02 -04:00
|
|
|
|
<checkstyle.version>8.29</checkstyle.version>
|
2017-06-29 09:37:22 -04:00
|
|
|
|
<exec.maven.version>1.6.0</exec.maven.version>
|
2022-11-07 10:14:26 -05:00
|
|
|
|
<error-prone.version>2.16</error-prone.version>
|
2017-06-29 09:37:22 -04:00
|
|
|
|
<jamon.plugin.version>2.4.2</jamon.plugin.version>
|
|
|
|
|
<lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
|
|
|
|
|
<maven.antrun.version>1.8</maven.antrun.version>
|
|
|
|
|
<maven.bundle.version>3.3.0</maven.bundle.version>
|
2020-01-17 20:09:16 -05:00
|
|
|
|
<maven.checkstyle.version>3.1.0</maven.checkstyle.version>
|
2017-06-29 09:37:22 -04:00
|
|
|
|
<maven.eclipse.version>2.10</maven.eclipse.version>
|
2021-12-17 20:58:17 -05:00
|
|
|
|
<maven.gpg.version>3.0.1</maven.gpg.version>
|
2022-05-13 03:05:37 -04:00
|
|
|
|
<maven.javadoc.version>3.4.0</maven.javadoc.version>
|
2018-03-21 21:24:14 -04:00
|
|
|
|
<maven.warbucks.version>1.1.0</maven.warbucks.version>
|
2021-12-03 22:59:31 -05:00
|
|
|
|
<maven.project.info.report.version>3.1.2</maven.project.info.report.version>
|
2017-06-29 09:37:22 -04:00
|
|
|
|
<os.maven.version>1.5.0.Final</os.maven.version>
|
2020-03-11 22:18:09 -04:00
|
|
|
|
<findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
|
2022-10-28 06:40:40 -04:00
|
|
|
|
<spotbugs.version>4.7.3</spotbugs.version>
|
|
|
|
|
<spotbugs.maven.version>4.7.2.1</spotbugs.maven.version>
|
2022-04-06 23:29:27 -04:00
|
|
|
|
<surefire.version>3.0.0-M6</surefire.version>
|
2017-06-29 09:37:22 -04:00
|
|
|
|
<wagon.ssh.version>2.12</wagon.ssh.version>
|
|
|
|
|
<xml.maven.version>1.0.1</xml.maven.version>
|
2022-10-12 11:14:08 -04:00
|
|
|
|
<spotless.version>2.27.2</spotless.version>
|
2022-05-13 03:05:37 -04:00
|
|
|
|
<maven-site.version>3.12.0</maven-site.version>
|
2021-10-06 16:17:18 -04:00
|
|
|
|
<!-- compression -->
|
|
|
|
|
<aircompressor.version>0.21</aircompressor.version>
|
2022-08-29 12:11:52 -04:00
|
|
|
|
<brotli4j.version>1.8.0</brotli4j.version>
|
2021-10-06 16:17:18 -04:00
|
|
|
|
<lz4.version>1.8.0</lz4.version>
|
|
|
|
|
<snappy.version>1.1.8.4</snappy.version>
|
|
|
|
|
<xz.version>1.9</xz.version>
|
|
|
|
|
<zstd-jni.version>1.5.0-4</zstd-jni.version>
|
2023-01-20 12:08:31 -05:00
|
|
|
|
<hbase-thirdparty.version>4.1.4</hbase-thirdparty.version>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<!-- Intraproject jar naming properties -->
|
|
|
|
|
<!-- TODO this is pretty ugly, but works for the moment.
|
|
|
|
|
Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
|
|
|
|
|
<server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
|
2013-01-16 21:11:44 -05:00
|
|
|
|
<common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
|
2015-04-09 15:44:56 -04:00
|
|
|
|
<procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
|
2012-11-29 01:47:34 -05:00
|
|
|
|
<it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
|
2014-10-27 18:40:35 -04:00
|
|
|
|
<annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
|
2016-04-28 20:14:54 -04:00
|
|
|
|
<rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
|
2017-09-11 19:40:18 -04:00
|
|
|
|
<mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
|
2018-05-18 12:11:42 -04:00
|
|
|
|
<zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
|
2020-05-09 00:00:45 -04:00
|
|
|
|
<asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
|
2017-08-10 17:16:20 -04:00
|
|
|
|
<shell-executable>bash</shell-executable>
|
2011-12-05 16:20:04 -05:00
|
|
|
|
<surefire.provider>surefire-junit47</surefire.provider>
|
2012-01-01 10:22:43 -05:00
|
|
|
|
<!-- default: run small & medium, medium with 2 threads -->
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
2011-12-05 16:20:04 -05:00
|
|
|
|
<surefire.skipSecondPart>false</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
|
2020-04-05 15:53:44 -04:00
|
|
|
|
by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
|
2020-02-04 23:47:02 -05:00
|
|
|
|
value is you want to burn through tests faster (could make for more failures
|
|
|
|
|
if more contention around resources). There is a matching MAVEN_ARG
|
2020-04-01 19:05:59 -04:00
|
|
|
|
in our yetus personality where we set the maven -T command to 0.25C too.
|
2020-04-05 15:53:44 -04:00
|
|
|
|
For example, to run at a rate that is more furious than our 0.25C, do
|
|
|
|
|
something like this:
|
|
|
|
|
f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
|
2020-02-04 23:47:02 -05:00
|
|
|
|
-->
|
2020-04-01 19:05:59 -04:00
|
|
|
|
<surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
|
2014-02-19 16:50:42 -05:00
|
|
|
|
<surefire.testFailureIgnore>false</surefire.testFailureIgnore>
|
2012-03-02 13:32:36 -05:00
|
|
|
|
<test.output.tofile>true</test.output.tofile>
|
2013-01-22 15:00:53 -05:00
|
|
|
|
<surefire.timeout>900</surefire.timeout>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<test.exclude.pattern/>
|
2020-03-30 12:31:10 -04:00
|
|
|
|
<!--
|
2020-04-08 13:51:03 -04:00
|
|
|
|
Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
|
|
|
|
|
This value is managed separately for jdk11. See below.
|
2020-03-30 12:31:10 -04:00
|
|
|
|
-->
|
2020-04-08 13:51:03 -04:00
|
|
|
|
<surefire.Xmx>2200m</surefire.Xmx>
|
|
|
|
|
<surefire.cygwinXmx>2200m</surefire.cygwinXmx>
|
2015-11-06 21:39:15 -05:00
|
|
|
|
<!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
|
2020-03-11 13:25:11 -04:00
|
|
|
|
|
|
|
|
|
And for netty eventloops that have no explicit configuration, netty sets
|
|
|
|
|
nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
|
|
|
|
|
clusters/tests.
|
2015-10-07 16:41:27 -04:00
|
|
|
|
-->
|
2015-11-06 21:39:15 -05:00
|
|
|
|
<hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
|
2016-09-24 19:07:25 -04:00
|
|
|
|
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
|
2018-10-31 22:44:25 -04:00
|
|
|
|
-Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
|
2019-09-18 08:37:19 -04:00
|
|
|
|
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
|
2022-03-28 09:13:58 -04:00
|
|
|
|
-Dio.netty.eventLoopThreads=3</hbase-surefire.argLine>
|
2016-09-24 19:07:25 -04:00
|
|
|
|
<hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
|
2014-10-02 16:35:15 -04:00
|
|
|
|
-Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
|
|
|
|
|
"-Djava.library.path=${hadoop.library.path};${java.library.path}"
|
2022-03-31 11:29:51 -04:00
|
|
|
|
-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
|
|
|
|
|
-Dio.opentelemetry.context.enableStrictContext=true</hbase-surefire.cygwin-argLine>
|
2015-10-14 15:22:27 -04:00
|
|
|
|
<!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
|
|
|
|
|
<argLine>${hbase-surefire.argLine}</argLine>
|
2015-06-14 10:03:20 -04:00
|
|
|
|
<jacoco.version>0.7.5.201505241946</jacoco.version>
|
2022-02-23 04:33:03 -05:00
|
|
|
|
<extra.enforcer.version>1.5.1</extra.enforcer.version>
|
|
|
|
|
<enforcer.version>3.0.0</enforcer.version>
|
2018-12-23 22:30:13 -05:00
|
|
|
|
<restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
|
2015-10-13 02:10:06 -04:00
|
|
|
|
<!-- Location of test resources -->
|
|
|
|
|
<test.build.classes>${project.build.directory}/test-classes</test.build.classes>
|
2020-10-05 20:35:16 -04:00
|
|
|
|
<test.tmp.dir>${project.build.directory}</test.tmp.dir>
|
2015-11-06 21:39:15 -05:00
|
|
|
|
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
|
|
|
|
|
<!--This build.id we'll add as flag so can identify which forked processes belong to our build.
|
|
|
|
|
Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
|
|
|
|
|
this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
|
|
|
|
|
<build.id>${maven.build.timestamp}</build.id>
|
2017-11-04 15:34:13 -04:00
|
|
|
|
<shell-executable>bash</shell-executable>
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<!-- Still need this to ignore some errors when building javadoc-->
|
2018-02-26 12:36:44 -05:00
|
|
|
|
<doclint>none</doclint>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
<javax.activation.version>1.2.0</javax.activation.version>
|
2018-01-12 18:06:08 -05:00
|
|
|
|
</properties>
|
2010-10-03 23:19:26 -04:00
|
|
|
|
<!-- Sorted by groups of dependencies then groupId and artifactId -->
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<!--
|
2010-10-03 23:19:26 -04:00
|
|
|
|
Note: There are a few exclusions to prevent duplicate code in different jars to be included:
|
2014-02-07 12:06:00 -05:00
|
|
|
|
org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
|
2010-10-03 23:19:26 -04:00
|
|
|
|
the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
|
|
|
|
|
implementation of the same, because Hadoop also uses this version
|
2018-04-09 14:37:44 -04:00
|
|
|
|
javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
|
|
|
|
|
is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
|
2012-05-26 01:56:04 -04:00
|
|
|
|
-->
|
|
|
|
|
<!-- Intra-module dependencies -->
|
2014-10-07 02:16:22 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-annotations</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
2014-10-27 17:58:55 -04:00
|
|
|
|
<!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
|
2014-10-07 02:16:22 -04:00
|
|
|
|
</dependency>
|
2012-05-30 19:51:44 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-common</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2012-09-26 08:23:43 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-common</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2020-05-13 05:59:21 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-logging</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-logging</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
HBASE-15638 Shade protobuf
Which includes
HBASE-16742 Add chapter for devs on how we do protobufs going forward
HBASE-16741 Amend the generate protobufs out-of-band build step
to include shade, pulling in protobuf source and a hook for patching protobuf
Removed ByteStringer from hbase-protocol-shaded. Use the protobuf-3.1.0
trick directly instead. Makes stuff cleaner. All under 'shaded' dir is
now generated.
HBASE-16567 Upgrade to protobuf-3.1.x
Regenerate all protos in this module with protoc3.
Redo ByteStringer to use new pb3.1.0 unsafebytesutil
instead of HBaseZeroCopyByteString
HBASE-16264 Figure how to deal with endpoints and shaded pb Shade our protobufs.
Do it in a manner that makes it so we can still have in our API references to
com.google.protobuf (and in REST). The c.g.p in API is for Coprocessor Endpoints (CPEP)
This patch is Tactic #4 from Shading Doc attached to the referenced issue.
Figuring an appoach took a while because we have Coprocessor Endpoints
mixed in with the core of HBase that are tough to untangle (FIX).
Tactic #4 (the fourth attempt at addressing this issue) is COPY all but
the CPEP .proto files currently in hbase-protocol to a new module named
hbase-protocol-shaded. Generate .protos again in the new location and
then relocate/shade the generated files. Let CPEPs keep on with the
old references at com.google.protobuf.* and
org.apache.hadoop.hbase.protobuf.* but change the hbase core so all
instead refer to the relocated files in their new location at
org.apache.hadoop.hbase.shaded.com.google.protobuf.*.
Let the new module also shade protobufs themselves and change hbase
core to pick up this shaded protobuf rather than directly reference
com.google.protobuf.
This approach allows us to explicitly refer to either the shaded or
non-shaded version of a protobuf class in any particular context (though
usually context dictates one or the other). Core runs on shaded protobuf.
CPEPs continue to use whatever is on the classpath with
com.google.protobuf.* which is pb2.5.0 for the near future at least.
See above cited doc for follow-ons and downsides. In short, IDEs will complain
about not being able to find the shaded protobufs since shading happens at package
time; will fix by checking in all generated classes and relocated protobuf in
a follow-on. Also, CPEPs currently suffer an extra-copy as marshalled from
non-shaded to shaded. To fix. Finally, our .protos are duplicated; once
shaded, and once not. Pain, but how else to reveal our protos to CPEPs or
C++ client that wants to talk with HBase AND shade protobuf.
Details:
Add a new hbase-protocol-shaded module. It is a copy of hbase-protocol
i with all relocated offset from o.a.h.h. to o.a.h.h.shaded. The new module
also includes the relocated pb. It does not include CPEPs. They stay in
their old location.
Add another module hbase-endpoint which has in it all the endpoints
that ship as part of hbase -- at least the ones that are not
entangled with core such as AccessControl and Auth. Move all protos
for these CPEPs here as well as their unit tests (mostly moving a
bunch of stuff out of hbase-server module)
Much of the change looks like this:
-import org.apache.hadoop.hbase.protobuf.ProtobufUtil;
-import org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos;
+import org.apache.hadoop.hbase.protobuf.shaded.ProtobufUtil;
+import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos;
In HTable and in HBaseAdmin, regularize the way Callables are used and also hide
protobuf usage as much as possible moving it up into Callable super classes or out
to utility classes. Still TODO is adding in of retries, etc., but can wait on
procedure which will redo all this.
Also in HTable and HBaseAdmin as well as in HRegionServer and Server, be explicit
when using non-shaded protobuf. Do the full-path so it is clear. This is around
endpoint coprocessors registration of services and execution of CPEP methods.
Shrunk ProtobufUtil by moving methods used by one CPEP only back to the CPEP either
into Client class or as new Util class; e.g. AccessControlUtil.
There are actually two versions of ProtobufUtil now; a shaded one and a subset
that is used by CPEPs doing non-shaded work.
Made it so hbase-common no longer depends on hbase-protocol (with Matteo's help)
R*Converter classes got moved down under shaded package -- they are for internal
use only. There are no non-shaded versions of these classes.
D hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRegionServerCallable
D RetryingCallableBase
Not used anymore and we have too many tiers of Callables so removed/cleaned-up.
A ClientServicecallable
Had to add this one. RegionServerCallable was made generic so it could be used
for a few Interfaces (Client and Admin). Then added ClientServiceCallable to
implement RegionServerCallable with the Client Interface.
2016-10-04 00:37:32 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-protocol-shaded</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2012-11-20 18:26:00 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-protocol</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2015-04-09 15:44:56 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-procedure</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-procedure</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
</dependency>
|
2012-07-17 18:02:06 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-hadoop-compat</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2012-09-07 01:28:31 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-hadoop-compat</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2012-07-17 18:02:06 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>${compat.module}</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2012-09-07 01:28:31 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>${compat.module}</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2016-03-14 21:28:50 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-rsgroup</artifactId>
|
2016-03-14 21:28:50 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-rsgroup</artifactId>
|
2016-03-14 21:28:50 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2017-08-17 23:59:35 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-replication</artifactId>
|
2017-08-17 23:59:35 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2017-10-21 21:12:07 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-http</artifactId>
|
2017-10-21 21:12:07 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-http</artifactId>
|
2017-10-21 21:12:07 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-server</artifactId>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-server</artifactId>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
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-20 17:34:16 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-mapreduce</artifactId>
|
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-20 17:34:16 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-mapreduce</artifactId>
|
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-20 17:34:16 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
HBASE-15638 Shade protobuf
Which includes
HBASE-16742 Add chapter for devs on how we do protobufs going forward
HBASE-16741 Amend the generate protobufs out-of-band build step
to include shade, pulling in protobuf source and a hook for patching protobuf
Removed ByteStringer from hbase-protocol-shaded. Use the protobuf-3.1.0
trick directly instead. Makes stuff cleaner. All under 'shaded' dir is
now generated.
HBASE-16567 Upgrade to protobuf-3.1.x
Regenerate all protos in this module with protoc3.
Redo ByteStringer to use new pb3.1.0 unsafebytesutil
instead of HBaseZeroCopyByteString
HBASE-16264 Figure how to deal with endpoints and shaded pb Shade our protobufs.
Do it in a manner that makes it so we can still have in our API references to
com.google.protobuf (and in REST). The c.g.p in API is for Coprocessor Endpoints (CPEP)
This patch is Tactic #4 from Shading Doc attached to the referenced issue.
Figuring an appoach took a while because we have Coprocessor Endpoints
mixed in with the core of HBase that are tough to untangle (FIX).
Tactic #4 (the fourth attempt at addressing this issue) is COPY all but
the CPEP .proto files currently in hbase-protocol to a new module named
hbase-protocol-shaded. Generate .protos again in the new location and
then relocate/shade the generated files. Let CPEPs keep on with the
old references at com.google.protobuf.* and
org.apache.hadoop.hbase.protobuf.* but change the hbase core so all
instead refer to the relocated files in their new location at
org.apache.hadoop.hbase.shaded.com.google.protobuf.*.
Let the new module also shade protobufs themselves and change hbase
core to pick up this shaded protobuf rather than directly reference
com.google.protobuf.
This approach allows us to explicitly refer to either the shaded or
non-shaded version of a protobuf class in any particular context (though
usually context dictates one or the other). Core runs on shaded protobuf.
CPEPs continue to use whatever is on the classpath with
com.google.protobuf.* which is pb2.5.0 for the near future at least.
See above cited doc for follow-ons and downsides. In short, IDEs will complain
about not being able to find the shaded protobufs since shading happens at package
time; will fix by checking in all generated classes and relocated protobuf in
a follow-on. Also, CPEPs currently suffer an extra-copy as marshalled from
non-shaded to shaded. To fix. Finally, our .protos are duplicated; once
shaded, and once not. Pain, but how else to reveal our protos to CPEPs or
C++ client that wants to talk with HBase AND shade protobuf.
Details:
Add a new hbase-protocol-shaded module. It is a copy of hbase-protocol
i with all relocated offset from o.a.h.h. to o.a.h.h.shaded. The new module
also includes the relocated pb. It does not include CPEPs. They stay in
their old location.
Add another module hbase-endpoint which has in it all the endpoints
that ship as part of hbase -- at least the ones that are not
entangled with core such as AccessControl and Auth. Move all protos
for these CPEPs here as well as their unit tests (mostly moving a
bunch of stuff out of hbase-server module)
Much of the change looks like this:
-import org.apache.hadoop.hbase.protobuf.ProtobufUtil;
-import org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos;
+import org.apache.hadoop.hbase.protobuf.shaded.ProtobufUtil;
+import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos;
In HTable and in HBaseAdmin, regularize the way Callables are used and also hide
protobuf usage as much as possible moving it up into Callable super classes or out
to utility classes. Still TODO is adding in of retries, etc., but can wait on
procedure which will redo all this.
Also in HTable and HBaseAdmin as well as in HRegionServer and Server, be explicit
when using non-shaded protobuf. Do the full-path so it is clear. This is around
endpoint coprocessors registration of services and execution of CPEP methods.
Shrunk ProtobufUtil by moving methods used by one CPEP only back to the CPEP either
into Client class or as new Util class; e.g. AccessControlUtil.
There are actually two versions of ProtobufUtil now; a shaded one and a subset
that is used by CPEPs doing non-shaded work.
Made it so hbase-common no longer depends on hbase-protocol (with Matteo's help)
R*Converter classes got moved down under shaded package -- they are for internal
use only. There are no non-shaded versions of these classes.
D hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRegionServerCallable
D RetryingCallableBase
Not used anymore and we have too many tiers of Callables so removed/cleaned-up.
A ClientServicecallable
Had to add this one. RegionServerCallable was made generic so it could be used
for a few Interfaces (Client and Admin). Then added ClientServiceCallable to
implement RegionServerCallable with the Client Interface.
2016-10-04 00:37:32 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-endpoint</artifactId>
|
HBASE-15638 Shade protobuf
Which includes
HBASE-16742 Add chapter for devs on how we do protobufs going forward
HBASE-16741 Amend the generate protobufs out-of-band build step
to include shade, pulling in protobuf source and a hook for patching protobuf
Removed ByteStringer from hbase-protocol-shaded. Use the protobuf-3.1.0
trick directly instead. Makes stuff cleaner. All under 'shaded' dir is
now generated.
HBASE-16567 Upgrade to protobuf-3.1.x
Regenerate all protos in this module with protoc3.
Redo ByteStringer to use new pb3.1.0 unsafebytesutil
instead of HBaseZeroCopyByteString
HBASE-16264 Figure how to deal with endpoints and shaded pb Shade our protobufs.
Do it in a manner that makes it so we can still have in our API references to
com.google.protobuf (and in REST). The c.g.p in API is for Coprocessor Endpoints (CPEP)
This patch is Tactic #4 from Shading Doc attached to the referenced issue.
Figuring an appoach took a while because we have Coprocessor Endpoints
mixed in with the core of HBase that are tough to untangle (FIX).
Tactic #4 (the fourth attempt at addressing this issue) is COPY all but
the CPEP .proto files currently in hbase-protocol to a new module named
hbase-protocol-shaded. Generate .protos again in the new location and
then relocate/shade the generated files. Let CPEPs keep on with the
old references at com.google.protobuf.* and
org.apache.hadoop.hbase.protobuf.* but change the hbase core so all
instead refer to the relocated files in their new location at
org.apache.hadoop.hbase.shaded.com.google.protobuf.*.
Let the new module also shade protobufs themselves and change hbase
core to pick up this shaded protobuf rather than directly reference
com.google.protobuf.
This approach allows us to explicitly refer to either the shaded or
non-shaded version of a protobuf class in any particular context (though
usually context dictates one or the other). Core runs on shaded protobuf.
CPEPs continue to use whatever is on the classpath with
com.google.protobuf.* which is pb2.5.0 for the near future at least.
See above cited doc for follow-ons and downsides. In short, IDEs will complain
about not being able to find the shaded protobufs since shading happens at package
time; will fix by checking in all generated classes and relocated protobuf in
a follow-on. Also, CPEPs currently suffer an extra-copy as marshalled from
non-shaded to shaded. To fix. Finally, our .protos are duplicated; once
shaded, and once not. Pain, but how else to reveal our protos to CPEPs or
C++ client that wants to talk with HBase AND shade protobuf.
Details:
Add a new hbase-protocol-shaded module. It is a copy of hbase-protocol
i with all relocated offset from o.a.h.h. to o.a.h.h.shaded. The new module
also includes the relocated pb. It does not include CPEPs. They stay in
their old location.
Add another module hbase-endpoint which has in it all the endpoints
that ship as part of hbase -- at least the ones that are not
entangled with core such as AccessControl and Auth. Move all protos
for these CPEPs here as well as their unit tests (mostly moving a
bunch of stuff out of hbase-server module)
Much of the change looks like this:
-import org.apache.hadoop.hbase.protobuf.ProtobufUtil;
-import org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos;
+import org.apache.hadoop.hbase.protobuf.shaded.ProtobufUtil;
+import org.apache.hadoop.hbase.shaded.protobuf.generated.ClusterIdProtos;
In HTable and in HBaseAdmin, regularize the way Callables are used and also hide
protobuf usage as much as possible moving it up into Callable super classes or out
to utility classes. Still TODO is adding in of retries, etc., but can wait on
procedure which will redo all this.
Also in HTable and HBaseAdmin as well as in HRegionServer and Server, be explicit
when using non-shaded protobuf. Do the full-path so it is clear. This is around
endpoint coprocessors registration of services and execution of CPEP methods.
Shrunk ProtobufUtil by moving methods used by one CPEP only back to the CPEP either
into Client class or as new Util class; e.g. AccessControlUtil.
There are actually two versions of ProtobufUtil now; a shaded one and a subset
that is used by CPEPs doing non-shaded work.
Made it so hbase-common no longer depends on hbase-protocol (with Matteo's help)
R*Converter classes got moved down under shaded package -- they are for internal
use only. There are no non-shaded versions of these classes.
D hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRegionServerCallable
D RetryingCallableBase
Not used anymore and we have too many tiers of Callables so removed/cleaned-up.
A ClientServicecallable
Had to add this one. RegionServerCallable was made generic so it could be used
for a few Interfaces (Client and Admin). Then added ClientServiceCallable to
implement RegionServerCallable with the Client Interface.
2016-10-04 00:37:32 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2013-09-23 12:40:51 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-shell</artifactId>
|
2013-09-23 12:40:51 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-shell</artifactId>
|
2013-09-23 12:40:51 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2013-09-20 16:44:22 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-thrift</artifactId>
|
2013-09-20 16:44:22 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-thrift</artifactId>
|
2013-09-20 16:44:22 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-testing-util</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2012-11-06 16:22:27 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-examples</artifactId>
|
2012-11-06 16:22:27 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2015-08-28 19:13:36 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-external-blockcache</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2012-11-29 01:47:34 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-it</artifactId>
|
2012-11-29 01:47:34 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2012-12-03 16:30:19 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-client</artifactId>
|
2012-12-03 16:30:19 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2022-02-09 09:22:31 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-client</artifactId>
|
2022-02-09 09:22:31 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2017-01-25 14:47:35 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-metrics-api</artifactId>
|
2017-01-25 14:47:35 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-metrics-api</artifactId>
|
2017-01-25 14:47:35 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-metrics</artifactId>
|
2017-01-25 14:47:35 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-metrics</artifactId>
|
2017-01-25 14:47:35 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2017-11-09 17:36:03 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-rest</artifactId>
|
2017-11-09 17:36:03 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-resource-bundle</artifactId>
|
2017-11-09 17:36:03 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2017-11-13 14:42:33 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-zookeeper</artifactId>
|
2017-11-13 14:42:33 -05:00
|
|
|
|
<version>${project.version}</version>
|
2020-01-26 23:45:03 -05:00
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
|
<artifactId>spotbugs-annotations</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2017-11-13 14:42:33 -05:00
|
|
|
|
</dependency>
|
2017-12-06 03:38:34 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-zookeeper</artifactId>
|
2017-12-06 03:38:34 -05:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2019-09-07 01:02:52 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hbase-hbtop</artifactId>
|
2019-09-07 01:02:52 -04:00
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2018-02-07 18:37:39 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-client</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2018-05-18 12:11:42 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-client-byo-hadoop</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2018-02-07 18:37:39 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-mapreduce</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2020-05-09 00:00:45 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-asyncfs</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-asyncfs</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2021-10-06 16:17:18 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-compression-aircompressor</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2022-04-22 19:42:12 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-compression-brotli</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2021-10-06 16:17:18 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-compression-lz4</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-compression-snappy</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-compression-xz</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-compression-zstd</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<!-- General dependencies -->
|
2016-08-02 02:17:59 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.stephenc.findbugs</groupId>
|
|
|
|
|
<artifactId>findbugs-annotations</artifactId>
|
2020-03-11 22:18:09 -04:00
|
|
|
|
<version>${findbugs-annotations.version}</version>
|
2016-08-02 02:17:59 -04:00
|
|
|
|
</dependency>
|
2020-05-13 05:59:21 -04:00
|
|
|
|
<!--
|
|
|
|
|
Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
|
2022-03-11 14:17:43 -05:00
|
|
|
|
modules should depend on slf4j-api at compile scope, and then depend on log4j-slf4j-impl
|
|
|
|
|
and log4j2 at test scope(and in hbase-assembly when shipping the binary) to redirect the
|
2020-05-13 05:59:21 -04:00
|
|
|
|
log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
|
|
|
|
|
scope as it will mess up the logging framework for downstream users.
|
|
|
|
|
Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
|
|
|
|
|
on use these logging framework so we need to redirect their log message to slf4j, and then
|
|
|
|
|
redirect the log message to our log4j framework.
|
|
|
|
|
-->
|
2012-07-19 00:20:20 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.codehaus.jettison</groupId>
|
|
|
|
|
<artifactId>jettison</artifactId>
|
|
|
|
|
<version>${jettison.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-11 14:17:43 -05:00
|
|
|
|
<!-- Logging -->
|
2020-05-13 05:59:21 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>jcl-over-slf4j</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>jul-to-slf4j</artifactId>
|
|
|
|
|
<version>${slf4j.version}</version>
|
|
|
|
|
</dependency>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<dependency>
|
2022-03-11 14:17:43 -05:00
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-api</artifactId>
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-core</artifactId>
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-slf4j-impl</artifactId>
|
|
|
|
|
<version>${log4j2.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.logging.log4j</groupId>
|
|
|
|
|
<artifactId>log4j-1.2-api</artifactId>
|
|
|
|
|
<version>${log4j2.version}</version>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
</dependency>
|
2017-06-16 18:57:00 -04:00
|
|
|
|
<!-- Avro dependencies we mostly get transitively, manual version coallescing -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.avro</groupId>
|
|
|
|
|
<artifactId>avro</artifactId>
|
|
|
|
|
<version>${avro.version}</version>
|
|
|
|
|
</dependency>
|
2019-04-16 16:22:01 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
|
<version>${caffeine.version}</version>
|
|
|
|
|
</dependency>
|
2012-05-30 11:09:36 -04:00
|
|
|
|
<dependency>
|
2015-12-15 15:11:27 -05:00
|
|
|
|
<groupId>io.dropwizard.metrics</groupId>
|
2012-05-30 19:51:44 -04:00
|
|
|
|
<artifactId>metrics-core</artifactId>
|
|
|
|
|
<version>${metrics-core.version}</version>
|
2012-05-30 11:09:36 -04:00
|
|
|
|
</dependency>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<dependency>
|
2016-05-05 16:41:26 -04:00
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
<artifactId>httpclient</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<version>${httpclient.version}</version>
|
|
|
|
|
</dependency>
|
2016-06-15 12:26:44 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
|
|
<version>${httpcore.version}</version>
|
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
|
<version>${commons-codec.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
<version>${commons-io.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
2017-08-24 14:10:17 -04:00
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
<version>${commons-lang3.version}</version>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
</dependency>
|
2012-05-30 16:53:15 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
2017-08-25 07:34:03 -04:00
|
|
|
|
<artifactId>commons-math3</artifactId>
|
2012-05-30 16:53:15 -04:00
|
|
|
|
<version>${commons-math.version}</version>
|
|
|
|
|
</dependency>
|
2018-04-09 14:37:44 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
|
|
|
|
|
HBaseTestingUtil.
|
|
|
|
|
-->
|
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
|
<version>1.2</version>
|
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
|
<version>${zookeeper.version}</version>
|
|
|
|
|
<exclusions>
|
2020-01-26 23:45:03 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
|
<artifactId>spotbugs-annotations</artifactId>
|
|
|
|
|
</exclusion>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>jline</groupId>
|
|
|
|
|
<artifactId>jline</artifactId>
|
|
|
|
|
</exclusion>
|
2013-07-29 19:12:29 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jmx</groupId>
|
|
|
|
|
<artifactId>jmxri</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jdmk</groupId>
|
|
|
|
|
<artifactId>jmxtools</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.jms</groupId>
|
|
|
|
|
<artifactId>jms</artifactId>
|
|
|
|
|
</exclusion>
|
2013-09-23 12:55:09 -04:00
|
|
|
|
<exclusion>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<groupId>io.netty</groupId>
|
2013-09-23 12:55:09 -04:00
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2020-05-13 05:59:21 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2018-02-28 17:11:02 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>jline</groupId>
|
|
|
|
|
<artifactId>jline</artifactId>
|
|
|
|
|
<version>${jline.version}</version>
|
|
|
|
|
</dependency>
|
2013-09-23 12:55:09 -04:00
|
|
|
|
<dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<groupId>org.apache.thrift</groupId>
|
|
|
|
|
<artifactId>libthrift</artifactId>
|
|
|
|
|
<version>${thrift.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
2021-04-10 03:20:53 -04:00
|
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
|
|
<artifactId>tomcat-embed-core</artifactId>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jruby</groupId>
|
|
|
|
|
<artifactId>jruby-complete</artifactId>
|
|
|
|
|
<version>${jruby.version}</version>
|
|
|
|
|
</dependency>
|
2015-01-21 16:12:57 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jruby.jcodings</groupId>
|
|
|
|
|
<artifactId>jcodings</artifactId>
|
|
|
|
|
<version>${jcodings.version}</version>
|
|
|
|
|
</dependency>
|
2014-10-03 02:06:32 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jruby.joni</groupId>
|
|
|
|
|
<artifactId>joni</artifactId>
|
|
|
|
|
<version>${joni.version}</version>
|
|
|
|
|
</dependency>
|
2018-04-09 14:37:44 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-annotations</artifactId>
|
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-core</artifactId>
|
|
|
|
|
<version>${jackson.version}</version>
|
|
|
|
|
</dependency>
|
2017-08-31 11:03:22 -04:00
|
|
|
|
<dependency>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
2019-07-23 22:02:49 -04:00
|
|
|
|
<version>${jackson.databind.version}</version>
|
2017-08-31 11:03:22 -04:00
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jamon</groupId>
|
|
|
|
|
<artifactId>jamon-runtime</artifactId>
|
|
|
|
|
<version>${jamon-runtime.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- REST dependencies -->
|
|
|
|
|
<dependency>
|
2017-01-30 14:54:54 -05:00
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
<version>${servlet.api.version}</version>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
</dependency>
|
2022-03-19 07:46:08 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>javax.ws.rs-api</artifactId>
|
|
|
|
|
<version>${wx.rs.api.version}</version>
|
|
|
|
|
</dependency>
|
2019-04-15 20:52:44 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.sun.activation</groupId>
|
|
|
|
|
<artifactId>javax.activation</artifactId>
|
|
|
|
|
<version>1.2.0</version>
|
|
|
|
|
</dependency>
|
2019-05-02 16:37:31 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.annotation</groupId>
|
|
|
|
|
<artifactId>javax.annotation-api</artifactId>
|
|
|
|
|
<version>1.2</version>
|
|
|
|
|
</dependency>
|
2017-01-30 14:54:54 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.google.protobuf</groupId>
|
|
|
|
|
<artifactId>protobuf-java</artifactId>
|
|
|
|
|
<version>${external.protobuf.version}</version>
|
|
|
|
|
</dependency>
|
2017-09-04 16:10:20 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
|
|
|
|
|
<groupId>org.glassfish.web</groupId>
|
|
|
|
|
<artifactId>javax.servlet.jsp</artifactId>
|
|
|
|
|
<version>${glassfish.jsp.version}</version>
|
|
|
|
|
</dependency>
|
2018-04-09 14:37:44 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<!-- this lib is used by the compiled Jsp from the above JspC -->
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
|
|
|
|
<version>2.3.1</version>
|
|
|
|
|
</dependency>
|
2017-09-15 20:30:12 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.glassfish</groupId>
|
|
|
|
|
<artifactId>javax.el</artifactId>
|
|
|
|
|
<version>${glassfish.el.version}</version>
|
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
<version>${jaxb-api.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.xml.stream</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
<version>${junit.version}</version>
|
2012-12-03 16:30:19 -05:00
|
|
|
|
</dependency>
|
2015-01-21 16:12:57 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
|
<version>${hamcrest.version}</version>
|
|
|
|
|
</dependency>
|
2020-01-16 11:47:00 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
|
<artifactId>hamcrest-library</artifactId>
|
|
|
|
|
<version>${hamcrest.version}</version>
|
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
2017-10-03 01:53:34 -04:00
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
|
<version>${mockito-core.version}</version>
|
2015-01-25 19:48:29 -05:00
|
|
|
|
<scope>test</scope>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
</dependency>
|
2013-04-25 01:02:07 -04:00
|
|
|
|
<dependency>
|
2021-07-29 12:15:10 -04:00
|
|
|
|
<groupId>io.opentelemetry</groupId>
|
2021-08-23 11:52:07 -04:00
|
|
|
|
<artifactId>opentelemetry-bom</artifactId>
|
2021-07-29 12:15:10 -04:00
|
|
|
|
<version>${opentelemetry.version}</version>
|
2021-08-23 11:52:07 -04:00
|
|
|
|
<type>pom</type>
|
|
|
|
|
<scope>import</scope>
|
2021-08-02 14:33:19 -04:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.opentelemetry</groupId>
|
2021-08-23 11:52:07 -04:00
|
|
|
|
<artifactId>opentelemetry-semconv</artifactId>
|
|
|
|
|
<version>${opentelemetry.version}-alpha</version>
|
2013-08-14 19:20:51 -04:00
|
|
|
|
</dependency>
|
2021-08-03 12:54:37 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.opentelemetry.javaagent</groupId>
|
|
|
|
|
<artifactId>opentelemetry-javaagent</artifactId>
|
2021-08-23 11:52:07 -04:00
|
|
|
|
<version>${opentelemetry-javaagent.version}</version>
|
2021-08-03 12:54:37 -04:00
|
|
|
|
</dependency>
|
2014-01-25 23:41:39 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.lmax</groupId>
|
|
|
|
|
<artifactId>disruptor</artifactId>
|
|
|
|
|
<version>${disruptor.version}</version>
|
|
|
|
|
</dependency>
|
2016-10-27 21:50:20 -04:00
|
|
|
|
<dependency>
|
2015-03-27 16:15:27 -04:00
|
|
|
|
<groupId>net.spy</groupId>
|
|
|
|
|
<artifactId>spymemcached</artifactId>
|
|
|
|
|
<version>${spy.version}</version>
|
|
|
|
|
<optional>true</optional>
|
2016-10-27 21:50:20 -04:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
2018-10-09 13:06:10 -04:00
|
|
|
|
<artifactId>bcprov-jdk15on</artifactId>
|
2016-10-27 21:50:20 -04:00
|
|
|
|
<version>${bouncycastle.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2022-11-17 08:10:53 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.skyscreamer</groupId>
|
|
|
|
|
<artifactId>jsonassert</artifactId>
|
|
|
|
|
<version>${skyscreamer.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
2017-10-21 21:12:07 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.kerby</groupId>
|
|
|
|
|
<artifactId>kerb-core</artifactId>
|
|
|
|
|
<version>${kerby.version}</version>
|
|
|
|
|
</dependency>
|
2016-10-27 21:50:20 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.kerby</groupId>
|
|
|
|
|
<artifactId>kerb-client</artifactId>
|
|
|
|
|
<version>${kerby.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.kerby</groupId>
|
|
|
|
|
<artifactId>kerb-simplekdc</artifactId>
|
|
|
|
|
<version>${kerby.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-crypto</artifactId>
|
|
|
|
|
<version>${commons-crypto.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>net.java.dev.jna</groupId>
|
|
|
|
|
<artifactId>jna</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
|
<artifactId>curator-framework</artifactId>
|
|
|
|
|
<version>${curator.version}</version>
|
2017-09-26 16:00:49 -04:00
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
2016-10-27 21:50:20 -04:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
|
<artifactId>curator-client</artifactId>
|
|
|
|
|
<version>${curator.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
2017-09-26 16:00:49 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
|
</exclusion>
|
2016-10-27 21:50:20 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2017-10-13 06:18:39 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.curator</groupId>
|
|
|
|
|
<artifactId>curator-recipes</artifactId>
|
|
|
|
|
<version>${curator.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.apache.zookeeper</groupId>
|
|
|
|
|
<artifactId>zookeeper</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2017-08-19 04:23:52 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.yetus</groupId>
|
|
|
|
|
<artifactId>audience-annotations</artifactId>
|
|
|
|
|
<version>${audience-annotations.version}</version>
|
|
|
|
|
</dependency>
|
2021-10-06 16:17:18 -04:00
|
|
|
|
<!-- compression -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.airlift</groupId>
|
|
|
|
|
<artifactId>aircompressor</artifactId>
|
|
|
|
|
<version>${aircompressor.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.lz4</groupId>
|
|
|
|
|
<artifactId>lz4-java</artifactId>
|
|
|
|
|
<version>${lz4.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.tukaani</groupId>
|
|
|
|
|
<artifactId>xz</artifactId>
|
|
|
|
|
<version>${xz.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.xerial.snappy</groupId>
|
|
|
|
|
<artifactId>snappy-java</artifactId>
|
|
|
|
|
<version>${snappy.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.luben</groupId>
|
|
|
|
|
<artifactId>zstd-jni</artifactId>
|
|
|
|
|
<version>${zstd-jni.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- shaded thirdparty -->
|
2019-10-11 08:30:29 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-gson</artifactId>
|
|
|
|
|
<version>${hbase-thirdparty.version}</version>
|
|
|
|
|
</dependency>
|
2017-07-05 15:06:29 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-miscellaneous</artifactId>
|
|
|
|
|
<version>${hbase-thirdparty.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-netty</artifactId>
|
|
|
|
|
<version>${hbase-thirdparty.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-protobuf</artifactId>
|
|
|
|
|
<version>${hbase-thirdparty.version}</version>
|
|
|
|
|
</dependency>
|
2020-08-25 00:05:52 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-jetty</artifactId>
|
|
|
|
|
<version>${hbase-thirdparty.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-jersey</artifactId>
|
|
|
|
|
<version>${hbase-thirdparty.version}</version>
|
|
|
|
|
</dependency>
|
2021-12-30 23:10:08 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
|
<artifactId>hbase-shaded-jackson-jaxrs-json-provider</artifactId>
|
|
|
|
|
<version>${hbase-thirdparty.version}</version>
|
|
|
|
|
</dependency>
|
2022-03-12 03:51:49 -05:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase.thirdparty</groupId>
|
|
|
|
|
<artifactId>hbase-unsafe</artifactId>
|
|
|
|
|
<version>${hbase-thirdparty.version}</version>
|
|
|
|
|
</dependency>
|
2019-06-12 17:42:34 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.sun.xml.ws</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>jaxws-ri</artifactId>
|
2019-06-19 03:21:08 -04:00
|
|
|
|
<version>2.3.2</version>
|
2019-06-12 17:42:34 -04:00
|
|
|
|
<type>pom</type>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
|
<artifactId>javax.activation-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
<dependencies>
|
2017-08-31 11:03:22 -04:00
|
|
|
|
<!--REMOVE THIS. HERE TEMPORARILY.
|
|
|
|
|
Implication is that every module needs junit which is not so.
|
|
|
|
|
Cannot undo though because build runs test on each module and
|
|
|
|
|
it fails if no junit. TODO. -->
|
2010-05-20 01:24:32 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
2019-07-23 09:22:00 -04:00
|
|
|
|
<scope>test</scope>
|
2010-05-20 01:24:32 -04:00
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<build>
|
|
|
|
|
<!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
|
|
|
|
|
For specific version use a property and define it in the parent pom.
|
|
|
|
|
-->
|
|
|
|
|
<pluginManagement>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!--You need this profile. It'll sign your artifacts.
|
|
|
|
|
I'm not sure if this config. actually works though.
|
|
|
|
|
I've been specifying -Papache-release on the command-line
|
|
|
|
|
-->
|
|
|
|
|
<releaseProfiles>apache-release</releaseProfiles>
|
|
|
|
|
<!--This stops our running tests for each stage of maven release.
|
|
|
|
|
But it builds the test jar. From SUREFIRE-172.
|
|
|
|
|
-->
|
|
|
|
|
<arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
|
|
|
|
|
<goals>${goals}</goals>
|
|
|
|
|
<pomFileName>pom.xml</pomFileName>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<showWarnings>true</showWarnings>
|
|
|
|
|
<showDeprecation>false</showDeprecation>
|
|
|
|
|
<useIncrementalCompilation>false</useIncrementalCompilation>
|
|
|
|
|
<compilerArgument>-Xlint:-options</compilerArgument>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
<version>${maven.javadoc.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>${compileSource}</source>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- Test oriented plugins -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
|
<version>${surefire.version}</version>
|
|
|
|
|
<!-- Generic testing configuration for all packages -->
|
|
|
|
|
<configuration>
|
|
|
|
|
<groups>${surefire.firstPartGroups}</groups>
|
|
|
|
|
<failIfNoTests>false</failIfNoTests>
|
2022-05-20 18:07:10 -04:00
|
|
|
|
<failIfNoSpecifiedTests>false</failIfNoSpecifiedTests>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<trimStackTrace>false</trimStackTrace>
|
|
|
|
|
<skip>${surefire.skipFirstPart}</skip>
|
|
|
|
|
<forkCount>${surefire.firstPartForkCount}</forkCount>
|
2022-04-21 11:00:19 -04:00
|
|
|
|
<!--
|
|
|
|
|
The counter in HBaseTestAppender will be broken if we set reuseForks to true, be
|
|
|
|
|
careful when you want to change this value. See HBASE-26947 for more details.
|
|
|
|
|
-->
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
|
<reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
|
|
|
|
|
<tempDir>${surefire.tempDir}</tempDir>
|
|
|
|
|
<testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
|
|
|
|
|
<forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
|
<redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
|
|
|
|
|
<systemPropertyVariables>
|
|
|
|
|
<test.build.classes>${test.build.classes}</test.build.classes>
|
|
|
|
|
<java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>
|
|
|
|
|
<java.util.logging.config.class>org.apache.hadoop.hbase.logging.JulToSlf4jInitializer</java.util.logging.config.class>
|
|
|
|
|
</systemPropertyVariables>
|
|
|
|
|
<excludes>
|
|
|
|
|
<!-- users can add -D option to skip particular test classes
|
|
|
|
|
ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
|
|
|
|
|
-->
|
|
|
|
|
<exclude>${test.exclude.pattern}</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<properties>
|
|
|
|
|
<property>
|
|
|
|
|
<name>listener</name>
|
|
|
|
|
<value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
|
|
|
|
|
</property>
|
|
|
|
|
</properties>
|
|
|
|
|
</configuration>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- by default surefire selects dynamically the connector to the unit tests
|
|
|
|
|
tool. We want to use always the same as the different connectors can have different
|
|
|
|
|
bugs and behaviour. -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.maven.surefire</groupId>
|
|
|
|
|
<artifactId>${surefire.provider}</artifactId>
|
|
|
|
|
<version>${surefire.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>secondPartTestsExecution</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>test</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>test</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<skip>${surefire.skipSecondPart}</skip>
|
|
|
|
|
<testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
|
2022-04-21 11:00:19 -04:00
|
|
|
|
<!--
|
|
|
|
|
The counter in HBaseTestAppender will be broken if we set reuseForks to true, be
|
|
|
|
|
careful when you want to change this value. See HBASE-26947 for more details.
|
|
|
|
|
-->
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<reuseForks>false</reuseForks>
|
|
|
|
|
<forkCount>${surefire.secondPartForkCount}</forkCount>
|
|
|
|
|
<groups>${surefire.secondPartGroups}</groups>
|
|
|
|
|
<forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
|
|
|
<version>${surefire.version}</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
|
<version>${buildnumber.maven.version}</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
|
|
|
<version>${spotbugs.maven.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
|
|
|
|
|
<spotbugsXmlOutput>true</spotbugsXmlOutput>
|
|
|
|
|
<xmlOutput>true</xmlOutput>
|
|
|
|
|
<effort>Max</effort>
|
|
|
|
|
</configuration>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
|
<artifactId>spotbugs</artifactId>
|
|
|
|
|
<version>${spotbugs.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
|
<version>${build.helper.maven.version}</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
<version>${maven.antrun.version}</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jamon</groupId>
|
|
|
|
|
<artifactId>jamon-maven-plugin</artifactId>
|
|
|
|
|
<version>${jamon.plugin.version}</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- Make a jar and put the sources in the jar.
|
|
|
|
|
In the parent pom, so submodules will do the right thing. -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>attach-sources</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>jar-no-fork</goal>
|
|
|
|
|
<goal>test-jar-no-fork</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>log4j2.xml</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- General configuration for submodules who want to build a test jar -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<skipIfEmpty>true</skipIfEmpty>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>hbase-site.xml</exclude>
|
|
|
|
|
<exclude>hdfs-site.xml</exclude>
|
|
|
|
|
<exclude>mapred-queues.xml</exclude>
|
|
|
|
|
<exclude>mapred-site.xml</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<!--This goal will install a -test.jar when we do install
|
|
|
|
|
See https://maven.apache.org/guides/mini/guide-attached-tests.html
|
|
|
|
|
-->
|
|
|
|
|
<goal>test-jar</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>prepare-package</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<!-- excludes are inherited -->
|
|
|
|
|
<groupId>org.apache.rat</groupId>
|
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/*.versionsBackup</exclude>
|
|
|
|
|
<exclude>**/*.log</exclude>
|
|
|
|
|
<exclude>**/.*</exclude>
|
|
|
|
|
<exclude>**/*.tgz</exclude>
|
|
|
|
|
<exclude>**/*.orig</exclude>
|
|
|
|
|
<exclude>**/0000000000000016310</exclude>
|
|
|
|
|
<exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
|
|
|
|
|
<exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
|
|
|
|
|
<exclude>**/.idea/**</exclude>
|
|
|
|
|
<exclude>**/*.iml</exclude>
|
|
|
|
|
<exclude>**/CHANGES.txt</exclude>
|
|
|
|
|
<exclude>**/generated/**</exclude>
|
|
|
|
|
<exclude>**/gen-*/**</exclude>
|
|
|
|
|
<!-- No material contents -->
|
|
|
|
|
<exclude>conf/regionservers</exclude>
|
|
|
|
|
<exclude>**/*.avpr</exclude>
|
|
|
|
|
<exclude>**/*.svg</exclude>
|
|
|
|
|
<!-- non-standard notice file from jruby included by reference -->
|
|
|
|
|
<exclude>**/src/main/resources/META-INF/LEGAL</exclude>
|
|
|
|
|
<!-- MIT https://jquery.org/license -->
|
|
|
|
|
<exclude>**/jquery.min.js</exclude>
|
|
|
|
|
<exclude>**/jquery.tablesorter.min.js</exclude>
|
|
|
|
|
<exclude>**/parser-date-iso8601.min.js</exclude>
|
|
|
|
|
<!-- MIT: bootstrap -->
|
|
|
|
|
<exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
|
|
|
|
|
<!-- BSD 3-clause: Vega, Vega-Lite, Vega-Embed -->
|
|
|
|
|
<exclude>**/hbase-webapps/static/js/vega*.min.js</exclude>
|
|
|
|
|
<!-- vector graphics -->
|
|
|
|
|
<exclude>**/*.vm</exclude>
|
|
|
|
|
<!-- apache doxia generated -->
|
|
|
|
|
<exclude>**/control</exclude>
|
|
|
|
|
<exclude>**/conffile</exclude>
|
|
|
|
|
<!-- auto-gen docs -->
|
|
|
|
|
<exclude>docs/*</exclude>
|
|
|
|
|
<exclude>logs/*</exclude>
|
|
|
|
|
<!-- exclude source control files -->
|
|
|
|
|
<exclude>.git/**</exclude>
|
|
|
|
|
<exclude>.svn/**</exclude>
|
|
|
|
|
<exclude>**/.settings/**</exclude>
|
|
|
|
|
<exclude>**/patchprocess/**</exclude>
|
|
|
|
|
<exclude>src/site/resources/repo/**</exclude>
|
|
|
|
|
<exclude>**/dependency-reduced-pom.xml</exclude>
|
|
|
|
|
<exclude>**/rat.txt</exclude>
|
|
|
|
|
<!-- exclude the shaded protobuf files -->
|
|
|
|
|
<exclude>**/shaded/com/google/protobuf/**</exclude>
|
|
|
|
|
<exclude>**/src/main/patches/**</exclude>
|
|
|
|
|
<!-- gzipped list of S3N URIs for hbase-it -->
|
|
|
|
|
<exclude>**/CC-MAIN-2021-10-warc.paths.gz</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!--Defer to the hbase-assembly sub-module. It
|
|
|
|
|
does all assembly-->
|
|
|
|
|
<skipAssembly>true</skipAssembly>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.xolstice.maven.plugins</groupId>
|
|
|
|
|
<artifactId>protobuf-maven-plugin</artifactId>
|
|
|
|
|
<version>${protobuf.plugin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<protocArtifact>${external.protobuf.groupid}:protoc:${external.protoc.version}:exe:${os.detected.classifier}</protocArtifact>
|
|
|
|
|
<protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
|
|
|
|
|
<clearOutputDirectory>false</clearOutputDirectory>
|
|
|
|
|
<checkStaleness>true</checkStaleness>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<!-- Approach followed here is roughly the same as mentioned here:
|
|
|
|
|
https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
|
|
|
|
|
-->
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
|
<version>${maven.checkstyle.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<configLocation>hbase/checkstyle.xml</configLocation>
|
|
|
|
|
<suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
|
|
|
|
|
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
|
|
|
|
</configuration>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hbase</groupId>
|
|
|
|
|
<artifactId>hbase-checkstyle</artifactId>
|
|
|
|
|
<version>${project.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.puppycrawl.tools</groupId>
|
|
|
|
|
<artifactId>checkstyle</artifactId>
|
|
|
|
|
<version>${checkstyle.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>net.revelc.code</groupId>
|
|
|
|
|
<artifactId>warbucks-maven-plugin</artifactId>
|
|
|
|
|
<version>${maven.warbucks.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<ignoreRuleFailures>false</ignoreRuleFailures>
|
|
|
|
|
<rules>
|
|
|
|
|
<rule>
|
|
|
|
|
<!-- exclude the generated java files -->
|
|
|
|
|
<classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
|
|
|
|
|
<includeTestClasses>false</includeTestClasses>
|
|
|
|
|
<includePublicClasses>true</includePublicClasses>
|
|
|
|
|
<includePackagePrivateClasses>false</includePackagePrivateClasses>
|
|
|
|
|
<includeProtectedClasses>false</includeProtectedClasses>
|
|
|
|
|
<includePrivateClasses>false</includePrivateClasses>
|
|
|
|
|
<classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
|
|
|
|
|
</rule>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>run-warbucks</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>check</goal>
|
|
|
|
|
<!-- runs at process-test-classes phase -->
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
|
<version>${enforcer.version}</version>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>extra-enforcer-rules</artifactId>
|
|
|
|
|
<version>${extra.enforcer.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>de.skuzzle.enforcer</groupId>
|
|
|
|
|
<artifactId>restrict-imports-enforcer-rule</artifactId>
|
|
|
|
|
<version>${restrict-imports.enforcer.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-gpg-plugin</artifactId>
|
|
|
|
|
<version>${maven.gpg.version}</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</pluginManagement>
|
|
|
|
|
<plugins>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>flatten-maven-plugin</artifactId>
|
|
|
|
|
<version>1.3.0</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<embedBuildProfileDependencies>true</embedBuildProfileDependencies>
|
2022-11-23 07:17:28 -05:00
|
|
|
|
<updatePomFile>true</updatePomFile>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<!-- enable flattening -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>flatten</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>flatten</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
<!-- ensure proper cleanup -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>flatten.clean</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>clean</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>clean</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>negate-license-bundles-property</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>bsh-property</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>skip.license.check = !${license.bundles.dependencies};</source>
|
|
|
|
|
<properties>
|
|
|
|
|
<property>skip.license.check</property>
|
|
|
|
|
</properties>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<!-- sets where to find the generated LICENSE files -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>create-license-file-path-property</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>regex-property</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<name>license.aggregate.path</name>
|
|
|
|
|
<value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
|
|
|
|
|
<regex>\\</regex>
|
|
|
|
|
<replacement>/</replacement>
|
|
|
|
|
<failIfNoMatch>false</failIfNoMatch>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>display-info</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>display-info</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>initialize</phase>
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>hadoop-profile-min-maven-min-java-banned-xerces</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<!-- Help people activate profiles correctly -->
|
|
|
|
|
<evaluateBeanshell>
|
|
|
|
|
<condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
|
|
|
|
|
<message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
|
|
|
|
|
</evaluateBeanshell>
|
|
|
|
|
<!-- The earliest maven version we verify builds for via ASF Jenkins -->
|
|
|
|
|
<requireMavenVersion>
|
|
|
|
|
<version>[${maven.min.version},)</version>
|
|
|
|
|
<message>Maven is out of date.
|
|
|
|
|
HBase requires at least version ${maven.min.version} of Maven to properly build from source.
|
|
|
|
|
You appear to be using an older version. You can use either "mvn -version" or
|
|
|
|
|
"mvn enforcer:display-info" to verify what version is active.
|
|
|
|
|
See the reference guide on building for more information: https://hbase.apache.org/book.html#build</message>
|
|
|
|
|
</requireMavenVersion>
|
|
|
|
|
<!-- The earliest JVM version we verify builds for via ASF Jenkins -->
|
|
|
|
|
<requireJavaVersion>
|
|
|
|
|
<version>[${java.min.version},)</version>
|
|
|
|
|
<message>Java is out of date.
|
|
|
|
|
HBase requires at least version ${java.min.version} of the JDK to properly build from source.
|
|
|
|
|
You appear to be using an older version. You can use either "mvn -version" or
|
|
|
|
|
"mvn enforcer:display-info" to verify what version is active.
|
|
|
|
|
See the reference guide on building for more information: https://hbase.apache.org/book.html#build</message>
|
|
|
|
|
</requireJavaVersion>
|
|
|
|
|
<bannedDependencies>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>xerces:xercesImpl</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
|
|
|
|
|
</bannedDependencies>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>banned-jsr305</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<bannedDependencies>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>com.google.code.findbugs:jsr305</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
|
|
|
|
|
</bannedDependencies>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>banned-commons-logging</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<bannedDependencies>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>commons-logging:commons-logging</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<message>We don't use commons-logging any more, so do not depend on it directly.</message>
|
|
|
|
|
<searchTransitive>false</searchTransitive>
|
|
|
|
|
</bannedDependencies>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>banned-jetty</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<bannedDependencies>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>org.eclipse.jetty:**</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<message>Use shaded jetty instead</message>
|
|
|
|
|
<searchTransitive>false</searchTransitive>
|
|
|
|
|
</bannedDependencies>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>banned-jersey</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<bannedDependencies>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>org.glassfish.jersey.containers:**</exclude>
|
|
|
|
|
<exclude>org.glassfish.jersey.core:**</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<message>Use shaded jersey instead</message>
|
|
|
|
|
<searchTransitive>false</searchTransitive>
|
|
|
|
|
</bannedDependencies>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>banned-htrace</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<bannedDependencies>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>org.apache.htrace:**</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<message>Use OpenTelemetry instead</message>
|
|
|
|
|
<searchTransitive>false</searchTransitive>
|
|
|
|
|
</bannedDependencies>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>banned-other-logging-framework</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<bannedDependencies>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>log4j:*</exclude>
|
|
|
|
|
<exclude>org.slf4j:slf4j-log4j12</exclude>
|
|
|
|
|
<exclude>ch.qos.reload4j:*</exclude>
|
|
|
|
|
<exclude>org.slf4j:slf4j-reload4j</exclude>
|
|
|
|
|
<exclude>ch.qos.logback:*</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<message>We do not allow other logging frameworks as now we use log4j2</message>
|
|
|
|
|
</bannedDependencies>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>banned-slf4j-log4j12</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<bannedDependencies>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>org.slf4j:slf4j-log4j12</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<message>We do not allow slf4j-log4j12 dependency as now we use log4j-slf4j-impl</message>
|
|
|
|
|
</bannedDependencies>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>check-aggregate-license</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<!-- must check after LICENSE is built at 'generate-resources' -->
|
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<evaluateBeanshell>
|
|
|
|
|
<condition>File license = new File("${license.aggregate.path}");
|
|
|
|
|
|
|
|
|
|
// Beanshell does not support try-with-resources,
|
|
|
|
|
// so we must close this scanner manually
|
|
|
|
|
Scanner scanner = new Scanner(license);
|
|
|
|
|
|
|
|
|
|
while (scanner.hasNextLine()) {
|
|
|
|
|
if (scanner.nextLine().startsWith("ERROR:")) {
|
|
|
|
|
scanner.close();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
scanner.close();
|
|
|
|
|
return true;</condition>
|
|
|
|
|
<message>License errors detected, for more detail find ERROR in
|
|
|
|
|
${license.aggregate.path}</message>
|
|
|
|
|
</evaluateBeanshell>
|
|
|
|
|
</rules>
|
|
|
|
|
<skip>${skip.license.check}</skip>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>banned-illegal-imports</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use SLF4j for logging</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.apache.commons.logging.**</bannedImport>
|
|
|
|
|
<bannedImport>org.apache.log4j.**</bannedImport>
|
|
|
|
|
<bannedImport>org.apache.logging.log4j.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
2022-04-21 11:00:19 -04:00
|
|
|
|
<exclusions>
|
|
|
|
|
<!-- Exclude this one as it is a log4j2 appender implementation -->
|
|
|
|
|
<exclusion>org.apache.hadoop.hbase.logging.HBaseTestAppender</exclusion>
|
|
|
|
|
</exclusions>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>false</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Do not use log4j2 directly in code, see Log4jUtils in hbase-logging for more details.</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.apache.logging.log4j.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use shaded version in hbase-thirdparty</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>com.google.common.**</bannedImport>
|
|
|
|
|
<bannedImport>io.netty.**</bannedImport>
|
|
|
|
|
<bannedImport>org.apache.commons.cli.**</bannedImport>
|
|
|
|
|
<bannedImport>org.apache.commons.collections.**</bannedImport>
|
|
|
|
|
<bannedImport>org.apache.commons.collections4.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Do not use shaded classes from other dependencies</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.apache.curator.shaded.**</bannedImport>
|
|
|
|
|
<bannedImport>org.apache.htrace.shaded.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use shaded gson in hbase-thirdparty</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.codehaus.jackson.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use commons lang 3</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.apache.commons.lang.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use yetus IA and IS annotations</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Do not use htrace</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.htrace.**</bannedImport>
|
|
|
|
|
<bannedImport>org.apache.htrace.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use shaded jetty in hbase-thirdparty</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.eclipse.jetty.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use shaded jersey in hbase-thirdparty</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.glassfish.jersey.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>You should never use this style of annotations(i.e, 'this is for test only')
|
|
|
|
|
in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
|
|
|
|
|
not for public use.
|
|
|
|
|
For IA.Private classes, use RestrictedApi annotation in error prone instead.</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use shaded javax.ws.rs in hbase-thirdparty</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>javax.ws.rs.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use shaded jackson-jaxrs-json-provider in hbase-thirdparty</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>com.fasterxml.jackson.jaxrs.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
<restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
|
|
|
|
|
<includeTestCode>true</includeTestCode>
|
|
|
|
|
<commentLineBufferSize>512</commentLineBufferSize>
|
|
|
|
|
<reason>Use junit4 instead</reason>
|
|
|
|
|
<bannedImports>
|
|
|
|
|
<bannedImport>junit.framework.**</bannedImport>
|
|
|
|
|
</bannedImports>
|
|
|
|
|
</restrictImports>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- parent-module only plugins -->
|
|
|
|
|
<!-- Special configuration for spotbugs just in the parent so
|
|
|
|
|
the filter file location can be more general (see definition in pluginManagement) -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.github.spotbugs</groupId>
|
|
|
|
|
<artifactId>spotbugs-maven-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>spotbugs</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
<configuration>
|
|
|
|
|
<excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-site-plugin</artifactId>
|
2022-04-26 09:40:08 -04:00
|
|
|
|
<version>${maven-site.version}</version>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<configuration>
|
|
|
|
|
<siteDirectory>${basedir}/src/site</siteDirectory>
|
|
|
|
|
<customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
|
|
|
|
|
<inputEncoding>UTF-8</inputEncoding>
|
|
|
|
|
<outputEncoding>UTF-8</outputEncoding>
|
|
|
|
|
</configuration>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<!-- add support for ssh/scp -->
|
|
|
|
|
<groupId>org.apache.maven.wagon</groupId>
|
|
|
|
|
<artifactId>wagon-ssh</artifactId>
|
|
|
|
|
<version>${wagon.ssh.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<!--$NO-MVN-MAN-VER$ -->
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
<configuration>
|
|
|
|
|
<escapeString>\</escapeString>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-htaccess</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>site</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>${basedir}/src/site/resources/</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>.htaccess</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
<!-- needed to make the redirect above work -->
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy-empty-book-dir</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>site</phase>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<directory>${basedir}/src/site/resources/</directory>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>book/**</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<timestampFormat>yyyy</timestampFormat>
|
|
|
|
|
<timestampPropertyName>build.year</timestampPropertyName>
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>create-timestamp</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>validate</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.felix</groupId>
|
|
|
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
|
|
|
<version>${maven.bundle.version}</version>
|
|
|
|
|
<extensions>true</extensions>
|
|
|
|
|
<inherited>true</inherited>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.diffplug.spotless</groupId>
|
|
|
|
|
<artifactId>spotless-maven-plugin</artifactId>
|
|
|
|
|
<version>${spotless.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!-- define a language-specific format -->
|
|
|
|
|
<java>
|
2022-04-26 09:40:08 -04:00
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/generated/*</exclude>
|
|
|
|
|
<exclude>**/package-info.java</exclude>
|
|
|
|
|
</excludes>
|
2022-10-12 11:14:08 -04:00
|
|
|
|
<!--
|
|
|
|
|
e.g., remove the following lines:
|
|
|
|
|
"* @param paramName"
|
|
|
|
|
"* @throws ExceptionType"
|
|
|
|
|
"* @return returnType"'
|
|
|
|
|
Multiline to allow anchors on newlines
|
|
|
|
|
See https://errorprone.info/bugpattern/EmptyBlockTag
|
|
|
|
|
-->
|
|
|
|
|
<replaceRegex>
|
|
|
|
|
<name>Remove unhelpful javadoc stubs</name>
|
|
|
|
|
<searchRegex>(?m)^ *\* *@(?:param|throws|return) *\w* *\n</searchRegex>
|
|
|
|
|
<replacement/>
|
|
|
|
|
</replaceRegex>
|
2022-07-18 21:45:06 -04:00
|
|
|
|
<!--
|
|
|
|
|
e.g., rewrite
|
|
|
|
|
/** @return blabla */
|
|
|
|
|
or
|
|
|
|
|
/**
|
|
|
|
|
* @return blabla
|
|
|
|
|
*/
|
|
|
|
|
to
|
|
|
|
|
/** Returns blabla */
|
2022-10-12 11:14:08 -04:00
|
|
|
|
See https://errorprone.info/bugpattern/MissingSummary
|
|
|
|
|
https://google.github.io/styleguide/javaguide.html#s7.2-summary-fragment
|
2022-07-18 21:45:06 -04:00
|
|
|
|
-->
|
|
|
|
|
<replaceRegex>
|
|
|
|
|
<name>Purge single returns tag multi line</name>
|
|
|
|
|
<searchRegex>(?m)^ */\*\*\n *\* *@return *(.*) *\n *\*/$</searchRegex>
|
|
|
|
|
<replacement>/** Returns $1 */</replacement>
|
|
|
|
|
</replaceRegex>
|
|
|
|
|
<replaceRegex>
|
|
|
|
|
<name>Purge single returns tag single line</name>
|
|
|
|
|
<searchRegex>^ */\*\* *@return *(.*) *\*/$</searchRegex>
|
|
|
|
|
<replacement>/** Returns $1 */</replacement>
|
|
|
|
|
</replaceRegex>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<!-- apply a specific flavor -->
|
|
|
|
|
<eclipse>
|
|
|
|
|
<file>${session.executionRootDirectory}/dev-support/hbase_eclipse_formatter.xml</file>
|
|
|
|
|
</eclipse>
|
|
|
|
|
<importOrder>
|
|
|
|
|
<file>${session.executionRootDirectory}/dev-support/eclipse.importorder</file>
|
|
|
|
|
</importOrder>
|
2022-04-26 09:40:08 -04:00
|
|
|
|
<trimTrailingWhitespace/>
|
|
|
|
|
<endWithNewline/>
|
|
|
|
|
<removeUnusedImports/>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</java>
|
|
|
|
|
<pom>
|
|
|
|
|
<sortPom>
|
|
|
|
|
<expandEmptyElements>false</expandEmptyElements>
|
|
|
|
|
</sortPom>
|
|
|
|
|
</pom>
|
2022-04-26 09:40:08 -04:00
|
|
|
|
<formats>
|
|
|
|
|
<!-- you can define as many formats as you want, each is independent -->
|
|
|
|
|
<format>
|
|
|
|
|
<!-- define the files to apply to -->
|
|
|
|
|
<includes>
|
|
|
|
|
<include>**/*.xml</include>
|
|
|
|
|
<include>**/*.sh</include>
|
|
|
|
|
<include>**/*.py</include>
|
|
|
|
|
<include>**/Jenkinsfile*</include>
|
|
|
|
|
<include>**/*.md</include>
|
|
|
|
|
<include>*.md</include>
|
|
|
|
|
<include>**/*.txt</include>
|
|
|
|
|
<include>*.txt</include>
|
|
|
|
|
</includes>
|
2022-05-03 09:14:24 -04:00
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/target/**</exclude>
|
|
|
|
|
<exclude>**/dependency-reduced-pom.xml</exclude>
|
|
|
|
|
</excludes>
|
2022-04-26 09:40:08 -04:00
|
|
|
|
<!-- define the steps to apply to those files -->
|
|
|
|
|
<trimTrailingWhitespace/>
|
|
|
|
|
<endWithNewline/>
|
|
|
|
|
</format>
|
2022-06-02 08:18:00 -04:00
|
|
|
|
<format>
|
|
|
|
|
<!--
|
|
|
|
|
We have some files which have special license header which must be kept, so
|
|
|
|
|
here we add a special format section to apply license header, and leave the
|
|
|
|
|
java section above only used for formatting code style
|
|
|
|
|
-->
|
|
|
|
|
<includes>
|
|
|
|
|
<include>src/main/java/**/*.java</include>
|
|
|
|
|
<include>src/test/java/**/*.java</include>
|
|
|
|
|
</includes>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/generated/*</exclude>
|
|
|
|
|
<exclude>**/package-info.java</exclude>
|
|
|
|
|
<!-- ByteRange, from Google protobuf -->
|
|
|
|
|
<exclude>src/main/java/org/apache/hadoop/hbase/util/AbstractByteRange.java</exclude>
|
|
|
|
|
<exclude>src/main/java/org/apache/hadoop/hbase/util/SimpleMutableByteRange.java</exclude>
|
|
|
|
|
<exclude>src/main/java/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.java</exclude>
|
|
|
|
|
<!-- Metrics, from Josh Elser -->
|
|
|
|
|
<exclude>src/main/java/org/apache/hadoop/hbase/metrics/impl/HBaseMetrics2HadoopMetricsAdapter.java</exclude>
|
|
|
|
|
<!-- https://github.com/ept/warc-hadoop, from Martin Kleppmann -->
|
|
|
|
|
<exclude>src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCFileReader.java</exclude>
|
|
|
|
|
<exclude>src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCFileWriter.java</exclude>
|
|
|
|
|
<exclude>src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCInputFormat.java</exclude>
|
|
|
|
|
<exclude>src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCOutputFormat.java</exclude>
|
|
|
|
|
<exclude>src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCRecord.java</exclude>
|
|
|
|
|
<exclude>src/test/java/org/apache/hadoop/hbase/test/util/warc/WARCWritable.java</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
<licenseHeader>
|
|
|
|
|
<file>${session.executionRootDirectory}/dev-support/license-header</file>
|
|
|
|
|
<delimiter>package</delimiter>
|
|
|
|
|
</licenseHeader>
|
|
|
|
|
</format>
|
2022-04-26 09:40:08 -04:00
|
|
|
|
</formats>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
2023-01-20 02:53:06 -05:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.cyclonedx</groupId>
|
|
|
|
|
<artifactId>cyclonedx-maven-plugin</artifactId>
|
|
|
|
|
<version>2.7.3</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>makeBom</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>package</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</plugins>
|
|
|
|
|
<extensions>
|
|
|
|
|
<extension>
|
|
|
|
|
<groupId>kr.motd.maven</groupId>
|
|
|
|
|
<artifactId>os-maven-plugin</artifactId>
|
|
|
|
|
<version>${os.maven.version}</version>
|
|
|
|
|
</extension>
|
|
|
|
|
</extensions>
|
|
|
|
|
</build>
|
|
|
|
|
<!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
|
|
|
|
|
<reporting>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
|
|
|
<version>${maven.project.info.report.version}</version>
|
|
|
|
|
<!-- see src/site/site.xml for selected reports -->
|
|
|
|
|
<configuration>
|
|
|
|
|
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
|
|
|
|
|
</configuration>
|
|
|
|
|
<reportSets>
|
|
|
|
|
<reportSet>
|
|
|
|
|
<reports>
|
|
|
|
|
<report>dependencies</report>
|
|
|
|
|
<report>dependency-convergence</report>
|
|
|
|
|
<report>dependency-info</report>
|
|
|
|
|
<report>dependency-management</report>
|
|
|
|
|
<report>index</report>
|
|
|
|
|
<report>issue-management</report>
|
|
|
|
|
<report>licenses</report>
|
|
|
|
|
<report>mailing-lists</report>
|
|
|
|
|
<report>plugin-management</report>
|
|
|
|
|
<report>plugins</report>
|
|
|
|
|
<report>team</report>
|
|
|
|
|
<report>scm</report>
|
|
|
|
|
<report>summary</report>
|
|
|
|
|
</reports>
|
|
|
|
|
</reportSet>
|
|
|
|
|
</reportSets>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<tags>
|
|
|
|
|
<tag>
|
|
|
|
|
<name>apiNote</name>
|
|
|
|
|
<placement>a</placement>
|
|
|
|
|
<head>API Note:</head>
|
|
|
|
|
</tag>
|
|
|
|
|
</tags>
|
|
|
|
|
</configuration>
|
|
|
|
|
<reportSets>
|
|
|
|
|
<!-- Dev API -->
|
|
|
|
|
<reportSet>
|
|
|
|
|
<id>devapi</id>
|
|
|
|
|
<reports>
|
|
|
|
|
<report>aggregate-no-fork</report>
|
|
|
|
|
</reports>
|
|
|
|
|
<configuration>
|
|
|
|
|
<destDir>devapidocs</destDir>
|
|
|
|
|
<name>Developer API</name>
|
|
|
|
|
<description>The full HBase API, including private and unstable APIs</description>
|
|
|
|
|
<sourceFileExcludes>
|
|
|
|
|
<exclude>**/generated/*</exclude>
|
|
|
|
|
<exclude>**/protobuf/*</exclude>
|
|
|
|
|
</sourceFileExcludes>
|
|
|
|
|
<excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
|
|
|
|
|
<show>private</show>
|
|
|
|
|
<!-- (shows all classes and members) -->
|
|
|
|
|
<quiet>true</quiet>
|
|
|
|
|
<linksource>true</linksource>
|
|
|
|
|
<sourcetab>2</sourcetab>
|
|
|
|
|
<validateLinks>true</validateLinks>
|
|
|
|
|
<fixClassComment>true</fixClassComment>
|
|
|
|
|
<fixFieldComment>true</fixFieldComment>
|
|
|
|
|
<fixMethodComment>true</fixMethodComment>
|
|
|
|
|
<fixTags>all</fixTags>
|
|
|
|
|
<notimestamp>true</notimestamp>
|
|
|
|
|
<locale>en_US</locale>
|
|
|
|
|
<!-- Pass some options straight to the javadoc executable since it is easier -->
|
|
|
|
|
<additionalJOption>-J-Xmx2G</additionalJOption>
|
|
|
|
|
<!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
|
|
|
|
|
<additionalDependencies>
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
|
<version>${mockito-core.version}</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
|
<version>${hamcrest.version}</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
<!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
<version>3.0.2</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
</additionalDependencies>
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
</configuration>
|
|
|
|
|
</reportSet>
|
|
|
|
|
<reportSet>
|
|
|
|
|
<id>testdevapi</id>
|
|
|
|
|
<reports>
|
|
|
|
|
<report>test-aggregate-no-fork</report>
|
|
|
|
|
</reports>
|
|
|
|
|
<configuration>
|
|
|
|
|
<destDir>testdevapidocs</destDir>
|
|
|
|
|
<name>Developer API</name>
|
|
|
|
|
<description>The full HBase API test code, including private and unstable APIs</description>
|
|
|
|
|
<sourceFileExcludes>
|
|
|
|
|
<exclude>**/generated/*</exclude>
|
|
|
|
|
<exclude>**/protobuf/*</exclude>
|
|
|
|
|
</sourceFileExcludes>
|
|
|
|
|
<excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
|
|
|
|
|
<show>private</show>
|
|
|
|
|
<!-- (shows all classes and members) -->
|
|
|
|
|
<quiet>true</quiet>
|
|
|
|
|
<linksource>true</linksource>
|
|
|
|
|
<sourcetab>2</sourcetab>
|
|
|
|
|
<validateLinks>true</validateLinks>
|
|
|
|
|
<fixClassComment>true</fixClassComment>
|
|
|
|
|
<fixFieldComment>true</fixFieldComment>
|
|
|
|
|
<fixMethodComment>true</fixMethodComment>
|
|
|
|
|
<fixTags>all</fixTags>
|
|
|
|
|
<notimestamp>true</notimestamp>
|
|
|
|
|
<locale>en_US</locale>
|
|
|
|
|
<!-- Pass some options straight to the javadoc executable since it is easier -->
|
|
|
|
|
<additionalJOption>-J-Xmx2G</additionalJOption>
|
|
|
|
|
<!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
|
|
|
|
|
<additionalDependencies>
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
|
<version>${mockito-core.version}</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
|
<version>${hamcrest.version}</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
<!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
<version>3.0.2</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
</additionalDependencies>
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
</configuration>
|
|
|
|
|
</reportSet>
|
|
|
|
|
|
|
|
|
|
<!-- User API -->
|
|
|
|
|
<reportSet>
|
|
|
|
|
<id>userapi</id>
|
|
|
|
|
<reports>
|
|
|
|
|
<report>aggregate-no-fork</report>
|
|
|
|
|
</reports>
|
|
|
|
|
<configuration>
|
|
|
|
|
<doclet>org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet</doclet>
|
|
|
|
|
<docletArtifact>
|
|
|
|
|
<groupId>org.apache.yetus</groupId>
|
|
|
|
|
<artifactId>audience-annotations</artifactId>
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<version>${javadoc.audience-annotations.version}</version>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</docletArtifact>
|
|
|
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
|
|
|
|
<destDir>apidocs</destDir>
|
|
|
|
|
<name>User API</name>
|
|
|
|
|
<description>The HBase Application Programmer's API</description>
|
|
|
|
|
<excludePackageNames>org.apache.hadoop.hbase.backup*:org.apache.hadoop.hbase.catalog:org.apache.hadoop.hbase.client.coprocessor:org.apache.hadoop.hbase.client.metrics:org.apache.hadoop.hbase.codec*:org.apache.hadoop.hbase.constraint:org.apache.hadoop.hbase.coprocessor.*:org.apache.hadoop.hbase.executor:org.apache.hadoop.hbase.fs:*.generated.*:org.apache.hadoop.hbase.io.hfile.*:org.apache.hadoop.hbase.mapreduce.hadoopbackport:org.apache.hadoop.hbase.mapreduce.replication:org.apache.hadoop.hbase.master.*:org.apache.hadoop.hbase.metrics*:org.apache.hadoop.hbase.migration:org.apache.hadoop.hbase.monitoring:org.apache.hadoop.hbase.p*:org.apache.hadoop.hbase.regionserver.compactions:org.apache.hadoop.hbase.regionserver.handler:org.apache.hadoop.hbase.regionserver.snapshot:org.apache.hadoop.hbase.replication.*:org.apache.hadoop.hbase.rest.filter:org.apache.hadoop.hbase.rest.model:org.apache.hadoop.hbase.rest.p*:org.apache.hadoop.hbase.security.*:org.apache.hadoop.hbase.thrift*:org.apache.hadoop.hbase.tmpl.*:org.apache.hadoop.hbase.tool:org.apache.hadoop.hbase.trace:org.apache.hadoop.hbase.util.byterange*:org.apache.hadoop.hbase.util.test:org.apache.hadoop.hbase.util.vint:org.apache.hadoop.metrics2*:org.apache.hadoop.hbase.io.compress*</excludePackageNames>
|
|
|
|
|
<!-- switch on dependency-driven aggregation -->
|
|
|
|
|
<includeDependencySources>false</includeDependencySources>
|
|
|
|
|
<sourceFilesExclude>**/generated/*</sourceFilesExclude>
|
|
|
|
|
<show>protected</show>
|
|
|
|
|
<!-- (shows only public and protected classes and members) -->
|
|
|
|
|
<quiet>true</quiet>
|
|
|
|
|
<linksource>true</linksource>
|
|
|
|
|
<sourcetab>2</sourcetab>
|
|
|
|
|
<validateLinks>true</validateLinks>
|
|
|
|
|
<fixClassComment>true</fixClassComment>
|
|
|
|
|
<fixFieldComment>true</fixFieldComment>
|
|
|
|
|
<fixMethodComment>true</fixMethodComment>
|
|
|
|
|
<fixTags>all</fixTags>
|
|
|
|
|
<notimestamp>true</notimestamp>
|
|
|
|
|
<locale>en_US</locale>
|
|
|
|
|
<!-- Pass some options straight to the javadoc executable since it is easier -->
|
|
|
|
|
<additionalJOption>-J-Xmx2G</additionalJOption>
|
|
|
|
|
<!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
|
|
|
|
|
<additionalDependencies>
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
|
<version>${mockito-core.version}</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
|
<version>${hamcrest.version}</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
<!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
<version>3.0.2</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
</additionalDependencies>
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
</configuration>
|
|
|
|
|
</reportSet>
|
|
|
|
|
<!-- User Test API -->
|
|
|
|
|
<reportSet>
|
|
|
|
|
<id>testuserapi</id>
|
|
|
|
|
<reports>
|
|
|
|
|
<report>test-aggregate-no-fork</report>
|
|
|
|
|
</reports>
|
|
|
|
|
<configuration>
|
|
|
|
|
<doclet>org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet</doclet>
|
|
|
|
|
<docletArtifact>
|
|
|
|
|
<groupId>org.apache.yetus</groupId>
|
|
|
|
|
<artifactId>audience-annotations</artifactId>
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<version>${javadoc.audience-annotations.version}</version>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</docletArtifact>
|
|
|
|
|
<useStandardDocletOptions>true</useStandardDocletOptions>
|
|
|
|
|
<destDir>testapidocs</destDir>
|
|
|
|
|
<name>User API</name>
|
|
|
|
|
<description>The HBase Application Programmer's API</description>
|
|
|
|
|
<excludePackageNames>org.apache.hadoop.hbase.backup*:org.apache.hadoop.hbase.catalog:org.apache.hadoop.hbase.client.coprocessor:org.apache.hadoop.hbase.client.metrics:org.apache.hadoop.hbase.codec*:org.apache.hadoop.hbase.constraint:org.apache.hadoop.hbase.coprocessor.*:org.apache.hadoop.hbase.executor:org.apache.hadoop.hbase.fs:*.generated.*:org.apache.hadoop.hbase.io.hfile.*:org.apache.hadoop.hbase.mapreduce.hadoopbackport:org.apache.hadoop.hbase.mapreduce.replication:org.apache.hadoop.hbase.master.*:org.apache.hadoop.hbase.metrics*:org.apache.hadoop.hbase.migration:org.apache.hadoop.hbase.monitoring:org.apache.hadoop.hbase.p*:org.apache.hadoop.hbase.regionserver.compactions:org.apache.hadoop.hbase.regionserver.handler:org.apache.hadoop.hbase.regionserver.snapshot:org.apache.hadoop.hbase.replication.*:org.apache.hadoop.hbase.rest.filter:org.apache.hadoop.hbase.rest.model:org.apache.hadoop.hbase.rest.p*:org.apache.hadoop.hbase.security.*:org.apache.hadoop.hbase.thrift*:org.apache.hadoop.hbase.tmpl.*:org.apache.hadoop.hbase.tool:org.apache.hadoop.hbase.trace:org.apache.hadoop.hbase.util.byterange*:org.apache.hadoop.hbase.util.test:org.apache.hadoop.hbase.util.vint:org.apache.hadoop.metrics2*:org.apache.hadoop.hbase.io.compress*</excludePackageNames>
|
|
|
|
|
<!-- switch on dependency-driven aggregation -->
|
|
|
|
|
<includeDependencySources>false</includeDependencySources>
|
|
|
|
|
<sourceFilesExclude>**/generated/*</sourceFilesExclude>
|
|
|
|
|
<show>protected</show>
|
|
|
|
|
<!-- (shows only public and protected classes and members) -->
|
|
|
|
|
<quiet>true</quiet>
|
|
|
|
|
<linksource>true</linksource>
|
|
|
|
|
<sourcetab>2</sourcetab>
|
|
|
|
|
<validateLinks>true</validateLinks>
|
|
|
|
|
<fixClassComment>true</fixClassComment>
|
|
|
|
|
<fixFieldComment>true</fixFieldComment>
|
|
|
|
|
<fixMethodComment>true</fixMethodComment>
|
|
|
|
|
<fixTags>all</fixTags>
|
|
|
|
|
<notimestamp>true</notimestamp>
|
|
|
|
|
<locale>en_US</locale>
|
|
|
|
|
<!-- Pass some options straight to the javadoc executable since it is easier -->
|
|
|
|
|
<additionalJOption>-J-Xmx2G</additionalJOption>
|
|
|
|
|
<!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
|
|
|
|
|
<additionalDependencies>
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>org.mockito</groupId>
|
|
|
|
|
<artifactId>mockito-core</artifactId>
|
|
|
|
|
<version>${mockito-core.version}</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>org.hamcrest</groupId>
|
|
|
|
|
<artifactId>hamcrest-core</artifactId>
|
|
|
|
|
<version>${hamcrest.version}</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
<!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
|
|
|
|
|
<additionalDependency>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
<version>3.0.2</version>
|
|
|
|
|
</additionalDependency>
|
|
|
|
|
</additionalDependencies>
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
</configuration>
|
|
|
|
|
</reportSet>
|
|
|
|
|
</reportSets>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
|
|
<version>${maven.checkstyle.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<excludes>target/**</excludes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
</reporting>
|
2017-08-31 11:03:22 -04:00
|
|
|
|
|
2010-04-12 19:50:51 -04:00
|
|
|
|
<!--
|
|
|
|
|
To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
|
2010-02-24 15:17:17 -05:00
|
|
|
|
|
2010-04-12 19:50:51 -04:00
|
|
|
|
<settings>
|
|
|
|
|
<servers>
|
|
|
|
|
<server>
|
|
|
|
|
<id>apache.releases.https</id>
|
|
|
|
|
<username>hbase_committer</username>
|
|
|
|
|
<password>********</password>
|
|
|
|
|
</server>
|
|
|
|
|
|
|
|
|
|
<server>
|
|
|
|
|
<id>apache.snapshots.https</id>
|
|
|
|
|
<username>hbase_committer</username>
|
|
|
|
|
<password>********</password>
|
|
|
|
|
</server>
|
|
|
|
|
|
|
|
|
|
</servers>
|
|
|
|
|
</settings>
|
|
|
|
|
|
|
|
|
|
$ mvn deploy
|
|
|
|
|
(or)
|
2010-06-07 19:06:24 -04:00
|
|
|
|
$ mvn -s /my/path/settings.xml deploy
|
2010-04-12 19:50:51 -04:00
|
|
|
|
|
|
|
|
|
-->
|
2011-03-15 18:20:08 -04:00
|
|
|
|
<profiles>
|
2015-12-26 17:47:53 -05:00
|
|
|
|
<profile>
|
2016-03-14 21:28:50 -04:00
|
|
|
|
<id>rsgroup</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<property>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<name>!skip-rsgroup</name>
|
2016-03-14 21:28:50 -04:00
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
|
|
|
|
<modules>
|
|
|
|
|
<module>hbase-rsgroup</module>
|
|
|
|
|
</modules>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
2015-12-26 17:47:53 -05:00
|
|
|
|
<id>build-with-jdk8</id>
|
|
|
|
|
<activation>
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<jdk>1.8</jdk>
|
2015-12-26 17:47:53 -05:00
|
|
|
|
</activation>
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<properties>
|
|
|
|
|
<maven.compiler.source>${compileSource}</maven.compiler.source>
|
|
|
|
|
<maven.compiler.target>${compileSource}</maven.compiler.target>
|
|
|
|
|
</properties>
|
2015-12-26 17:47:53 -05:00
|
|
|
|
</profile>
|
2019-01-30 03:20:33 -05:00
|
|
|
|
<profile>
|
|
|
|
|
<id>build-with-jdk11</id>
|
|
|
|
|
<activation>
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<jdk>[11,)</jdk>
|
2019-01-30 03:20:33 -05:00
|
|
|
|
</activation>
|
2020-02-13 15:43:05 -05:00
|
|
|
|
<properties>
|
2022-03-12 03:51:49 -05:00
|
|
|
|
<maven.compiler.release>${releaseTarget}</maven.compiler.release>
|
2020-02-13 15:43:05 -05:00
|
|
|
|
<!-- TODO: replicate logic for windows support -->
|
2022-11-29 07:40:13 -05:00
|
|
|
|
<argLine>-Dorg.apache.hbase.thirdparty.io.netty.tryReflectionSetAccessible=true
|
2022-04-21 11:49:27 -04:00
|
|
|
|
--add-modules jdk.unsupported
|
|
|
|
|
--add-opens java.base/java.nio=ALL-UNNAMED
|
|
|
|
|
--add-opens java.base/sun.nio.ch=ALL-UNNAMED
|
|
|
|
|
--add-opens java.base/java.lang=ALL-UNNAMED
|
|
|
|
|
--add-opens java.base/jdk.internal.ref=ALL-UNNAMED
|
|
|
|
|
--add-opens java.base/java.lang.reflect=ALL-UNNAMED
|
2023-01-27 09:42:24 -05:00
|
|
|
|
--add-opens java.base/java.util=ALL-UNNAMED
|
2023-02-17 08:12:26 -05:00
|
|
|
|
--add-opens java.base/java.util.concurrent=ALL-UNNAMED
|
2023-01-30 21:19:57 -05:00
|
|
|
|
--add-opens java.base/jdk.internal.util.random=ALL-UNNAMED
|
2022-04-21 11:49:27 -04:00
|
|
|
|
--add-exports java.base/jdk.internal.misc=ALL-UNNAMED
|
2022-07-25 07:21:21 -04:00
|
|
|
|
--add-exports java.security.jgss/sun.security.krb5=ALL-UNNAMED
|
2022-04-21 11:49:27 -04:00
|
|
|
|
${hbase-surefire.argLine}</argLine>
|
2020-03-30 12:31:10 -04:00
|
|
|
|
<!--
|
2020-04-08 13:51:03 -04:00
|
|
|
|
Value to use for surefire when running jdk11.
|
2020-03-30 12:31:10 -04:00
|
|
|
|
TODO: replicate logic for windows
|
|
|
|
|
-->
|
2020-04-08 13:51:03 -04:00
|
|
|
|
<surefire.Xmx>2200m</surefire.Xmx>
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<!--
|
|
|
|
|
com.sun.javadoc and com.sun.tools.doclets are both deprecated in java 11 and will
|
|
|
|
|
fail the javadoc generating, so we need to use yetus 0.14.1 where it uses jdk.javadoc
|
|
|
|
|
and jdk.javadoc.doclet instead
|
|
|
|
|
-->
|
|
|
|
|
<javadoc.audience-annotations.version>0.14.1</javadoc.audience-annotations.version>
|
2020-02-13 15:43:05 -05:00
|
|
|
|
</properties>
|
|
|
|
|
<build>
|
2022-10-25 09:41:53 -04:00
|
|
|
|
<pluginManagement>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
<version>${maven.javadoc.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<source>${compileSource}</source>
|
|
|
|
|
<!--
|
|
|
|
|
Need to add this option to ignore the source errors, epsecially that we reference
|
|
|
|
|
test code in hbase-testing-util's main code.
|
|
|
|
|
-->
|
|
|
|
|
<additionalOptions>--ignore-source-errors</additionalOptions>
|
|
|
|
|
<additionalJOptions>
|
|
|
|
|
<additionalJOption>-J-Xmx2G</additionalJOption>
|
|
|
|
|
<additionalJOption>-J--add-exports</additionalJOption>
|
|
|
|
|
<additionalJOption>-Jjdk.javadoc/jdk.javadoc.internal.tool=ALL-UNNAMED</additionalJOption>
|
|
|
|
|
</additionalJOptions>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</pluginManagement>
|
2020-02-13 15:43:05 -05:00
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>hadoop3-profile-required</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<requireProperty>
|
|
|
|
|
<!--
|
|
|
|
|
$ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
|
|
|
|
|
enforcer plugin does not see active profiles on sub-modules, so enforce based
|
|
|
|
|
on the presence of the activation property and value.
|
|
|
|
|
-->
|
|
|
|
|
<property>hadoop.profile</property>
|
|
|
|
|
<regex>.*3\.0$</regex>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<message>HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.</message>
|
|
|
|
|
<regexMessage>HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.</regexMessage>
|
2020-02-13 15:43:05 -05:00
|
|
|
|
</requireProperty>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
2019-01-30 03:20:33 -05:00
|
|
|
|
</profile>
|
2015-03-11 14:18:30 -04:00
|
|
|
|
<!-- profile activated by the Jenkins patch testing job -->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>jenkins.patch</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
<property>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<name>HBasePatchProcess</name>
|
2015-03-11 14:18:30 -04:00
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
2015-12-28 00:26:49 -05:00
|
|
|
|
<properties>
|
|
|
|
|
<surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
|
|
|
|
|
</properties>
|
2015-03-11 14:18:30 -04:00
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId>
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>run</goal>
|
|
|
|
|
</goals>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<phase>validate</phase>
|
2015-03-11 14:18:30 -04:00
|
|
|
|
<configuration>
|
|
|
|
|
<tasks>
|
2015-06-04 19:11:15 -04:00
|
|
|
|
<echo>Maven Execution Environment</echo>
|
2015-03-11 14:18:30 -04:00
|
|
|
|
<echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
|
|
|
|
|
</tasks>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
2015-10-14 15:22:27 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<id>jacoco</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
|
<version>${jacoco.version}</version>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<configuration>
|
|
|
|
|
<systemPropertyVariables>
|
|
|
|
|
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
|
|
|
|
|
</systemPropertyVariables>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/generated/**/*.class</exclude>
|
|
|
|
|
</excludes>
|
|
|
|
|
</configuration>
|
2015-10-14 15:22:27 -04:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>prepare-agent</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>report</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>report</goal>
|
|
|
|
|
</goals>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<phase>prepare-package</phase>
|
2015-10-14 15:22:27 -04:00
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
2011-06-06 19:16:09 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<id>os.linux</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
<os>
|
|
|
|
|
<family>Linux</family>
|
|
|
|
|
</os>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<id>os.mac</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<os>
|
|
|
|
|
<family>Mac</family>
|
|
|
|
|
</os>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
|
|
|
|
|
</properties>
|
2011-06-06 19:16:09 -04:00
|
|
|
|
</profile>
|
2013-01-30 16:31:21 -05:00
|
|
|
|
<profile>
|
|
|
|
|
<id>os.windows</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<os>
|
|
|
|
|
<family>Windows</family>
|
|
|
|
|
</os>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<build.platform>cygwin</build.platform>
|
2015-10-14 15:22:27 -04:00
|
|
|
|
<argLine>${hbase-surefire.cygwin-argLine}</argLine>
|
2013-01-30 16:31:21 -05:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
2019-12-02 07:39:24 -05:00
|
|
|
|
<!-- this profile should match the name of the release profile in the root asf pom -->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>apache-release</id>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- This should insert itself in place of the normal deploy plugin and then
|
|
|
|
|
handle either closing or dropping the staging repository for us depending
|
|
|
|
|
on if the build succeeds.
|
|
|
|
|
-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.sonatype.plugins</groupId>
|
|
|
|
|
<artifactId>nexus-staging-maven-plugin</artifactId>
|
|
|
|
|
<version>1.6.8</version>
|
|
|
|
|
<extensions>true</extensions>
|
|
|
|
|
<configuration>
|
|
|
|
|
<nexusUrl>https://repository.apache.org/</nexusUrl>
|
|
|
|
|
<serverId>apache.releases.https</serverId>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
2012-02-11 17:12:23 -05:00
|
|
|
|
<!-- this profile should be activated for release builds -->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>release</id>
|
|
|
|
|
<build>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.rat</groupId>
|
2012-02-11 17:12:23 -05:00
|
|
|
|
<artifactId>apache-rat-plugin</artifactId>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<executions>
|
2012-02-11 17:12:23 -05:00
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>check</goal>
|
|
|
|
|
</goals>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<phase>package</phase>
|
2012-02-11 17:12:23 -05:00
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
2015-05-31 11:17:23 -04:00
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
2017-09-14 20:20:59 -04:00
|
|
|
|
<version>${enforcer.version}</version>
|
2015-05-31 11:17:23 -04:00
|
|
|
|
<configuration>
|
|
|
|
|
<rules>
|
|
|
|
|
<enforceBytecodeVersion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<maxJdkVersion>${compileSource}</maxJdkVersion>
|
|
|
|
|
<message>HBase has unsupported dependencies.
|
2015-05-31 11:17:23 -04:00
|
|
|
|
HBase requires that all dependencies be compiled with version ${compileSource} or earlier
|
|
|
|
|
of the JDK to properly build from source. You appear to be using a newer dependency. You can use
|
|
|
|
|
either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
|
|
|
|
|
Non-release builds can temporarily build with a newer JDK version by setting the
|
2022-03-28 09:13:58 -04:00
|
|
|
|
'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).</message>
|
|
|
|
|
<ignoreClasses>
|
|
|
|
|
<ignoreClass>module-info</ignoreClass>
|
|
|
|
|
</ignoreClasses>
|
|
|
|
|
</enforceBytecodeVersion>
|
|
|
|
|
</rules>
|
|
|
|
|
</configuration>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>extra-enforcer-rules</artifactId>
|
|
|
|
|
<version>${extra.enforcer.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
2015-05-31 11:17:23 -04:00
|
|
|
|
</plugin>
|
2012-02-11 17:12:23 -05:00
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<!-- Submodules that need hadoop dependencies should declare
|
|
|
|
|
profiles with activation properties matching the profile here.
|
|
|
|
|
Generally, it should be sufficient to copy the first
|
|
|
|
|
few lines of the profile you want to match. -->
|
2012-10-25 16:50:41 -04:00
|
|
|
|
<!-- profile for building against Hadoop 2.0.x
|
2013-12-06 17:28:03 -05:00
|
|
|
|
This is the default.
|
|
|
|
|
-->
|
2011-08-23 18:47:53 -04:00
|
|
|
|
<profile>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<id>hadoop-2.0</id>
|
2011-08-23 18:47:53 -04:00
|
|
|
|
<activation>
|
|
|
|
|
<property>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
<!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<!--h2-->
|
|
|
|
|
<name>!hadoop.profile</name>
|
2011-08-23 18:47:53 -04:00
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
2013-01-23 18:45:36 -05:00
|
|
|
|
<modules>
|
|
|
|
|
<module>hbase-hadoop2-compat</module>
|
|
|
|
|
</modules>
|
2011-08-23 18:47:53 -04:00
|
|
|
|
<properties>
|
2012-07-17 18:02:06 -04:00
|
|
|
|
<hadoop.version>${hadoop-two.version}</hadoop.version>
|
|
|
|
|
<compat.module>hbase-hadoop2-compat</compat.module>
|
2013-04-07 01:49:57 -04:00
|
|
|
|
<assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
|
2018-02-23 17:53:52 -05:00
|
|
|
|
<!--This property is for hadoops netty. HBase netty
|
|
|
|
|
comes in via hbase-thirdparty hbase-shaded-netty-->
|
2023-01-25 17:45:02 -05:00
|
|
|
|
<netty.hadoop.version>3.10.6.Final</netty.hadoop.version>
|
2011-08-23 18:47:53 -04:00
|
|
|
|
</properties>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-mapreduce-client-core</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-jaxrs</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-xc</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.inject</groupId>
|
|
|
|
|
<artifactId>javax.inject</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<exclusions>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-mapreduce-client-app</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-jaxrs</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-xc</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-auth</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>net.minidev</groupId>
|
|
|
|
|
<artifactId>json-smart</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<version>${hadoop-two.version}</version>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<exclusions>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
2019-08-21 10:06:05 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-jaxrs</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-xc</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
</exclusion>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2017-01-30 14:54:54 -05:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-jaxrs</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-xc</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
2017-01-30 14:54:54 -05:00
|
|
|
|
</exclusion>
|
2017-08-21 20:14:53 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
2017-08-21 20:14:53 -04:00
|
|
|
|
</exclusion>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<!--
|
|
|
|
|
a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
|
|
|
|
|
duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
|
|
|
|
|
-->
|
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
|
<artifactId>javax.activation-api</artifactId>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
<version>${javax.activation.version}</version>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-client</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
<exclusions>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
</dependency>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<!-- This was marked as test dep in earlier pom, but was scoped compile.
|
|
|
|
|
Where do we actually need it? -->
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-minicluster</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<version>${hadoop-two.version}</version>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<exclusions>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<!--If we comment this in, a few tests in hbase-mapreduce
|
|
|
|
|
fail. They depend on jersey-core somehow. But excluding
|
|
|
|
|
jersey-core here messes up hbase-it because jersey-core
|
|
|
|
|
implements a 1.x jaxrs Response Interface when we depend
|
|
|
|
|
on the 2.x Interface... . Letting this jar come in
|
|
|
|
|
transitively here but will exclude it down in hbase-it.
|
|
|
|
|
See HBASE-22029.
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
-->
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
</exclusion>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2017-01-30 14:54:54 -05:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
2017-01-30 14:54:54 -05:00
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
</exclusions>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-minikdc</artifactId>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<version>${hadoop-two.version}</version>
|
2014-01-28 20:19:28 -05:00
|
|
|
|
<scope>test</scope>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-08-15 06:54:46 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>bouncycastle</groupId>
|
|
|
|
|
<artifactId>bcprov-jdk15</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-distcp</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
|
|
|
|
<version>${hadoop-two.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
|
|
|
|
</profile>
|
|
|
|
|
<!--
|
|
|
|
|
profile for building against Hadoop 3.0.0. Activate using:
|
|
|
|
|
mvn -Dhadoop.profile=3.0
|
|
|
|
|
-->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>hadoop-3.0</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<property>
|
|
|
|
|
<name>hadoop.profile</name>
|
|
|
|
|
<value>3.0</value>
|
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
|
|
|
|
<modules>
|
|
|
|
|
<!--For now, use hadoop2 compat module-->
|
|
|
|
|
<module>hbase-hadoop2-compat</module>
|
|
|
|
|
</modules>
|
|
|
|
|
<properties>
|
|
|
|
|
<hadoop.profile>3.0</hadoop.profile>
|
|
|
|
|
<hadoop.version>${hadoop-three.version}</hadoop.version>
|
|
|
|
|
<!--Use this compat module for now. TODO: Make h3 one if we need one-->
|
|
|
|
|
<compat.module>hbase-hadoop2-compat</compat.module>
|
|
|
|
|
<assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
|
|
|
|
|
<!--This property is for hadoops netty. HBase netty
|
|
|
|
|
comes in via hbase-thirdparty hbase-shaded-netty-->
|
|
|
|
|
<netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
|
|
|
|
|
</properties>
|
|
|
|
|
<dependencyManagement>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-mapreduce-client-core</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<exclusions>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<artifactId>*</artifactId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusion>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2017-01-30 14:54:54 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.inject</groupId>
|
|
|
|
|
<artifactId>javax.inject</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
<exclusions>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
|
</exclusion>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<exclusion>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>*</artifactId>
|
2015-07-06 18:00:51 -04:00
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<!--HERE-->
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
2017-12-07 18:18:48 -05:00
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
</exclusions>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-mapreduce-client-jobclient</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
<type>test-jar</type>
|
2014-01-28 20:19:28 -05:00
|
|
|
|
<scope>test</scope>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
</exclusion>
|
2015-07-06 18:00:51 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
2016-08-02 12:36:51 -04:00
|
|
|
|
</exclusion>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-mapreduce-client-app</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<exclusions>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<artifactId>*</artifactId>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusion>
|
2019-05-12 22:30:13 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
2019-05-12 22:30:13 -04:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
2019-05-12 22:30:13 -04:00
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.fusesource.leveldbjni</groupId>
|
|
|
|
|
<artifactId>leveldbjni-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.openlabtesting.leveldbjni</groupId>
|
|
|
|
|
<artifactId>leveldbjni-all</artifactId>
|
|
|
|
|
</exclusion>
|
2019-05-12 22:30:13 -04:00
|
|
|
|
</exclusions>
|
2013-08-02 15:01:34 -04:00
|
|
|
|
</dependency>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
2014-02-07 12:06:00 -05:00
|
|
|
|
<exclusions>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
2019-08-21 10:06:05 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-server</artifactId>
|
2017-08-21 20:14:53 -04:00
|
|
|
|
</exclusion>
|
2014-02-07 12:06:00 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
</exclusion>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
</exclusion>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<artifactId>*</artifactId>
|
2016-08-02 02:17:59 -04:00
|
|
|
|
</exclusion>
|
2017-01-01 15:15:32 -05:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
2017-01-01 15:15:32 -05:00
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.fusesource.leveldbjni</groupId>
|
|
|
|
|
<artifactId>leveldbjni-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.openlabtesting.leveldbjni</groupId>
|
|
|
|
|
<artifactId>leveldbjni-all</artifactId>
|
|
|
|
|
</exclusion>
|
2014-02-07 12:06:00 -05:00
|
|
|
|
</exclusions>
|
2013-05-01 00:20:01 -04:00
|
|
|
|
</dependency>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-hdfs</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
</exclusion>
|
2019-08-21 10:06:05 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>xerces</groupId>
|
|
|
|
|
<artifactId>xercesImpl</artifactId>
|
2019-08-21 10:06:05 -04:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<artifactId>*</artifactId>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<!--
|
|
|
|
|
Needed in test context when hadoop-3.3 runs.
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
-->
|
2019-03-25 09:25:15 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
2013-05-01 00:20:01 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-auth</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<exclusions>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>net.minidev</groupId>
|
|
|
|
|
<artifactId>json-smart</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusions>
|
2012-05-26 01:56:04 -04:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
2014-02-07 12:06:00 -05:00
|
|
|
|
<exclusions>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
2017-10-26 17:23:42 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-json</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-servlet</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-server</artifactId>
|
2017-10-26 17:23:42 -04:00
|
|
|
|
</exclusion>
|
2014-02-07 12:06:00 -05:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
2014-02-07 12:06:00 -05:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
</exclusion>
|
2014-05-20 06:57:11 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
2016-08-02 02:17:59 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
|
<artifactId>junit</artifactId>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>*</artifactId>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-04 15:06:34 -05:00
|
|
|
|
</exclusions>
|
2015-02-17 20:46:27 -05:00
|
|
|
|
</dependency>
|
2020-03-13 05:46:35 -04:00
|
|
|
|
<dependency>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<!--
|
|
|
|
|
a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
|
|
|
|
|
-->
|
|
|
|
|
<groupId>javax.activation</groupId>
|
|
|
|
|
<artifactId>javax.activation-api</artifactId>
|
|
|
|
|
<version>1.2.0</version>
|
|
|
|
|
<scope>test</scope>
|
2020-03-13 05:46:35 -04:00
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>hadoop-common</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
|
|
|
|
<type>test-jar</type>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
2020-04-24 01:22:35 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
2020-04-24 01:22:35 -04:00
|
|
|
|
</exclusion>
|
2017-08-21 20:14:53 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-mapper-asl</artifactId>
|
2017-08-21 20:14:53 -04:00
|
|
|
|
</exclusion>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-core-asl</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<artifactId>jackson-jaxrs</artifactId>
|
2017-10-02 17:31:48 -04:00
|
|
|
|
</exclusion>
|
2020-05-13 05:59:21 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>jackson-xc</artifactId>
|
2020-05-13 05:59:21 -04:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
2020-05-13 05:59:21 -04:00
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
2022-03-11 14:17:43 -05:00
|
|
|
|
</exclusion>
|
2020-04-24 01:22:35 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
2020-04-24 01:22:35 -04:00
|
|
|
|
</exclusion>
|
2020-05-13 05:59:21 -04:00
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
2020-05-13 05:59:21 -04:00
|
|
|
|
</exclusion>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
2021-06-08 10:33:25 -04:00
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-07-08 03:59:25 -04:00
|
|
|
|
<!--
|
|
|
|
|
Needed in test context when hadoop-3.3 runs.
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
-->
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.codehaus.jackson</groupId>
|
|
|
|
|
<artifactId>*</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.ws.rs</groupId>
|
|
|
|
|
<artifactId>jsr311-api</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-client</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-annotations</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<!-- This was marked as test dep in earlier pom, but was scoped compile.
|
2014-09-30 01:28:12 -04:00
|
|
|
|
Where do we actually need it? -->
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-minicluster</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
|
|
|
|
<exclusions>
|
2019-03-25 09:25:15 -04:00
|
|
|
|
<!--If we comment this in, a few tests in hbase-mapreduce
|
|
|
|
|
fail. They depend on jersey-core somehow. But excluding
|
|
|
|
|
jersey-core here messes up hbase-it because jersey-core
|
|
|
|
|
implements a 1.x jaxrs Response Interface when we depend
|
|
|
|
|
on the 2.x Interface... . Letting this jar come in
|
|
|
|
|
transitively here but will exclude it down in hbase-it.
|
|
|
|
|
See HBASE-22029.
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
|
<artifactId>jersey-core</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
-->
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
|
<artifactId>jsp-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>servlet-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>stax</groupId>
|
|
|
|
|
<artifactId>stax-api</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<!-- MiniMRCluster needs the hadoop netty-all transitive include... a
|
2021-06-08 10:33:25 -04:00
|
|
|
|
netty-all 4.0.52 version.... so we have to let it through.
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>io.netty</groupId>
|
|
|
|
|
<artifactId>netty-all</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
-->
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>com.google.code.findbugs</groupId>
|
|
|
|
|
<artifactId>jsr305</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>log4j</groupId>
|
|
|
|
|
<artifactId>log4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-minikdc</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
|
|
</exclusion>
|
2022-05-27 17:03:41 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>ch.qos.reload4j</groupId>
|
|
|
|
|
<artifactId>reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
|
|
<artifactId>slf4j-reload4j</artifactId>
|
|
|
|
|
</exclusion>
|
HBASE-27340 Artifacts with resolved profiles (#4740)
Make it so our published poms carry the minimum needed to run
an hbase; the published pom has no profiles -- the profiles
specified at build time are resolved, their dependencies inlined,
and then they are stripped -- and no build-time, or plugins
dependencies or properties, etc. Resultant poms have explicit
hadoop lib versions baked in -- no more being able to choose
hbase with hadoop2 or haddop3 at downstream build time by setting
a '-Dhadoop.profile=X.0'.
Pattern is to add profiles when none in sub-modules when
the flatten plugin complains it can't resolve an hadoop
dependency's 'version' (e.g. hadoop-common, hadoop-hdfs).
Adding the hadoop-2.0 and hadoop-3.0 profiles in the sub-module
make it so the flatten plugin can figure 'hadoop.version'
definitively.
Another spin on the above happens when profiles already exist
in submodule but the flatten plugin is complaining it can't
figure figure version on an hadoop dependency NOT under
profiles. Below, we move the delinquent hadoop dependency under
existing profiles (minikdc was the usual dependency outside
profiles in sub-modules that flatten complained about).
Sometimes, moving an hadoop dependency under a profile, there
would be excludes on the local dependency. If the parent pom
excludes section was missing the local excludes, we added them
up to the parent module so all excluding is done up there in
the parent profile dependencyManagement section.
* hbase-asyncfs/pom.xml
* hbase-endpoint/pom.xml
* hbase-examples/pom.xml
* hbase-http/pom.xml
* hbase-rest/pom.xml
* hbase-server/pom.xml
Move the minikdc under profiles so it picks up appropriate hadoop version
when the flatten plugin runs.
* hbase-hadoop2-compat/pom.xml
Add hadoop2 and hadoop3 profiles and move hadoop-common, etc.
under them so we pick up appropriate hadoop version when flatten
plugin runs.
* hbase-mapreduce/pom.xml
Move hadoop dependencies under profiles so right version is
available when the flatten plugin runs.
* hbase-shaded/hbase-shaded-testing-util/pom.xml
Add profiles for hadoop-2.0 and hadoop-3.0 and move the
hadoop dependencies under them.
pom.xml
Add the flatten plugin with the flatten profiles enabled.
Add a few excludes on hadoop profiles picked up from sub-modules.
E.g. exclude bouncycastle bcprov-jdk15 when we include minikdc.
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
2022-09-02 19:43:29 -04:00
|
|
|
|
<exclusion>
|
|
|
|
|
<groupId>bouncycastle</groupId>
|
|
|
|
|
<artifactId>bcprov-jdk15</artifactId>
|
|
|
|
|
</exclusion>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-distcp</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
|
|
|
|
</dependency>
|
2020-03-13 05:46:35 -04:00
|
|
|
|
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.hadoop</groupId>
|
|
|
|
|
<artifactId>hadoop-hdfs-client</artifactId>
|
|
|
|
|
<version>${hadoop-three.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</dependencyManagement>
|
2014-09-30 01:28:12 -04:00
|
|
|
|
|
2012-05-01 17:08:11 -04:00
|
|
|
|
</profile>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
<!-- profiles for the tests
|
2011-11-19 11:38:07 -05:00
|
|
|
|
See as well the properties of the project for the values
|
|
|
|
|
when no profile is active. -->
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<profile>
|
2015-11-03 23:47:07 -05:00
|
|
|
|
<!-- Use it to launch all tests in the same JVM -->
|
2011-11-19 11:38:07 -05:00
|
|
|
|
<id>singleJVMTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<surefire.firstPartGroups/>
|
2011-11-19 11:38:07 -05:00
|
|
|
|
</properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
</profile>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<!-- Use it to launch small tests only -->
|
2011-11-19 11:38:07 -05:00
|
|
|
|
<id>runSmallTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<surefire.secondPartGroups/>
|
2011-11-19 11:38:07 -05:00
|
|
|
|
</properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
</profile>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<!-- Use it to launch medium tests only -->
|
2011-11-19 11:38:07 -05:00
|
|
|
|
<id>runMediumTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<surefire.secondPartGroups/>
|
2011-11-19 11:38:07 -05:00
|
|
|
|
</properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
</profile>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<!-- Use it to launch large tests only -->
|
2011-11-19 11:38:07 -05:00
|
|
|
|
<id>runLargeTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<surefire.secondPartGroups/>
|
2011-11-19 11:38:07 -05:00
|
|
|
|
</properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
</profile>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<!-- Use it to launch small & medium tests -->
|
2011-11-19 11:38:07 -05:00
|
|
|
|
<id>runDevTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>false</surefire.skipSecondPart>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
|
2011-11-19 11:38:07 -05:00
|
|
|
|
</properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
</profile>
|
2012-06-03 17:59:50 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<!-- Use it to launch all tests -->
|
2011-11-19 11:38:07 -05:00
|
|
|
|
<id>runAllTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
2011-11-19 11:38:07 -05:00
|
|
|
|
<surefire.skipSecondPart>false</surefire.skipSecondPart>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
|
2011-11-19 11:38:07 -05:00
|
|
|
|
</properties>
|
[jira] [HBASE-4908] HBase cluster test tool (port from 0.89-fb)
Summary:
Porting one of our HBase cluster test tools (a single-process multi-threaded
load generator and verifier) from 0.89-fb to trunk.
I cleaned up the code a bit compared to what's in 0.89-fb, and discovered that
it has some features that I have not tried yet (some kind of a kill test, and
some way to run HBase as multiple processes on one machine).
The main utility of this piece of code for us has been the HBaseClusterTest
command-line tool (called HBaseTest in 0.89-fb), which we usually invoke as a
load test in our five-node dev cluster testing, e.g.:
hbase org.apache.hadoop.hbase.util.LoadTestTool -write 50:100:20 -tn loadtest4
-read 100:10 -zk <zk_quorum_node> -bloom ROWCOL -compression LZO -key_window 5
-max_read_errors 10000 -num_keys 10000000000 -start_key 0
Test Plan:
Run this on a dev cluster. Run all unit tests.
Reviewers: stack, Karthik, Kannan, nspiegelberg, JIRA
Reviewed By: nspiegelberg
CC: stack, nspiegelberg, mbautin, Karthik
Differential Revision: 549
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1211746 13f79535-47bb-0310-9956-ffa450edef68
2011-12-07 21:38:27 -05:00
|
|
|
|
</profile>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<id>runMiscTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runCoprocessorTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.CoprocessorTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runClientTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runMasterTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runMapredTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runMapreduceTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runRegionServerTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RegionServerTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runVerySlowMapReduceTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>2</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runVerySlowRegionServerTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>2</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runFilterTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runIOTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runRestTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runRPCTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runReplicationTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ReplicationTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2014-09-13 00:37:06 -04:00
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runSecurityTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
|
|
|
|
</properties>
|
2019-03-21 12:34:12 -04:00
|
|
|
|
</profile>
|
2021-11-22 10:13:27 -05:00
|
|
|
|
<profile>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<id>runFlakeyTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
</activation>
|
2021-11-22 10:13:27 -05:00
|
|
|
|
<properties>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
2021-11-22 10:13:27 -05:00
|
|
|
|
</properties>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>runZKTests</id>
|
2021-11-22 10:13:27 -05:00
|
|
|
|
<activation>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<activeByDefault>false</activeByDefault>
|
2021-11-22 10:13:27 -05:00
|
|
|
|
</activation>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<properties>
|
|
|
|
|
<surefire.firstPartForkCount>1</surefire.firstPartForkCount>
|
|
|
|
|
<surefire.secondPartForkCount>1</surefire.secondPartForkCount>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
|
|
|
|
<surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests</surefire.firstPartGroups>
|
|
|
|
|
<surefire.secondPartGroups/>
|
|
|
|
|
</properties>
|
2021-11-22 10:13:27 -05:00
|
|
|
|
</profile>
|
2013-09-16 15:26:46 -04:00
|
|
|
|
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<profile>
|
|
|
|
|
<!-- Use it to launch tests locally-->
|
|
|
|
|
<id>localTests</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<property>
|
|
|
|
|
<name>test</name>
|
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<surefire.provider>surefire-junit4</surefire.provider>
|
|
|
|
|
<surefire.skipFirstPart>false</surefire.skipFirstPart>
|
|
|
|
|
<surefire.skipSecondPart>true</surefire.skipSecondPart>
|
|
|
|
|
<surefire.firstPartGroups/>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
|
|
|
|
|
or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
|
|
|
|
|
the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
|
|
|
|
|
The report will be generated under target/site/clover/index.html when you run
|
|
|
|
|
MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
|
|
|
|
|
<profile>
|
|
|
|
|
<id>clover</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<activeByDefault>false</activeByDefault>
|
|
|
|
|
<property>
|
|
|
|
|
<name>clover</name>
|
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
|
|
|
|
|
</properties>
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
|
|
|
|
|
our instrumented classes for the doclet will fail
|
|
|
|
|
-->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
|
|
|
<version>${clover.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.atlassian.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-clover2-plugin</artifactId>
|
|
|
|
|
<version>${clover.version}</version>
|
2015-10-16 09:37:20 -04:00
|
|
|
|
<configuration>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<includesAllSourceRoots>true</includesAllSourceRoots>
|
|
|
|
|
<includesTestSourceRoots>true</includesTestSourceRoots>
|
|
|
|
|
<targetPercentage>50%</targetPercentage>
|
|
|
|
|
<generateHtml>true</generateHtml>
|
|
|
|
|
<generateXml>true</generateXml>
|
|
|
|
|
<excludes>
|
|
|
|
|
<exclude>**/generated/**</exclude>
|
|
|
|
|
</excludes>
|
2014-08-21 04:50:14 -04:00
|
|
|
|
</configuration>
|
2022-03-28 09:13:58 -04:00
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>clover-setup</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>setup</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>process-sources</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>clover</id>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>clover</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<phase>site</phase>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<!-- Used by the website generation script on jenkins to
|
|
|
|
|
do a local install of the jars we need to run a normal
|
|
|
|
|
site build w/o forking.
|
|
|
|
|
-->
|
|
|
|
|
<id>site-install-step</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
|
|
|
<enforcer.skip>true</enforcer.skip>
|
|
|
|
|
<checkstyle.skip>true</checkstyle.skip>
|
|
|
|
|
<spotbugs.skip>true</spotbugs.skip>
|
|
|
|
|
<warbucks.skip>true</warbucks.skip>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<!-- Used by the website generation script on jenkins to
|
|
|
|
|
mitigate the impact of unneeded build forks while building
|
|
|
|
|
our javadocs.
|
|
|
|
|
-->
|
|
|
|
|
<id>site-build-step</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
<enforcer.skip>true</enforcer.skip>
|
|
|
|
|
<maven.main.skip>true</maven.main.skip>
|
|
|
|
|
<maven.test.skip>true</maven.test.skip>
|
|
|
|
|
<warbucks.skip>true</warbucks.skip>
|
|
|
|
|
<protoc.skip>true</protoc.skip>
|
|
|
|
|
<remoteresources.skip>true</remoteresources.skip>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>eclipse-specific</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<property>
|
|
|
|
|
<name>m2e.version</name>
|
|
|
|
|
</property>
|
|
|
|
|
</activation>
|
|
|
|
|
<build>
|
|
|
|
|
<pluginManagement>
|
|
|
|
|
<plugins>
|
|
|
|
|
<!-- General config for eclipse classpath/settings -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-eclipse-plugin</artifactId>
|
|
|
|
|
<version>${maven.eclipse.version}</version>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!--This plugin's configuration is used to store Eclipse m2e settings
|
|
|
|
|
only. It has no influence on the Maven build itself. m2e does not
|
|
|
|
|
provide any safeguards against rogue maven plugins that leak
|
|
|
|
|
classloaders, modify random files inside workspace or throw nasty
|
|
|
|
|
exceptions to fail the build.
|
|
|
|
|
Top level doesn't do any specific configuration currently - left
|
|
|
|
|
to modules to decide what they want to bind, sans those plugins
|
|
|
|
|
defined in this pom. -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.eclipse.m2e</groupId>
|
|
|
|
|
<artifactId>lifecycle-mapping</artifactId>
|
|
|
|
|
<version>${lifecycle.mapping.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<lifecycleMappingMetadata>
|
|
|
|
|
<pluginExecutions>
|
|
|
|
|
<pluginExecution>
|
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
|
<groupId>org.jacoco</groupId>
|
|
|
|
|
<artifactId>jacoco-maven-plugin</artifactId>
|
|
|
|
|
<versionRange>[0.6.2.201302030002,)</versionRange>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>prepare-agent</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
|
<action>
|
|
|
|
|
<ignore/>
|
|
|
|
|
</action>
|
|
|
|
|
</pluginExecution>
|
|
|
|
|
<pluginExecution>
|
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-enforcer-plugin</artifactId>
|
|
|
|
|
<versionRange>${enforcer.version}</versionRange>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>enforce</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
|
<action>
|
|
|
|
|
<ignore/>
|
|
|
|
|
</action>
|
|
|
|
|
</pluginExecution>
|
|
|
|
|
<pluginExecution>
|
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-remote-resources-plugin</artifactId>
|
|
|
|
|
<versionRange>[1.5,)</versionRange>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>process</goal>
|
|
|
|
|
<goal>bundle</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
|
<action>
|
|
|
|
|
<ignore/>
|
|
|
|
|
</action>
|
|
|
|
|
</pluginExecution>
|
|
|
|
|
<pluginExecution>
|
|
|
|
|
<pluginExecutionFilter>
|
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
|
<artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
|
|
<versionRange>[1.3,)</versionRange>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>create-timestamp</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</pluginExecutionFilter>
|
|
|
|
|
<action>
|
|
|
|
|
<execute>
|
|
|
|
|
<runOnConfiguration>true</runOnConfiguration>
|
|
|
|
|
<runOnIncremental>true</runOnIncremental>
|
|
|
|
|
</execute>
|
|
|
|
|
</action>
|
|
|
|
|
</pluginExecution>
|
|
|
|
|
</pluginExecutions>
|
|
|
|
|
</lifecycleMappingMetadata>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
</pluginManagement>
|
|
|
|
|
</build>
|
|
|
|
|
</profile>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>aarch64</id>
|
|
|
|
|
<activation>
|
|
|
|
|
<os>
|
|
|
|
|
<family>linux</family>
|
|
|
|
|
<arch>aarch64</arch>
|
|
|
|
|
</os>
|
|
|
|
|
</activation>
|
|
|
|
|
<properties>
|
|
|
|
|
<external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
|
|
|
|
|
<external.protoc.version>2.5.0.2</external.protoc.version>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
2010-02-22 18:49:24 -05:00
|
|
|
|
</project>
|