Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-master-matrix/22/

2020-03-09 Thread Apache Jenkins Server
[...truncated 21 lines...]
Looking at the log, list of test(s) that timed-out:

Build:
https://builds.apache.org/job/Phoenix-master-matrix/22/


Affected test class(es):
Set(['as SYSTEM'])


Build step 'Execute shell' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

Build failed in Jenkins: Phoenix | Master | HBase Profile » 2.2 #22

2020-03-09 Thread Apache Jenkins Server
See 


Changes:

[yanxinyi] PHOENIX-4845 Support using Row Value Constructors in OFFSET clause 
for


--
[...truncated 132.40 KB...]
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolForTenantIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 385.687 
s - in org.apache.phoenix.end2end.ConcurrentMutationsExtendedIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 313.421 
s - in org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 138.851 
s - in org.apache.phoenix.end2end.IndexScrutinyToolForTenantIT
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 340.94 
s - in org.apache.phoenix.end2end.IndexBuildTimestampIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.779 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Running org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Tests run: 64, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 420.471 
s - in org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.IndexToolIT
[INFO] Running org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 72.373 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running 
org.apache.phoenix.end2end.OrderByWithServerClientSpoolingDisabledIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 114.17 s 
- in org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Running org.apache.phoenix.end2end.OrderByWithServerMemoryLimitIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.603 s 
- in org.apache.phoenix.end2end.OrderByWithServerMemoryLimitIT
[INFO] Running org.apache.phoenix.end2end.ParameterizedIndexUpgradeToolIT
[INFO] Running org.apache.phoenix.end2end.OrderByWithSpillingIT
[INFO] Tests run: 20, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 858.183 
s - in org.apache.phoenix.end2end.CostBasedDecisionIT
[INFO] Running org.apache.phoenix.end2end.PartialResultServerConfigurationIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 102.965 
s - in org.apache.phoenix.end2end.PartialResultServerConfigurationIT
[WARNING] Tests run: 33, Failures: 0, Errors: 0, Skipped: 3, Time elapsed: 
626.753 s - in org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running org.apache.phoenix.end2end.PermissionNSDisabledIT
[INFO] Running org.apache.phoenix.end2end.PermissionNSEnabledIT
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 421.913 
s - in org.apache.phoenix.end2end.OrderByWithServerClientSpoolingDisabledIT
[INFO] Running org.apache.phoenix.end2end.PermissionsCacheIT
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 469.843 
s - in org.apache.phoenix.end2end.OrderByWithSpillingIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 769.13 s 
- in org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Running org.apache.phoenix.end2end.PhoenixDriverIT
[INFO] Running org.apache.phoenix.end2end.QueryLoggerIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 178.46 s 
- in org.apache.phoenix.end2end.PhoenixDriverIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 88.741 s 
- in org.apache.phoenix.end2end.QueryLoggerIT
[INFO] Running org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.551 s 
- in org.apache.phoenix.end2end.QueryTimeoutIT
[INFO] Running org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.796 s 
- in org.apache.phoenix.end2end.QueryWithLimitIT
[INFO] Running org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.498 s 
- in org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 745.142 
s - in org.apache.phoenix.end2end.PermissionNSDisabledIT
[INFO] Running org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 776.026 
s - in org.apache.phoenix.end2end.PermissionNSEnabledIT
[INFO] Running org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 768.744 
s - in org.apache.phoenix.end2end.PermissionsCacheIT
[WARNING] Tests run: 10, Failures: 0, Errors: 0

Apache-Phoenix | 4.x-HBase-1.3 | Build Successful

2020-03-09 Thread Apache Jenkins Server
4.x-HBase-1.3 branch build status Successful

Source repository https://git-wip-us.apache.org/repos/asf?p=phoenix.git;a=shortlog;h=refs/heads/4.x-HBase-1.3

Compiled Artifacts https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/lastSuccessfulBuild/artifact/

Test Report https://builds.apache.org/job/Phoenix-4.x-HBase-1.3/lastCompletedBuild/testReport/

Changes
No changes


Build times for last couple of runsLatest build time is the right most | Legend blue: normal, red: test failure, gray: timeout


[phoenix] 01/02: PHOENIX-5721 Unify 4.x branches (HBase 1.4 and 1.5)

2020-03-09 Thread stoty
This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git

commit 0c0937debcf5f8022104261857cb66386809bd6a
Author: Istvan Toth 
AuthorDate: Thu Feb 27 09:16:40 2020 +0100

PHOENIX-5721 Unify 4.x branches (HBase 1.4 and 1.5)

adds the build profile infrastructure
factors out the HBase 1.4 and 1.5 compatibility layers
---
 BUILDING.md|  89 +
 build.txt  |  64 --
 phoenix-assembly/pom.xml   |  12 +-
 .../src/build/components/all-common-files.xml  |   2 +-
 .../src/build/components/all-common-jars.xml   |  14 +-
 phoenix-client/pom.xml |   7 +-
 phoenix-core/pom.xml   |  55 ++--
 .../hadoop/hbase/ipc/PhoenixRpcScheduler.java  |  49 +--
 .../coprocessor/DelegateRegionObserver.java|  36 +-
 .../coprocessor/PhoenixAccessController.java   |  38 --
 .../PhoenixMetaDataCoprocessorHost.java|  18 +--
 phoenix-hbase-compat-1.4.0/bin/pom.xml |  83 
 phoenix-hbase-compat-1.4.0/pom.xml |  83 
 .../compat/hbase/CompatDelegateRegionObserver.java |  69 ++
 .../compat/hbase/CompatObserverContext.java|  32 +
 ...CompatPhoenixMetaDataControllerEnvironment.java |  41 ++
 .../compat/hbase/CompatPhoenixRpcScheduler.java|  55 
 phoenix-hbase-compat-1.5.0/pom.xml |  84 
 .../compat/hbase/CompatDelegateRegionObserver.java |  69 ++
 .../compat/hbase/CompatObserverContext.java|  30 +
 ...CompatPhoenixMetaDataControllerEnvironment.java |  41 ++
 .../compat/hbase/CompatPhoenixRpcScheduler.java|  70 ++
 phoenix-pherf/pom.xml  |   2 +-
 phoenix-server/pom.xml |   6 +-
 phoenix-tracing-webapp/pom.xml |   2 +-
 pom.xml| 141 -
 26 files changed, 994 insertions(+), 198 deletions(-)

diff --git a/BUILDING.md b/BUILDING.md
new file mode 100644
index 000..74ea502
--- /dev/null
+++ b/BUILDING.md
@@ -0,0 +1,89 @@
+
+
+![logo](http://phoenix.apache.org/images/logo.png)
+
+[Apache Phoenix](http://phoenix.apache.org/) is a SQL skin over HBase 
delivered as a
+client-embedded JDBC driver targeting low latency queries over HBase data. 
Visit the Apache
+Phoenix website [here](http://phoenix.apache.org/).
+
+
+Building Apache Phoenix
+
+
+Phoenix uses Maven (3.X) to build all its necessary resources.
+
+Building from source
+
+
+On first setup, you may need to run `$ mvn install -DskipTests`
+to install the local jars. This is a side-effect of multi-module maven projects
+
+To re-generate the antlr based files:  
+`$ mvn process-sources`
+
+To build the jars and the assembly tarball:  
+`$ mvn package`
+and optionally, to just skip all the tests and build the jars:  
+`$ mvn package -DskipTests`
+
+Note: javadocs are generated in target/apidocs
+
+HBase version compatibility
+---
+
+As Phoenix uses *limited public* HBase APIs, which sometimes change even 
within a minor release,
+Phoenix may not build or work with older releases of HBase, or ones that were 
released after
+Phoenix, even within the same HBase minor release.
+
+By default, Phoenix will be built for the latest supported HBase 1.x release. 
You can specify the
+targeted HBase minor release by setting the `hbase.profile` system property 
for maven.
+
+You can also specify the exact HBase release to build Phoenix with by 
additionally
+setting the `hbase.version` system property.
+
+ * `mvn clean install` will build the for the latest known supported HBase 1.x 
relese
+ * `mvn clean install -Dhbase.profile=1.4` will use the latest known supported 
HBase 1.1 release
+ * `mvn clean install -Dhbase.profile=1.4 -Dhbase.version=1.4.3` will build 
with HBase 1.4.3
+
+Phoenix verifies the specified `hbase.profile` and `hbase.version` properties, 
and will reject
+combinations that are known not to work. You may disable this verification by 
adding
+`-Denforcer.skip=true` to the maven command line. (In case you are using an 
HBase package that
+modifies the canonical version number in a way that Phoenix cannot parse)
+
+Importing into eclipse
+--
+
+Use the m2e eclipse plugin and do Import->Maven Project and just pick the root 
'phoenix' directory.
+
+Running the tests
+-
+
+All tests  
+`$ mvn clean test`
+
+Findbugs
+
+
+Findbugs report is generated in /target/site  
+`$ mvn site`
+
+Generate Apache Web Site
+
+
+checkout https://svn.apache.org/repos/asf/phoenix  
+`$ build.sh`
diff --git a/build.txt b/build.txt
deleted file 

[phoenix] branch 4.x created (now a0cff17)

2020-03-09 Thread stoty
This is an automated email from the ASF dual-hosted git repository.

stoty pushed a change to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git.


  at a0cff17  PHOENIX-5721 Unify 4.x branches (add HBase 1.3)

This branch includes the following new commits:

 new 0c0937d  PHOENIX-5721 Unify 4.x branches (HBase 1.4 and 1.5)
 new a0cff17  PHOENIX-5721 Unify 4.x branches (add HBase 1.3)

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.




[phoenix] 02/02: PHOENIX-5721 Unify 4.x branches (add HBase 1.3)

2020-03-09 Thread stoty
This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git

commit a0cff1744bb76a6fc1b79a3aa43859418adb8850
Author: Istvan Toth 
AuthorDate: Thu Feb 27 10:08:23 2020 +0100

PHOENIX-5721 Unify 4.x branches (add HBase 1.3)

adds HBase 1.3 compatibility
---
 phoenix-core/pom.xml   |  3 +
 .../ipc/controller/ClientRpcControllerFactory.java | 19 ++---
 .../hbase/ipc/controller/IndexRpcController.java   |  8 +--
 ...InterRegionServerIndexRpcControllerFactory.java | 21 +++---
 ...erRegionServerMetadataRpcControllerFactory.java | 19 ++---
 .../ipc/controller/MetadataRpcController.java  |  8 +--
 .../regionserver/IndexHalfStoreFileReader.java | 22 --
 .../regionserver/LocalIndexStoreFileScanner.java   |  4 +-
 .../DelegateRegionCoprocessorEnvironment.java  |  9 +--
 .../org/apache/phoenix/execute/DelegateHTable.java | 26 +--
 .../apache/phoenix/index/GlobalIndexChecker.java   | 15 ++--
 .../phoenix/iterate/ScanningResultIterator.java|  6 +-
 .../apache/phoenix/iterate/SnapshotScanner.java|  8 +--
 .../phoenix/monitoring/GlobalClientMetrics.java| 43 +--
 .../monitoring/GlobalClientMetricsRegistry.java| 49 +
 .../phoenix/schema/stats/UpdateStatisticsTool.java | 14 ++--
 .../phoenix/transaction/OmidTransactionTable.java  |  8 +--
 .../java/org/apache/phoenix/query/BaseTest.java| 26 +--
 phoenix-hbase-compat-1.3.0/pom.xml | 83 ++
 .../hbase/regionserver/CompatStoreFileScanner.java | 33 +
 .../phoenix/compat/hbase/CompatDelegateHTable.java | 28 
 ...CompatDelegateRegionCoprocessorEnvironment.java | 27 +++
 .../compat/hbase/CompatDelegateRegionObserver.java | 29 
 .../hbase/CompatDelegatingHBaseRpcController.java  | 57 +++
 .../compat/hbase/CompatHBaseRpcController.java | 39 ++
 .../compat/hbase/CompatObserverContext.java| 32 +
 ...CompatPhoenixMetaDataControllerEnvironment.java | 36 ++
 .../compat/hbase/CompatPhoenixRpcScheduler.java| 24 +++
 .../hbase/CompatRegionCoprocessorEnvironment.java  | 23 ++
 .../compat/hbase/CompatRpcControllerFactory.java   | 48 +
 .../compat/hbase/CompatScanningResultIterator.java | 21 ++
 .../apache/phoenix/compat/hbase/CompatUtil.java| 47 
 .../CompatGlobalClientMetricsRegistry.java | 40 +++
 .../hbase/regionserver/CompatStoreFileScanner.java | 33 +
 .../phoenix/compat/hbase/CompatDelegateHTable.java | 48 +
 ...CompatDelegateRegionCoprocessorEnvironment.java | 32 +
 .../hbase/CompatDelegatingHBaseRpcController.java  | 30 
 .../compat/hbase/CompatHBaseRpcController.java | 23 ++
 .../compat/hbase/CompatHBaseRpcControllerImpl.java | 41 +++
 .../hbase/CompatRegionCoprocessorEnvironment.java  | 29 
 .../compat/hbase/CompatRpcControllerFactory.java   | 48 +
 .../apache/phoenix/compat/hbase/CompatUtil.java| 36 ++
 .../CompatGlobalClientMetricsRegistry.java | 62 
 .../monitoring/GlobalMetricRegistriesAdapter.java  | 50 +++--
 .../hbase/regionserver/CompatStoreFileScanner.java | 33 +
 .../phoenix/compat/hbase/CompatDelegateHTable.java | 48 +
 ...CompatDelegateRegionCoprocessorEnvironment.java | 32 +
 .../hbase/CompatDelegatingHBaseRpcController.java  | 30 
 .../compat/hbase/CompatHBaseRpcController.java | 23 ++
 .../compat/hbase/CompatHBaseRpcControllerImpl.java | 41 +++
 .../hbase/CompatRegionCoprocessorEnvironment.java  | 29 
 .../compat/hbase/CompatRpcControllerFactory.java   | 48 +
 .../apache/phoenix/compat/hbase/CompatUtil.java| 36 ++
 .../CompatGlobalClientMetricsRegistry.java | 62 
 .../monitoring/GlobalMetricRegistriesAdapter.java  | 50 +++--
 pom.xml| 26 +++
 56 files changed, 1576 insertions(+), 189 deletions(-)

diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index fdec241..215bc54 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -546,6 +546,9 @@
 
   
 
+
+  phoenix-hbase-compat-1.3.0
+
   
 
   
diff --git 
a/phoenix-core/src/main/java/org/apache/hadoop/hbase/ipc/controller/ClientRpcControllerFactory.java
 
b/phoenix-core/src/main/java/org/apache/hadoop/hbase/ipc/controller/ClientRpcControllerFactory.java
index 9d926b5..c9f7fb9 100644
--- 
a/phoenix-core/src/main/java/org/apache/hadoop/hbase/ipc/controller/ClientRpcControllerFactory.java
+++ 
b/phoenix-core/src/main/java/org/apache/hadoop/hbase/ipc/controller/ClientRpcControllerFactory.java
@@ -22,38 +22,39 @@ import java.util.List;
 import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.hbase.CellScannable;
 import 

Build failed in Jenkins: Phoenix-4.x-matrix » 2.2 #1

2020-03-09 Thread Apache Jenkins Server
See 


Changes:


--
Started by upstream project "Phoenix-4.x-matrix" build number 1
originally caused by:
 Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H22 (ubuntu) in workspace 

No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/phoenix.git
 > git init 
 >  # 
 > timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision a0cff1744bb76a6fc1b79a3aa43859418adb8850 (origin/4.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a0cff1744bb76a6fc1b79a3aa43859418adb8850
Commit message: "PHOENIX-5721 Unify 4.x branches (add HBase 1.3)"
First time build. Skipping changelog.
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
MAVEN_OPTS=-Xmx3G

[EnvInject] - Variables injected successfully.
[2.2] $ /bin/bash -xe /tmp/jenkins2681117680901206434.sh
+ echo 'JAVA VERSION'
JAVA VERSION
+ java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed 
mode, sharing)
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
+ ls /home/jenkins/.m2/repository/org/apache/hbase
hbase
hbase-annotations
hbase-backup
hbase-build-configuration
hbase-client
hbase-common
hbase-endpoint
hbase-hadoop2-compat
hbase-hadoop-compat
hbase-http
hbase-it
hbase-mapreduce
hbase-metrics
hbase-metrics-api
hbase-prefix-tree
hbase-procedure
hbase-protocol
hbase-protocol-shaded
hbase-replication
hbase-rsgroup
hbase-server
hbase-shell
hbase-testing-util
hbase-zookeeper
thirdparty
[2.2] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean install 
-Dcheckstyle.skip=true -Dhbase.profile=2.2
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-testing-util:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 641, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-it:test-jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 658, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-annotations:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 636, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.hbase:hbase-common:jar 
must be a valid version but is '${hbase.version}'. @ 
org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 676, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-common:test-jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 691, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-protocol:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 671, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.hbase:hbase-client:jar 
must be a valid version but is '${hbase.version}'. @ 
org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 698, column 18
[ERROR] 'dependencies.dependency.

Build failed in Jenkins: Phoenix-4.x-matrix » 2.0 #1

2020-03-09 Thread Apache Jenkins Server
See 


Changes:


--
Started by upstream project "Phoenix-4.x-matrix" build number 1
originally caused by:
 Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H27 (ubuntu) in workspace 

No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/phoenix.git
 > git init 
 >  # 
 > timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision a0cff1744bb76a6fc1b79a3aa43859418adb8850 (origin/4.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a0cff1744bb76a6fc1b79a3aa43859418adb8850
Commit message: "PHOENIX-5721 Unify 4.x branches (add HBase 1.3)"
First time build. Skipping changelog.
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
MAVEN_OPTS=-Xmx3G

[EnvInject] - Variables injected successfully.
[2.0] $ /bin/bash -xe /tmp/jenkins2496167630404958128.sh
+ echo 'JAVA VERSION'
JAVA VERSION
+ java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed 
mode, sharing)
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
+ ls /home/jenkins/.m2/repository/org/apache/hbase
hbase
hbase-annotations
hbase-backup
hbase-build-configuration
hbase-client
hbase-common
hbase-endpoint
hbase-hadoop2-compat
hbase-hadoop-compat
hbase-http
hbase-it
hbase-mapreduce
hbase-metrics
hbase-metrics-api
hbase-prefix-tree
hbase-procedure
hbase-protocol
hbase-protocol-shaded
hbase-replication
hbase-rsgroup
hbase-server
hbase-shell
hbase-testing-util
hbase-zookeeper
thirdparty
[2.0] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean install 
-Dcheckstyle.skip=true -Dhbase.profile=2.0
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-testing-util:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 641, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-it:test-jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 658, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-annotations:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 636, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.hbase:hbase-common:jar 
must be a valid version but is '${hbase.version}'. @ 
org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 676, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-common:test-jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 691, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-protocol:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 671, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.hbase:hbase-client:jar 
must be a valid version but is '${hbase.version}'. @ 
org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 698, column 18
[ERROR] 'dependencies.dependency.

Build failed in Jenkins: Phoenix-4.x-matrix » 2.1 #1

2020-03-09 Thread Apache Jenkins Server
See 


Changes:


--
Started by upstream project "Phoenix-4.x-matrix" build number 1
originally caused by:
 Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H37 (ubuntu) in workspace 

No credentials specified
Cloning the remote Git repository
Cloning repository https://gitbox.apache.org/repos/asf/phoenix.git
 > git init 
 >  # 
 > timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision a0cff1744bb76a6fc1b79a3aa43859418adb8850 (origin/4.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a0cff1744bb76a6fc1b79a3aa43859418adb8850
Commit message: "PHOENIX-5721 Unify 4.x branches (add HBase 1.3)"
First time build. Skipping changelog.
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
MAVEN_OPTS=-Xmx3G

[EnvInject] - Variables injected successfully.
[2.1] $ /bin/bash -xe /tmp/jenkins5429787485977603058.sh
+ echo 'JAVA VERSION'
JAVA VERSION
+ java -version
openjdk version "11.0.6" 2020-01-14
OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1)
OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed 
mode)
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
+ ls /home/jenkins/.m2/repository/org/apache/hbase
hbase
hbase-annotations
hbase-build-configuration
hbase-client
hbase-common
hbase-endpoint
hbase-hadoop2-compat
hbase-hadoop-compat
hbase-http
hbase-it
hbase-mapreduce
hbase-metrics
hbase-metrics-api
hbase-prefix-tree
hbase-procedure
hbase-protocol
hbase-protocol-shaded
hbase-replication
hbase-rsgroup
hbase-server
hbase-shaded
hbase-shaded-client
hbase-testing-util
hbase-zookeeper
thirdparty
[2.1] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean install 
-Dcheckstyle.skip=true -Dhbase.profile=2.1
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-testing-util:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 641, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-it:test-jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 658, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-annotations:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 636, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.hbase:hbase-common:jar 
must be a valid version but is '${hbase.version}'. @ 
org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 676, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-common:test-jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 691, column 18
[ERROR] 'dependencies.dependency.version' for 
org.apache.hbase:hbase-protocol:jar must be a valid version but is 
'${hbase.version}'. @ org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 671, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.hbase:hbase-client:jar 
must be a valid version but is '${hbase.version}'. @ 
org.apache.phoenix:phoenix:4.16.0-SNAPSHOT, 

 line 698, column 18
[ERROR] 'dependencies.dependency.v

Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-4.x-matrix/1/

2020-03-09 Thread Apache Jenkins Server
[...truncated 21 lines...]
Looking at the log, list of test(s) that timed-out:

Build:
https://builds.apache.org/job/Phoenix-4.x-matrix/1/


Affected test class(es):
Set(['as SYSTEM'])


Build step 'Execute shell' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-4.x-matrix/2/

2020-03-09 Thread Apache Jenkins Server
[...truncated 21 lines...]
Looking at the log, list of test(s) that timed-out:

Build:
https://builds.apache.org/job/Phoenix-4.x-matrix/2/


Affected test class(es):
Set(['as SYSTEM'])


Build step 'Execute shell' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

Build failed in Jenkins: Phoenix-4.x-matrix » 1.4 #2

2020-03-09 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 3.57 KB...]
hbase-zookeeper
thirdparty
[1.4] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean install 
-Dcheckstyle.skip=true -Dhbase.profile=1.4
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Phoenix Hbase 1.5.0 compatibility  [jar]
[INFO] Phoenix Hbase 1.4.0 compatibility  [jar]
[INFO] Phoenix Hbase 1.3.0 compatibility  [jar]
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] ---< org.apache.phoenix:phoenix-hbase-compat-1.5.0 >
[INFO] Building Phoenix Hbase 1.5.0 compatibility 4.16.0-SNAPSHOT[1/10]
[INFO] [ jar ]-
Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/hbase/hbase-server/1.5.0/hbase-server-1.5.0.pom
Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/hbase/hbase-server/1.5.0/hbase-server-1.5.0.pom
 (0 B at 0 B/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/hbase/hbase/1.5.0/hbase-1.5.0.pom
Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/hbase/hbase/1.5.0/hbase-1.5.0.pom
 (0 B at 0 B/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml
Downloading from Nexus: 
http://repository.apache.org/snapshots/net/minidev/json-smart/maven-metadata.xml
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/net/minidev/json-smart/maven-metadata.xml
Downloading from repository.jboss.org: 
https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
Progress (1): 849 B   Downloaded from central: 
https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml 
(849 B at 17 kB/s)
Downloading from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/net/minidev/json-smart/maven-metadata.xml
Progress (1): 849 B   Downloaded from repository.jboss.org: 
https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
 (849 B at 1.7 kB/s)
Downloading from central: 
https://repo.maven.apache.org/maven2/org/apache/hbase/hbase-server/1.5.0/hbase-server-1.5.0.jar
Downloaded from central: 
https://repo.maven.apache.org/maven2/org/apache/hbase/hbase-server/1.5.0/hbase-server-1.5.0.jar
 (0 B at 0 B/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ 
phoenix-hbase-compat-1.5.0 ---
[INFO] 
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ 
phoenix-hbase-compat-1.5.0 ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) 
@ phoenix-hbase-compat-1.5.0 ---
[INFO] artifact net.minidev:json-smart: checking for updates from central
[INFO] artifact net.minidev:json-smart: checking for updates from apache release
[INFO] artifact net.minidev:json-smart: checking for updates from 
repository.jboss.org
[INFO] artifact net.minidev:json-smart: checking for updates from 
apache.snapshots.https
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ 
phoenix-hbase-compat-1.5.0 ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 3 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ 
phoenix-hbase-compat-1.5.0 ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 15 source files to 

[INFO] 
:
 

 uses unchecked or unsafe oper

Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-4.x-matrix/3/

2020-03-09 Thread Apache Jenkins Server
[...truncated 21 lines...]
Looking at the log, list of test(s) that timed-out:

Build:
https://builds.apache.org/job/Phoenix-4.x-matrix/3/


Affected test class(es):
Set(['as SYSTEM'])


Build step 'Execute shell' marked build as failure
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any

Build failed in Jenkins: Phoenix-4.x-matrix » 1.4 #3

2020-03-09 Thread Apache Jenkins Server
See 


Changes:


--
Started by upstream project "Phoenix-4.x-matrix" build number 3
originally caused by:
 Started by user stoty
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H36 (ubuntu) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision a0cff1744bb76a6fc1b79a3aa43859418adb8850 (origin/4.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a0cff1744bb76a6fc1b79a3aa43859418adb8850
Commit message: "PHOENIX-5721 Unify 4.x branches (add HBase 1.3)"
 > git rev-list --no-walk a0cff1744bb76a6fc1b79a3aa43859418adb8850 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
MAVEN_OPTS=-Xmx3G

[EnvInject] - Variables injected successfully.
[1.4] $ /bin/bash -xe /tmp/jenkins2630597553543357559.sh
+ export JAVA_HOME=/home/jenkins/tools/java/latest1.8/
+ JAVA_HOME=/home/jenkins/tools/java/latest1.8/
+ export 
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ 
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ echo 'JAVA VERSION'
JAVA VERSION
+ java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
+ ls /home/jenkins/.m2/repository/org/apache/hbase
hbase
hbase-annotations
hbase-backup
hbase-build-configuration
hbase-client
hbase-common
hbase-endpoint
hbase-hadoop2-compat
hbase-hadoop-compat
hbase-http
hbase-it
hbase-mapreduce
hbase-metrics
hbase-metrics-api
hbase-prefix-tree
hbase-procedure
hbase-protocol
hbase-protocol-shaded
hbase-replication
hbase-rsgroup
hbase-server
hbase-shaded
hbase-shaded-client
hbase-shell
hbase-testing-util
hbase-zookeeper
thirdparty
[1.4] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean install 
-Dcheckstyle.skip=true -Dhbase.profile=1.4
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Phoenix Hbase 1.5.0 compatibility  [jar]
[INFO] Phoenix Hbase 1.4.0 compatibility  [jar]
[INFO] Phoenix Hbase 1.3.0 compatibility  [jar]
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] ---< org.apache.phoenix:phoenix-hbase-compat-1.5.0 >
[INFO] Building Phoenix Hbase 1.5.0 compatibility 4.16.0-SNAPSHOT[1/10]
[INFO] [ jar ]-
Downloading from repository.jboss.org: 
https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
Downloading from central: 
https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/net/minidev/json-smart/maven-metadata.xml
Downloading from Nexus: 
http://repository.apache.org/snapshots/net/minidev/json-smart/maven-metadata.xml
Downloading from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/net/minidev/json-smart/maven-metadata.xml
Progress (1): 849 B   Downloaded from central: 
https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml 
(849 B at 2.2 kB/s)
Progress (1): 849 B   Downloaded from repository.jboss.org: 
https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
 (849 B at 1.4 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ 
phoen

Build failed in Jenkins: Phoenix-4.x-matrix » 1.3 #3

2020-03-09 Thread Apache Jenkins Server
See 


Changes:


--
Started by upstream project "Phoenix-4.x-matrix" build number 3
originally caused by:
 Started by user stoty
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H39 (ubuntu) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision a0cff1744bb76a6fc1b79a3aa43859418adb8850 (origin/4.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a0cff1744bb76a6fc1b79a3aa43859418adb8850
Commit message: "PHOENIX-5721 Unify 4.x branches (add HBase 1.3)"
 > git rev-list --no-walk a0cff1744bb76a6fc1b79a3aa43859418adb8850 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
MAVEN_OPTS=-Xmx3G

[EnvInject] - Variables injected successfully.
[1.3] $ /bin/bash -xe /tmp/jenkins9010306306612305890.sh
+ export JAVA_HOME=/home/jenkins/tools/java/latest1.8/
+ JAVA_HOME=/home/jenkins/tools/java/latest1.8/
+ export 
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ 
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ echo 'JAVA VERSION'
JAVA VERSION
+ java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
+ ls /home/jenkins/.m2/repository/org/apache/hbase
hbase
hbase-annotations
hbase-build-configuration
hbase-client
hbase-common
hbase-endpoint
hbase-hadoop2-compat
hbase-hadoop-compat
hbase-http
hbase-it
hbase-mapreduce
hbase-metrics
hbase-metrics-api
hbase-prefix-tree
hbase-procedure
hbase-protocol
hbase-protocol-shaded
hbase-replication
hbase-rsgroup
hbase-server
hbase-shaded
hbase-shaded-client
hbase-testing-util
hbase-zookeeper
thirdparty
[1.3] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean install 
-Dcheckstyle.skip=true -Dhbase.profile=1.3
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Phoenix Hbase 1.5.0 compatibility  [jar]
[INFO] Phoenix Hbase 1.4.0 compatibility  [jar]
[INFO] Phoenix Hbase 1.3.0 compatibility  [jar]
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] ---< org.apache.phoenix:phoenix-hbase-compat-1.5.0 >
[INFO] Building Phoenix Hbase 1.5.0 compatibility 4.16.0-SNAPSHOT[1/10]
[INFO] [ jar ]-
Downloading from Nexus: 
http://repository.apache.org/snapshots/net/minidev/json-smart/maven-metadata.xml
Downloading from central: 
https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/net/minidev/json-smart/maven-metadata.xml
Downloading from repository.jboss.org: 
https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
Downloading from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/net/minidev/json-smart/maven-metadata.xml
Progress (1): 849 B   Downloaded from central: 
https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml 
(849 B at 2.0 kB/s)
Progress (1): 849 B   Downloaded from repository.jboss.org: 
https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
 (849 B at 1.4 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ 
phoenix-hbase-compat-1.5.0 ---

Build failed in Jenkins: Phoenix-4.x-matrix » 1.5 #3

2020-03-09 Thread Apache Jenkins Server
See 


Changes:


--
Started by upstream project "Phoenix-4.x-matrix" build number 3
originally caused by:
 Started by user stoty
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on H28 (ubuntu) in workspace 

No credentials specified
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://gitbox.apache.org/repos/asf/phoenix.git 
 > # timeout=10
Fetching upstream changes from https://gitbox.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress -- 
 > https://gitbox.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision a0cff1744bb76a6fc1b79a3aa43859418adb8850 (origin/4.x)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a0cff1744bb76a6fc1b79a3aa43859418adb8850
Commit message: "PHOENIX-5721 Unify 4.x branches (add HBase 1.3)"
 > git rev-list --no-walk a0cff1744bb76a6fc1b79a3aa43859418adb8850 # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the 
SCM step.
[EnvInject] - Injecting as environment variables the properties content 
MAVEN_OPTS=-Xmx3G

[EnvInject] - Variables injected successfully.
[1.5] $ /bin/bash -xe /tmp/jenkins6855737005102180025.sh
+ export JAVA_HOME=/home/jenkins/tools/java/latest1.8/
+ JAVA_HOME=/home/jenkins/tools/java/latest1.8/
+ export 
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ 
PATH=/home/jenkins/tools/java/latest1.8/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
+ echo 'JAVA VERSION'
JAVA VERSION
+ java -version
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.241-b07, mixed mode)
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
+ ls /home/jenkins/.m2/repository/org/apache/hbase
hbase
hbase-annotations
hbase-backup
hbase-build-configuration
hbase-client
hbase-common
hbase-endpoint
hbase-hadoop2-compat
hbase-hadoop-compat
hbase-http
hbase-it
hbase-mapreduce
hbase-metrics
hbase-metrics-api
hbase-prefix-tree
hbase-procedure
hbase-protocol
hbase-protocol-shaded
hbase-replication
hbase-rsgroup
hbase-server
hbase-testing-util
hbase-zookeeper
thirdparty
[1.5] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean install 
-Dcheckstyle.skip=true -Dhbase.profile=1.5
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Phoenix Hbase 1.5.0 compatibility  [jar]
[INFO] Phoenix Hbase 1.4.0 compatibility  [jar]
[INFO] Phoenix Hbase 1.3.0 compatibility  [jar]
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] ---< org.apache.phoenix:phoenix-hbase-compat-1.5.0 >
[INFO] Building Phoenix Hbase 1.5.0 compatibility 4.16.0-SNAPSHOT[1/10]
[INFO] [ jar ]-
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/net/minidev/json-smart/maven-metadata.xml
Downloading from Nexus: 
http://repository.apache.org/snapshots/net/minidev/json-smart/maven-metadata.xml
Downloading from central: 
https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml
Downloading from repository.jboss.org: 
https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
Downloading from apache.snapshots.https: 
https://repository.apache.org/content/repositories/snapshots/net/minidev/json-smart/maven-metadata.xml
Progress (1): 849 B   Downloaded from central: 
https://repo.maven.apache.org/maven2/net/minidev/json-smart/maven-metadata.xml 
(849 B at 1.5 kB/s)
Progress (1): 849 B   Downloaded from repository.jboss.org: 
https://repository.jboss.org/nexus/content/groups/public-jboss/net/minidev/json-smart/maven-metadata.xml
 (849 B at 1.1 kB/s)
[INFO] 
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ 
phoenix-hbase-compat-1.5.0 ---
[INFO] Deleting 


Build failed in Jenkins: Phoenix-4.x-matrix » 1.5 #4

2020-03-09 Thread Apache Jenkins Server
See 


Changes:


--
[...truncated 291.07 KB...]
[INFO] ---
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.22.0:integration-test 
(NeedTheirOwnClusterTests) @ phoenix-core ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 
s - in 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Running org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Running org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.037 s 
- in org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.806 s 
- in org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.741 s 
- in org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Running org.apache.phoenix.end2end.ConcurrentMutationsExtendedIT
[INFO] Running org.apache.phoenix.end2end.CostBasedDecisionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 64.269 s 
- in org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.IndexBuildTimestampIT
[INFO] Running org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 30.509 s 
- in org.apache.phoenix.end2end.DropSchemaIT
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.185 
s - in org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.IndexRebuildTaskIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolForTenantIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 290.425 
s - in org.apache.phoenix.end2end.ConcurrentMutationsExtendedIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 197.01 
s - in org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 201.393 
s - in org.apache.phoenix.end2end.IndexBuildTimestampIT
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 97.458 s 
- in org.apache.phoenix.end2end.IndexScrutinyToolForTenantIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Running 
org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 64, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 275.144 
s - in org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 29.479 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Running org.apache.phoenix.end2end.IndexToolIT
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 232.212 
s <<< FAILURE! - in org.apache.phoenix.end2end.IndexRebuildTaskIT
[ERROR] testIndexRebuildTask(org.apache.phoenix.end2end.IndexRebuildTaskIT)  
Time elapsed: 232.211 s  <<< FAILURE!
java.lang.AssertionError: Ran out of time waiting for task state to become 
COMPLETED
at 
org.apache.phoenix.end2end.IndexRebuildTaskIT.waitForTaskState(IndexRebuildTaskIT.java:196)
at 
org.apache.phoenix.end2end.IndexRebuildTaskIT.testIndexRebuildTask(IndexRebuildTaskIT.java:156)

[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 51.407 s 
- in org.apache.phoenix.end2end.IndexToolForPartialBuildWithNamespaceEnabledIT
[INFO] Running org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Running org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Running org.apache.phoenix.end2end.MaxLookbackIT
[INFO] Running 
org.apache.phoenix.end2end.OrderByWithServerClientSpoolingDisabledIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 69.9 s - 
in org.apache.phoenix.end2end.MaxLookbackIT
[INFO] Running org.apache.phoenix.end2end.OrderByWithServerMemoryLimitIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.6 s - 
in org.apache.phoenix.end2end.OrderByWithServerMemoryLimitIT
[INFO] Tests run

Jenkins build is back to normal : Phoenix-4.x-matrix » 1.4 #4

2020-03-09 Thread Apache Jenkins Server
See 




Apache Phoenix - Timeout crawler - Build https://builds.apache.org/job/Phoenix-4.x-matrix/4/

2020-03-09 Thread Apache Jenkins Server
[...truncated 51 lines...]

[phoenix] branch 4.x-HBase-1.4 updated: PHOENIX-5607 Client-server backward compatibility tests

2020-03-09 Thread chinmayskulkarni
This is an automated email from the ASF dual-hosted git repository.

chinmayskulkarni pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
 new bdc0609  PHOENIX-5607 Client-server backward compatibility tests
bdc0609 is described below

commit bdc0609c00797861fd2d93e981fb92d5113d010b
Author: Sandeep Guggilam 
AuthorDate: Tue Mar 3 13:04:39 2020 -0800

PHOENIX-5607 Client-server backward compatibility tests

Signed-off-by: Chinmay Kulkarni 
---
 .../phoenix/end2end/BackwardCompatibilityIT.java   | 398 +
 .../resources/gold_files/gold_query_add_data.txt   |  43 +++
 .../resources/gold_files/gold_query_add_delete.txt |  22 ++
 .../resources/gold_files/gold_query_create_add.txt |  32 ++
 .../src/it/resources/sql_files/add_data.sql|  27 ++
 .../src/it/resources/sql_files/add_delete.sql  |  26 ++
 .../src/it/resources/sql_files/create_add.sql  |  33 ++
 phoenix-core/src/it/resources/sql_files/query.sql  |  24 ++
 .../it/resources/sql_files/query_add_delete.sql|  26 ++
 .../src/it/resources/sql_files/query_more.sql  |  25 ++
 phoenix-core/src/it/scripts/execute_query.sh   |  40 +++
 .../phoenix/coprocessor/MetaDataProtocol.java  |   5 +-
 12 files changed, 700 insertions(+), 1 deletion(-)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
new file mode 100644
index 000..dfa0032
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
@@ -0,0 +1,398 @@
+/*
+ * 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.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.apache.phoenix.query.BaseTest.setUpConfigForMiniCluster;
+import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assume.assumeFalse;
+
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.InputStreamReader;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
+import java.util.Collection;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.curator.shaded.com.google.common.collect.Lists;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.HBaseTestingUtility;
+import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.client.Admin;
+import org.apache.hadoop.hbase.client.ConnectionFactory;
+import org.apache.phoenix.coprocessor.MetaDataProtocol;
+import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
+import org.apache.phoenix.jdbc.PhoenixDriver;
+import org.apache.phoenix.query.QueryConstants;
+import org.apache.phoenix.query.QueryServices;
+import org.apache.phoenix.query.QueryServicesOptions;
+import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+
+/**
+ * This class is meant for testing all compatible client versions 
+ * against the current server version. It runs SQL queries with given 
+ * client versions and compares the output against gold files
+ */
+
+@RunWith(Parameterized.class)
+@Category(NeedsOwnMiniClusterTest.class)
+public class BackwardCompatibilityIT {
+
+private static final String SQL_DIR = "src/it/resources/sql_files/";
+private static final String RESULT_DIR = "src/it/resources/gold_files/";
+private static final String RESULT_PREFIX = "result_";
+private static final String SQL_EXTENSION = ".sql";
+private static fin

[phoenix] branch master updated: PHOENIX-5607 Client-server backward compatibility tests

2020-03-09 Thread chinmayskulkarni
This is an automated email from the ASF dual-hosted git repository.

chinmayskulkarni pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
 new 562711c  PHOENIX-5607 Client-server backward compatibility tests
562711c is described below

commit 562711cf4311f98fb07da85a36eede229c9388b4
Author: Sandeep Guggilam 
AuthorDate: Thu Mar 5 21:42:03 2020 -0800

PHOENIX-5607 Client-server backward compatibility tests

Signed-off-by: Chinmay Kulkarni 
---
 .../phoenix/end2end/BackwardCompatibilityIT.java   | 398 +
 .../resources/gold_files/gold_query_add_data.txt   |  43 +++
 .../resources/gold_files/gold_query_add_delete.txt |  22 ++
 .../resources/gold_files/gold_query_create_add.txt |  32 ++
 .../src/it/resources/sql_files/add_data.sql|  27 ++
 .../src/it/resources/sql_files/add_delete.sql  |  26 ++
 .../src/it/resources/sql_files/create_add.sql  |  33 ++
 phoenix-core/src/it/resources/sql_files/query.sql  |  24 ++
 .../it/resources/sql_files/query_add_delete.sql|  26 ++
 .../src/it/resources/sql_files/query_more.sql  |  25 ++
 phoenix-core/src/it/scripts/execute_query.sh   |  40 +++
 .../phoenix/coprocessor/MetaDataProtocol.java  |   3 +
 12 files changed, 699 insertions(+)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
new file mode 100644
index 000..dfa0032
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
@@ -0,0 +1,398 @@
+/*
+ * 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.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.apache.phoenix.query.BaseTest.setUpConfigForMiniCluster;
+import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assume.assumeFalse;
+
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.InputStreamReader;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
+import java.util.Collection;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.curator.shaded.com.google.common.collect.Lists;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.HBaseTestingUtility;
+import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.client.Admin;
+import org.apache.hadoop.hbase.client.ConnectionFactory;
+import org.apache.phoenix.coprocessor.MetaDataProtocol;
+import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
+import org.apache.phoenix.jdbc.PhoenixDriver;
+import org.apache.phoenix.query.QueryConstants;
+import org.apache.phoenix.query.QueryServices;
+import org.apache.phoenix.query.QueryServicesOptions;
+import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+
+/**
+ * This class is meant for testing all compatible client versions 
+ * against the current server version. It runs SQL queries with given 
+ * client versions and compares the output against gold files
+ */
+
+@RunWith(Parameterized.class)
+@Category(NeedsOwnMiniClusterTest.class)
+public class BackwardCompatibilityIT {
+
+private static final String SQL_DIR = "src/it/resources/sql_files/";
+private static final String RESULT_DIR = "src/it/resources/gold_files/";
+private static final String RESULT_PREFIX = "result_";
+private static final String SQL_EXTENSION = ".sql";
+private static final String TEXT_EXTENSION = ".t

[phoenix] branch 4.x-HBase-1.3 updated: PHOENIX-5607 Client-server backward compatibility tests

2020-03-09 Thread chinmayskulkarni
This is an automated email from the ASF dual-hosted git repository.

chinmayskulkarni pushed a commit to branch 4.x-HBase-1.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.3 by this push:
 new bb6726d  PHOENIX-5607 Client-server backward compatibility tests
bb6726d is described below

commit bb6726da2eb6a057fabdd49562a888cf9010c66e
Author: Sandeep Guggilam 
AuthorDate: Tue Mar 3 13:04:39 2020 -0800

PHOENIX-5607 Client-server backward compatibility tests

Signed-off-by: Chinmay Kulkarni 
---
 .../phoenix/end2end/BackwardCompatibilityIT.java   | 398 +
 .../resources/gold_files/gold_query_add_data.txt   |  43 +++
 .../resources/gold_files/gold_query_add_delete.txt |  22 ++
 .../resources/gold_files/gold_query_create_add.txt |  32 ++
 .../src/it/resources/sql_files/add_data.sql|  27 ++
 .../src/it/resources/sql_files/add_delete.sql  |  26 ++
 .../src/it/resources/sql_files/create_add.sql  |  33 ++
 phoenix-core/src/it/resources/sql_files/query.sql  |  24 ++
 .../it/resources/sql_files/query_add_delete.sql|  26 ++
 .../src/it/resources/sql_files/query_more.sql  |  25 ++
 phoenix-core/src/it/scripts/execute_query.sh   |  40 +++
 .../phoenix/coprocessor/MetaDataProtocol.java  |   5 +-
 12 files changed, 700 insertions(+), 1 deletion(-)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
new file mode 100644
index 000..dfa0032
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
@@ -0,0 +1,398 @@
+/*
+ * 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.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.apache.phoenix.query.BaseTest.setUpConfigForMiniCluster;
+import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assume.assumeFalse;
+
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.InputStreamReader;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
+import java.util.Collection;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.curator.shaded.com.google.common.collect.Lists;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.HBaseTestingUtility;
+import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.client.Admin;
+import org.apache.hadoop.hbase.client.ConnectionFactory;
+import org.apache.phoenix.coprocessor.MetaDataProtocol;
+import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
+import org.apache.phoenix.jdbc.PhoenixDriver;
+import org.apache.phoenix.query.QueryConstants;
+import org.apache.phoenix.query.QueryServices;
+import org.apache.phoenix.query.QueryServicesOptions;
+import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+
+/**
+ * This class is meant for testing all compatible client versions 
+ * against the current server version. It runs SQL queries with given 
+ * client versions and compares the output against gold files
+ */
+
+@RunWith(Parameterized.class)
+@Category(NeedsOwnMiniClusterTest.class)
+public class BackwardCompatibilityIT {
+
+private static final String SQL_DIR = "src/it/resources/sql_files/";
+private static final String RESULT_DIR = "src/it/resources/gold_files/";
+private static final String RESULT_PREFIX = "result_";
+private static final String SQL_EXTENSION = ".sql";
+private static fin

[phoenix] branch 4.x-HBase-1.5 updated: PHOENIX-5607 Client-server backward compatibility tests

2020-03-09 Thread chinmayskulkarni
This is an automated email from the ASF dual-hosted git repository.

chinmayskulkarni pushed a commit to branch 4.x-HBase-1.5
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.5 by this push:
 new dcecdec  PHOENIX-5607 Client-server backward compatibility tests
dcecdec is described below

commit dcecdec7cf78c8c2872b42cbf0347a80c79f83de
Author: Sandeep Guggilam 
AuthorDate: Tue Mar 3 13:04:39 2020 -0800

PHOENIX-5607 Client-server backward compatibility tests

Signed-off-by: Chinmay Kulkarni 
---
 .../phoenix/end2end/BackwardCompatibilityIT.java   | 398 +
 .../resources/gold_files/gold_query_add_data.txt   |  43 +++
 .../resources/gold_files/gold_query_add_delete.txt |  22 ++
 .../resources/gold_files/gold_query_create_add.txt |  32 ++
 .../src/it/resources/sql_files/add_data.sql|  27 ++
 .../src/it/resources/sql_files/add_delete.sql  |  26 ++
 .../src/it/resources/sql_files/create_add.sql  |  33 ++
 phoenix-core/src/it/resources/sql_files/query.sql  |  24 ++
 .../it/resources/sql_files/query_add_delete.sql|  26 ++
 .../src/it/resources/sql_files/query_more.sql  |  25 ++
 phoenix-core/src/it/scripts/execute_query.sh   |  40 +++
 .../phoenix/coprocessor/MetaDataProtocol.java  |   5 +-
 12 files changed, 700 insertions(+), 1 deletion(-)

diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
new file mode 100644
index 000..dfa0032
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/BackwardCompatibilityIT.java
@@ -0,0 +1,398 @@
+/*
+ * 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.
+ */
+package org.apache.phoenix.end2end;
+
+import static org.apache.phoenix.query.BaseTest.setUpConfigForMiniCluster;
+import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assume.assumeFalse;
+
+import java.io.BufferedReader;
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.InputStreamReader;
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.PreparedStatement;
+import java.sql.ResultSet;
+import java.sql.ResultSetMetaData;
+import java.util.Collection;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.curator.shaded.com.google.common.collect.Lists;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.HBaseTestingUtility;
+import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.client.Admin;
+import org.apache.hadoop.hbase.client.ConnectionFactory;
+import org.apache.phoenix.coprocessor.MetaDataProtocol;
+import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
+import org.apache.phoenix.jdbc.PhoenixDriver;
+import org.apache.phoenix.query.QueryConstants;
+import org.apache.phoenix.query.QueryServices;
+import org.apache.phoenix.query.QueryServicesOptions;
+import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.PropertiesUtil;
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+import org.junit.experimental.categories.Category;
+import org.junit.runner.RunWith;
+import org.junit.runners.Parameterized;
+import org.junit.runners.Parameterized.Parameters;
+
+/**
+ * This class is meant for testing all compatible client versions 
+ * against the current server version. It runs SQL queries with given 
+ * client versions and compares the output against gold files
+ */
+
+@RunWith(Parameterized.class)
+@Category(NeedsOwnMiniClusterTest.class)
+public class BackwardCompatibilityIT {
+
+private static final String SQL_DIR = "src/it/resources/sql_files/";
+private static final String RESULT_DIR = "src/it/resources/gold_files/";
+private static final String RESULT_PREFIX = "result_";
+private static final String SQL_EXTENSION = ".sql";
+private static fin

[phoenix] branch master updated: PHOENIX-5762 Update jackson

2020-03-09 Thread stoty
This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
 new 8a048e9  PHOENIX-5762 Update jackson
8a048e9 is described below

commit 8a048e96d9e44fdb86f8fee8eecfcadb9970858b
Author: Istvan Toth 
AuthorDate: Mon Mar 9 13:32:04 2020 +0100

PHOENIX-5762 Update jackson
---
 .../build/components/all-common-dependencies.xml   |  5 ++--
 phoenix-core/pom.xml   | 16 -
 .../phoenix/mapreduce/JsonToKeyValueMapper.java|  2 +-
 .../phoenix/mapreduce/bulkload/TargetTableRef.java |  4 ++--
 .../bulkload/TargetTableRefFunctions.java  |  2 +-
 phoenix-server/pom.xml |  4 ++--
 phoenix-tracing-webapp/pom.xml |  9 ++-
 .../phoenix/tracingwebapp/http/TraceServlet.java   |  2 +-
 pom.xml| 28 --
 9 files changed, 26 insertions(+), 46 deletions(-)

diff --git a/phoenix-assembly/src/build/components/all-common-dependencies.xml 
b/phoenix-assembly/src/build/components/all-common-dependencies.xml
index 45efee4..f6293d4 100644
--- a/phoenix-assembly/src/build/components/all-common-dependencies.xml
+++ b/phoenix-assembly/src/build/components/all-common-dependencies.xml
@@ -93,8 +93,9 @@
   
   /lib
   
-org.codehaus.jackson:jackson-core-asl
-org.codehaus.jackson:jackson-mapper-asl
+com.fasterxml.jackson.core:jackson-core
+com.fasterxml.jackson.core:jackson-databind
+com.fasterxml.jackson.core:jackson-annotations
   
 
   
diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index 9fff5f0..e53c3ce 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -258,20 +258,12 @@
   jcip-annotations
 
 
-  org.codehaus.jackson
-  jackson-core-asl
+  com.fasterxml.jackson.core
+  jackson-databind
 
 
-  org.codehaus.jackson
-  jackson-mapper-asl
-
-
-  org.codehaus.jackson
-  jackson-jaxrs
-
-
-  org.codehaus.jackson
-  jackson-xc
+  com.fasterxml.jackson.core
+  jackson-annotations
 
 
   junit
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/JsonToKeyValueMapper.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/JsonToKeyValueMapper.java
index 2a51b2c..962667a 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/JsonToKeyValueMapper.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/JsonToKeyValueMapper.java
@@ -25,8 +25,8 @@ import org.apache.hadoop.conf.Configuration;
 import org.apache.phoenix.util.ColumnInfo;
 import org.apache.phoenix.util.UpsertExecutor;
 import org.apache.phoenix.util.json.JsonUpsertExecutor;
-import org.codehaus.jackson.map.ObjectMapper;
 
+import com.fasterxml.jackson.databind.ObjectMapper;
 import com.google.common.annotations.VisibleForTesting;
 import com.google.common.base.Preconditions;
 
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/bulkload/TargetTableRef.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/bulkload/TargetTableRef.java
index 2c3069f..dfa2c82 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/bulkload/TargetTableRef.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/bulkload/TargetTableRef.java
@@ -19,8 +19,8 @@ package org.apache.phoenix.mapreduce.bulkload;
 
 import java.util.Map;
 
-import org.codehaus.jackson.annotate.JsonCreator;
-import org.codehaus.jackson.annotate.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
 
 import com.google.common.collect.Maps;
 
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/bulkload/TargetTableRefFunctions.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/bulkload/TargetTableRefFunctions.java
index 58725c2..6e0da73 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/bulkload/TargetTableRefFunctions.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/bulkload/TargetTableRefFunctions.java
@@ -21,7 +21,7 @@ import java.io.IOException;
 import java.util.ArrayList;
 import java.util.List;
 
-import org.codehaus.jackson.map.ObjectMapper;
+import com.fasterxml.jackson.databind.ObjectMapper;
 
 import com.google.common.base.Function;
 import com.google.common.collect.Lists;
diff --git a/phoenix-server/pom.xml b/phoenix-server/pom.xml
index ef76762..8bf085d 100644
--- a/phoenix-server/pom.xml
+++ b/phoenix-server/pom.xml
@@ -267,8 +267,8 @@
   
${shaded.package}.net.jcip.annotations
 
 
-  org.codehaus.jackson
-  
${shaded.package}.org.codehaus.jackson
+