Build failed in Jenkins: Phoenix-4.x-HBase-1.3 #264

2018-11-17 Thread Apache Jenkins Server
See 


Changes:

[vincentpoon] PHOENIX-5005 Server-side delete / upsert-select potentially 
blocked

--
[...truncated 127.17 KB...]

[ERROR] 
testNoDuplicatesAfterUpdateStatsWithDesc[mutable=true,transactionProvider=TEPHRA,isUserTableNamespaceMapped=true,columnEncoded=true](org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT)
  Time elapsed: 61.438 s  <<< ERROR!
java.lang.RuntimeException: org.apache.thrift.TException: Unable to discover 
transaction service.
Caused by: org.apache.thrift.TException: Unable to discover transaction service.

[ERROR] 
testNoDuplicatesAfterUpdateStatsWithSplits[mutable=true,transactionProvider=TEPHRA,isUserTableNamespaceMapped=true,columnEncoded=true](org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT)
  Time elapsed: 61.181 s  <<< ERROR!
java.lang.RuntimeException: org.apache.thrift.TException: Unable to discover 
transaction service.
Caused by: org.apache.thrift.TException: Unable to discover transaction service.

[ERROR] 
testUpdateEmptyStats[mutable=true,transactionProvider=TEPHRA,isUserTableNamespaceMapped=true,columnEncoded=true](org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT)
  Time elapsed: 61.204 s  <<< ERROR!
java.lang.RuntimeException: org.apache.thrift.TException: Unable to discover 
transaction service.
Caused by: org.apache.thrift.TException: Unable to discover transaction service.

[ERROR] 
testWithMultiCF[mutable=true,transactionProvider=TEPHRA,isUserTableNamespaceMapped=true,columnEncoded=true](org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT)
  Time elapsed: 61.174 s  <<< ERROR!
java.lang.RuntimeException: org.apache.thrift.TException: Unable to discover 
transaction service.
Caused by: org.apache.thrift.TException: Unable to discover transaction service.

[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 395.002 
s - in org.apache.phoenix.end2end.MigrateSystemTablesToSystemNamespaceIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 435.04 s 
- in org.apache.phoenix.end2end.LocalIndexSplitMergeIT
[INFO] Running 
org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.PartialResultServerConfigurationIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
158.714 s - in 
org.apache.phoenix.end2end.NonColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.PhoenixDriverIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 54.278 s 
- in org.apache.phoenix.end2end.PartialResultServerConfigurationIT
[INFO] Running org.apache.phoenix.end2end.QueryLoggerIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 92.999 s 
- in org.apache.phoenix.end2end.PhoenixDriverIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
170.517 s - in 
org.apache.phoenix.end2end.NonColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.171 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: 9.28 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: 9.115 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.303 s 
- in org.apache.phoenix.end2end.RebuildIndexConnectionPropsIT
[INFO] Running org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Running org.apache.phoenix.end2end.SequencePointInTimeIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 s 
- in org.apache.phoenix.end2end.SequencePointInTimeIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.561 s 
- in org.apache.phoenix.end2end.RenewLeaseIT
[INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.651 
s - in org.apache.phoenix.end2end.RegexBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.StatsEnabledSplitSystemCatalogIT
[INFO] Running org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Running org.apache.phoenix.end2end.SplitIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.308 s 
- in org.apache.phoenix.end2end.SpillableGroupByIT
[INFO] Running 
org.apache.phoenix.end2end.SysTableNamespaceMappedStatsCollectorIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 107.482 
s - in org.apache.phoenix.end2end.StatsEna

Build failed in Jenkins: Phoenix Compile Compatibility with HBase #820

2018-11-17 Thread Apache Jenkins Server
See 


--
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on H25 (ubuntu xenial) in workspace 

[Phoenix_Compile_Compat_wHBase] $ /bin/bash /tmp/jenkins504636881119977840.sh
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
scheduling priority (-e) 0
file size   (blocks, -f) unlimited
pending signals (-i) 386407
max locked memory   (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files  (-n) 6
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority  (-r) 0
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 10240
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited
core id : 0
core id : 1
core id : 2
core id : 3
core id : 4
core id : 5
physical id : 0
physical id : 1
MemTotal:   98957636 kB
MemFree:27883768 kB
Filesystem  Size  Used Avail Use% Mounted on
udev 48G 0   48G   0% /dev
tmpfs   9.5G  235M  9.3G   3% /run
/dev/sda3   3.6T  215G  3.2T   7% /
tmpfs48G  2.4M   48G   1% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs48G 0   48G   0% /sys/fs/cgroup
/dev/sda2   473M  100M  349M  23% /boot
/dev/loop0   88M   88M 0 100% /snap/core/5662
/dev/loop1   28M   28M 0 100% /snap/snapcraft/1871
/dev/loop3   88M   88M 0 100% /snap/core/5742
tmpfs   9.5G 0  9.5G   0% /run/user/910
/dev/loop4   52M   52M 0 100% /snap/lxd/9437
/dev/loop5   52M   52M 0 100% /snap/lxd/9510
/dev/loop2   52M   52M 0 100% /snap/lxd/9550
apache-maven-2.2.1
apache-maven-3.0.4
apache-maven-3.0.5
apache-maven-3.1.1
apache-maven-3.2.1
apache-maven-3.2.5
apache-maven-3.3.3
apache-maven-3.3.9
apache-maven-3.5.0
apache-maven-3.5.2
apache-maven-3.5.4
latest
latest2
latest3


===
Verifying compile level compatibility with HBase 0.98 with Phoenix 
4.x-HBase-0.98
===

Cloning into 'hbase'...
Switched to a new branch '0.98'
Branch 0.98 set up to track remote branch 0.98 from origin.
[ERROR] Plugin org.codehaus.mojo:findbugs-maven-plugin:2.5.2 or one of its 
dependencies could not be resolved: Failed to read artifact descriptor for 
org.codehaus.mojo:findbugs-maven-plugin:jar:2.5.2: Could not transfer artifact 
org.codehaus.mojo:findbugs-maven-plugin:pom:2.5.2 from/to central 
(https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version 
-> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Build step 'Execute shell' marked build as failure


phoenix git commit: PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery timeouts

2018-11-17 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 b6d0ecb2d -> 5871b3960


PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery 
timeouts


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/5871b396
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/5871b396
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/5871b396

Branch: refs/heads/4.x-HBase-1.3
Commit: 5871b3960012894f8c3eafb62c101da731dc1b24
Parents: b6d0ecb
Author: James Taylor 
Authored: Sat Nov 17 15:13:59 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:13:59 2018 -0800

--
 .../end2end/ConnectionQueryServicesTestImpl.java   |  4 +++-
 .../transaction/OmidTransactionProvider.java   |  2 +-
 .../transaction/PhoenixTransactionProvider.java|  2 +-
 .../transaction/TephraTransactionProvider.java | 17 ++---
 .../phoenix/query/QueryServicesTestImpl.java   |  3 ---
 5 files changed, 15 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/5871b396/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
index 6ebaa65..969e0f4 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
@@ -35,6 +35,7 @@ import 
org.apache.phoenix.transaction.PhoenixTransactionService;
 import org.apache.phoenix.transaction.TransactionFactory;
 import org.apache.phoenix.transaction.TransactionFactory.Provider;
 import org.apache.phoenix.util.SQLCloseables;
+import org.apache.phoenix.util.TestUtil;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -102,7 +103,8 @@ public class ConnectionQueryServicesTestImpl extends 
ConnectionQueryServicesImpl
 public synchronized PhoenixTransactionClient 
initTransactionClient(Provider provider) throws SQLException {
 PhoenixTransactionService txService = txServices[provider.ordinal()];
 if (txService == null) {
-txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo);
+int port = TestUtil.getRandomPort();
+txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo, 
port);
 }
 return super.initTransactionClient(provider);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/5871b396/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
index c53215c..bace2bc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
@@ -72,7 +72,7 @@ public class OmidTransactionProvider implements 
PhoenixTransactionProvider {
 }
 
 @Override
-public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo) throws  SQLException{
+public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo, int port) throws  SQLException{
 return new OmidTransactionService();
 }
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/5871b396/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
index b7f660e..3af554b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
@@ -50,7 +50,7 @@ public interface PhoenixTransactionProvider {
 public PhoenixTransactionContext getTransactionContext(PhoenixConnection 
connection) throws SQLException;
 
 public PhoenixTransactionClient getTransactionClient(Configuration config, 
ConnectionInfo connectionInfo) throws SQLException;
-public PhoenixTransaction

phoenix git commit: PHOENIX-5029 Increase parallelism of tests to decrease test time

2018-11-17 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 5871b3960 -> 727f41519


PHOENIX-5029 Increase parallelism of tests to decrease test time


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/727f4151
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/727f4151
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/727f4151

Branch: refs/heads/4.x-HBase-1.3
Commit: 727f4151900933ebd1989edd934c599230a8464f
Parents: 5871b39
Author: James Taylor 
Authored: Sat Nov 17 15:18:39 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:18:39 2018 -0800

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/727f4151/pom.xml
--
diff --git a/pom.xml b/pom.xml
index eba69a9..f2c2f20 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,7 +122,7 @@
 
 
 8
-4
+7
 false
 false
 



[1/2] phoenix git commit: PHOENIX-5029 Increase parallelism of tests to decrease test time

2018-11-17 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 8a46d00f2 -> bb3f476c1


PHOENIX-5029 Increase parallelism of tests to decrease test time


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/bb3f476c
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/bb3f476c
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/bb3f476c

Branch: refs/heads/4.x-HBase-1.2
Commit: bb3f476c1b152d5d77ac7168f9524ab80e7705fe
Parents: e07226b
Author: James Taylor 
Authored: Sat Nov 17 15:18:39 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:27:26 2018 -0800

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/bb3f476c/pom.xml
--
diff --git a/pom.xml b/pom.xml
index 0eaffc5..9456fc3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,7 +122,7 @@
 
 
 8
-4
+7
 false
 false
 



[2/2] phoenix git commit: PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery timeouts

2018-11-17 Thread jamestaylor
PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery 
timeouts


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/e07226b3
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/e07226b3
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/e07226b3

Branch: refs/heads/4.x-HBase-1.2
Commit: e07226b3e9d6ffecdb33acd4955fd51ea4322dd7
Parents: 8a46d00
Author: James Taylor 
Authored: Sat Nov 17 15:13:59 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:27:26 2018 -0800

--
 .../end2end/ConnectionQueryServicesTestImpl.java   |  4 +++-
 .../transaction/OmidTransactionProvider.java   |  2 +-
 .../transaction/PhoenixTransactionProvider.java|  2 +-
 .../transaction/TephraTransactionProvider.java | 17 ++---
 .../phoenix/query/QueryServicesTestImpl.java   |  3 ---
 5 files changed, 15 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/e07226b3/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
index 6ebaa65..969e0f4 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
@@ -35,6 +35,7 @@ import 
org.apache.phoenix.transaction.PhoenixTransactionService;
 import org.apache.phoenix.transaction.TransactionFactory;
 import org.apache.phoenix.transaction.TransactionFactory.Provider;
 import org.apache.phoenix.util.SQLCloseables;
+import org.apache.phoenix.util.TestUtil;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -102,7 +103,8 @@ public class ConnectionQueryServicesTestImpl extends 
ConnectionQueryServicesImpl
 public synchronized PhoenixTransactionClient 
initTransactionClient(Provider provider) throws SQLException {
 PhoenixTransactionService txService = txServices[provider.ordinal()];
 if (txService == null) {
-txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo);
+int port = TestUtil.getRandomPort();
+txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo, 
port);
 }
 return super.initTransactionClient(provider);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/e07226b3/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
index c53215c..bace2bc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
@@ -72,7 +72,7 @@ public class OmidTransactionProvider implements 
PhoenixTransactionProvider {
 }
 
 @Override
-public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo) throws  SQLException{
+public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo, int port) throws  SQLException{
 return new OmidTransactionService();
 }
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/e07226b3/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
index b7f660e..3af554b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
@@ -50,7 +50,7 @@ public interface PhoenixTransactionProvider {
 public PhoenixTransactionContext getTransactionContext(PhoenixConnection 
connection) throws SQLException;
 
 public PhoenixTransactionClient getTransactionClient(Configuration config, 
ConnectionInfo connectionInfo) throws SQLException;
-public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo) throws

[1/2] phoenix git commit: PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery timeouts

2018-11-17 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.4 9a6abc299 -> c3553d464


PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery 
timeouts


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/4921b1cd
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/4921b1cd
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/4921b1cd

Branch: refs/heads/4.x-HBase-1.4
Commit: 4921b1cddbc497d07390b5d6f7c34f62e2520494
Parents: 9a6abc2
Author: James Taylor 
Authored: Sat Nov 17 15:13:59 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:32:09 2018 -0800

--
 .../end2end/ConnectionQueryServicesTestImpl.java   |  4 +++-
 .../transaction/OmidTransactionProvider.java   |  2 +-
 .../transaction/PhoenixTransactionProvider.java|  2 +-
 .../transaction/TephraTransactionProvider.java | 17 ++---
 .../phoenix/query/QueryServicesTestImpl.java   |  3 ---
 5 files changed, 15 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/4921b1cd/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
index 6ebaa65..969e0f4 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
@@ -35,6 +35,7 @@ import 
org.apache.phoenix.transaction.PhoenixTransactionService;
 import org.apache.phoenix.transaction.TransactionFactory;
 import org.apache.phoenix.transaction.TransactionFactory.Provider;
 import org.apache.phoenix.util.SQLCloseables;
+import org.apache.phoenix.util.TestUtil;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -102,7 +103,8 @@ public class ConnectionQueryServicesTestImpl extends 
ConnectionQueryServicesImpl
 public synchronized PhoenixTransactionClient 
initTransactionClient(Provider provider) throws SQLException {
 PhoenixTransactionService txService = txServices[provider.ordinal()];
 if (txService == null) {
-txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo);
+int port = TestUtil.getRandomPort();
+txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo, 
port);
 }
 return super.initTransactionClient(provider);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4921b1cd/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
index c53215c..bace2bc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
@@ -72,7 +72,7 @@ public class OmidTransactionProvider implements 
PhoenixTransactionProvider {
 }
 
 @Override
-public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo) throws  SQLException{
+public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo, int port) throws  SQLException{
 return new OmidTransactionService();
 }
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/4921b1cd/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
index b7f660e..3af554b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
@@ -50,7 +50,7 @@ public interface PhoenixTransactionProvider {
 public PhoenixTransactionContext getTransactionContext(PhoenixConnection 
connection) throws SQLException;
 
 public PhoenixTransactionClient getTransactionClient(Configuration config, 
ConnectionInfo connectionInfo) throws SQLException;
-public PhoenixTransaction

[2/2] phoenix git commit: PHOENIX-5029 Increase parallelism of tests to decrease test time

2018-11-17 Thread jamestaylor
PHOENIX-5029 Increase parallelism of tests to decrease test time


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/c3553d46
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/c3553d46
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/c3553d46

Branch: refs/heads/4.x-HBase-1.4
Commit: c3553d464766be0454d7a290e3928de071772ad1
Parents: 4921b1c
Author: James Taylor 
Authored: Sat Nov 17 15:18:39 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:32:22 2018 -0800

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/c3553d46/pom.xml
--
diff --git a/pom.xml b/pom.xml
index b1d8b32..0f0b4f0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,7 +122,7 @@
 
 
 8
-4
+7
 false
 false
 



[1/2] phoenix git commit: PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery timeouts

2018-11-17 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/master d128553c8 -> 956755fab


PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery 
timeouts


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/39b5fe99
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/39b5fe99
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/39b5fe99

Branch: refs/heads/master
Commit: 39b5fe99fb28add8def94f09dffc1507ff5abce1
Parents: d128553
Author: James Taylor 
Authored: Sat Nov 17 15:13:59 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:36:50 2018 -0800

--
 .../end2end/ConnectionQueryServicesTestImpl.java   |  4 +++-
 .../transaction/OmidTransactionProvider.java   |  2 +-
 .../transaction/PhoenixTransactionProvider.java|  2 +-
 .../transaction/TephraTransactionProvider.java | 17 ++---
 .../phoenix/query/QueryServicesTestImpl.java   |  3 ---
 5 files changed, 15 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/39b5fe99/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
index 6ebaa65..969e0f4 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
@@ -35,6 +35,7 @@ import 
org.apache.phoenix.transaction.PhoenixTransactionService;
 import org.apache.phoenix.transaction.TransactionFactory;
 import org.apache.phoenix.transaction.TransactionFactory.Provider;
 import org.apache.phoenix.util.SQLCloseables;
+import org.apache.phoenix.util.TestUtil;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -102,7 +103,8 @@ public class ConnectionQueryServicesTestImpl extends 
ConnectionQueryServicesImpl
 public synchronized PhoenixTransactionClient 
initTransactionClient(Provider provider) throws SQLException {
 PhoenixTransactionService txService = txServices[provider.ordinal()];
 if (txService == null) {
-txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo);
+int port = TestUtil.getRandomPort();
+txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo, 
port);
 }
 return super.initTransactionClient(provider);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/39b5fe99/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
index c53215c..bace2bc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
@@ -72,7 +72,7 @@ public class OmidTransactionProvider implements 
PhoenixTransactionProvider {
 }
 
 @Override
-public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo) throws  SQLException{
+public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo, int port) throws  SQLException{
 return new OmidTransactionService();
 }
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/39b5fe99/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
index b7f660e..3af554b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
@@ -50,7 +50,7 @@ public interface PhoenixTransactionProvider {
 public PhoenixTransactionContext getTransactionContext(PhoenixConnection 
connection) throws SQLException;
 
 public PhoenixTransactionClient getTransactionClient(Configuration config, 
ConnectionInfo connectionInfo) throws SQLException;
-public PhoenixTransactionService getTra

[2/2] phoenix git commit: PHOENIX-5029 Increase parallelism of tests to decrease test time

2018-11-17 Thread jamestaylor
PHOENIX-5029 Increase parallelism of tests to decrease test time


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/956755fa
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/956755fa
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/956755fa

Branch: refs/heads/master
Commit: 956755fabddd335101221cb52cf4fd19c845d3e1
Parents: 39b5fe9
Author: James Taylor 
Authored: Sat Nov 17 15:18:39 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:36:57 2018 -0800

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/956755fa/pom.xml
--
diff --git a/pom.xml b/pom.xml
index bfd80e1..16ec530 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,7 +122,7 @@
 
 
 8
-4
+7
 false
 false
 



[5/9] phoenix git commit: PHOENIX-4955 - PhoenixIndexImportDirectMapper undercounts failed records

2018-11-17 Thread jamestaylor
PHOENIX-4955 - PhoenixIndexImportDirectMapper undercounts failed records


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/fc38ace7
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/fc38ace7
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/fc38ace7

Branch: refs/heads/omid2
Commit: fc38ace74e4926b25067ff7201631898eecaeb63
Parents: b493797
Author: Geoffrey Jacoby 
Authored: Fri Nov 16 13:57:45 2018 -0800
Committer: Geoffrey Jacoby 
Committed: Fri Nov 16 14:31:34 2018 -0800

--
 .../mapreduce/index/PhoenixIndexImportDirectMapper.java  | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/fc38ace7/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/PhoenixIndexImportDirectMapper.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/PhoenixIndexImportDirectMapper.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/PhoenixIndexImportDirectMapper.java
index eb4bc0e..e2ac491 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/PhoenixIndexImportDirectMapper.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/PhoenixIndexImportDirectMapper.java
@@ -68,6 +68,8 @@ public class PhoenixIndexImportDirectMapper extends
 private long batchSizeBytes;
 
 private MutationState mutationState;
+private int currentBatchCount = 0;
+
 
 @Override
 protected void setup(final Context context) throws IOException, 
InterruptedException {
@@ -113,6 +115,7 @@ public class PhoenixIndexImportDirectMapper extends
 throws IOException, InterruptedException {
 
 try {
+currentBatchCount++;
 final List values = record.getValues();
 indxWritable.setValues(values);
 indxWritable.write(this.pStatement);
@@ -125,9 +128,8 @@ public class PhoenixIndexImportDirectMapper extends
 }
 // Keep accumulating Mutations till batch size
 mutationState.join(currentMutationState);
-
 // Write Mutation Batch
-if 
(context.getCounter(PhoenixJobCounters.INPUT_RECORDS).getValue() % batchSize == 
0) {
+if (currentBatchCount % batchSize == 0) {
 writeBatch(mutationState, context);
 mutationState = null;
 }
@@ -136,7 +138,7 @@ public class PhoenixIndexImportDirectMapper extends
 context.progress();
 } catch (SQLException e) {
 LOG.error(" Error {}  while read/write of a record ", 
e.getMessage());
-context.getCounter(PhoenixJobCounters.FAILED_RECORDS).increment(1);
+
context.getCounter(PhoenixJobCounters.FAILED_RECORDS).increment(currentBatchCount);
 throw new RuntimeException(e);
 }
 context.getCounter(PhoenixJobCounters.INPUT_RECORDS).increment(1);
@@ -157,6 +159,7 @@ public class PhoenixIndexImportDirectMapper extends
 mutationPair.getSecond().size());
 }
 connection.rollback();
+currentBatchCount = 0;
 }
 
 @Override
@@ -173,7 +176,7 @@ public class PhoenixIndexImportDirectMapper extends
 super.cleanup(context);
 } catch (SQLException e) {
 LOG.error(" Error {}  while read/write of a record ", 
e.getMessage());
-context.getCounter(PhoenixJobCounters.FAILED_RECORDS).increment(1);
+
context.getCounter(PhoenixJobCounters.FAILED_RECORDS).increment(currentBatchCount);
 throw new RuntimeException(e);
 } finally {
 if (connection != null) {



[7/9] phoenix git commit: PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery timeouts

2018-11-17 Thread jamestaylor
PHOENIX-5028 Delay acquisition of port and increase Tephra test discovery 
timeouts


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/5871b396
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/5871b396
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/5871b396

Branch: refs/heads/omid2
Commit: 5871b3960012894f8c3eafb62c101da731dc1b24
Parents: b6d0ecb
Author: James Taylor 
Authored: Sat Nov 17 15:13:59 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:13:59 2018 -0800

--
 .../end2end/ConnectionQueryServicesTestImpl.java   |  4 +++-
 .../transaction/OmidTransactionProvider.java   |  2 +-
 .../transaction/PhoenixTransactionProvider.java|  2 +-
 .../transaction/TephraTransactionProvider.java | 17 ++---
 .../phoenix/query/QueryServicesTestImpl.java   |  3 ---
 5 files changed, 15 insertions(+), 13 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/5871b396/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
index 6ebaa65..969e0f4 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ConnectionQueryServicesTestImpl.java
@@ -35,6 +35,7 @@ import 
org.apache.phoenix.transaction.PhoenixTransactionService;
 import org.apache.phoenix.transaction.TransactionFactory;
 import org.apache.phoenix.transaction.TransactionFactory.Provider;
 import org.apache.phoenix.util.SQLCloseables;
+import org.apache.phoenix.util.TestUtil;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
@@ -102,7 +103,8 @@ public class ConnectionQueryServicesTestImpl extends 
ConnectionQueryServicesImpl
 public synchronized PhoenixTransactionClient 
initTransactionClient(Provider provider) throws SQLException {
 PhoenixTransactionService txService = txServices[provider.ordinal()];
 if (txService == null) {
-txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo);
+int port = TestUtil.getRandomPort();
+txService = txServices[provider.ordinal()] = 
provider.getTransactionProvider().getTransactionService(config, connectionInfo, 
port);
 }
 return super.initTransactionClient(provider);
 }

http://git-wip-us.apache.org/repos/asf/phoenix/blob/5871b396/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
index c53215c..bace2bc 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/OmidTransactionProvider.java
@@ -72,7 +72,7 @@ public class OmidTransactionProvider implements 
PhoenixTransactionProvider {
 }
 
 @Override
-public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo) throws  SQLException{
+public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo, int port) throws  SQLException{
 return new OmidTransactionService();
 }
 

http://git-wip-us.apache.org/repos/asf/phoenix/blob/5871b396/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
index b7f660e..3af554b 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/transaction/PhoenixTransactionProvider.java
@@ -50,7 +50,7 @@ public interface PhoenixTransactionProvider {
 public PhoenixTransactionContext getTransactionContext(PhoenixConnection 
connection) throws SQLException;
 
 public PhoenixTransactionClient getTransactionClient(Configuration config, 
ConnectionInfo connectionInfo) throws SQLException;
-public PhoenixTransactionService getTransactionService(Configuration 
config, ConnectionInfo connectionInfo) throws  SQLExc

[3/9] phoenix git commit: PHOENIX-5013 Increase timeout for Tephra discovery service

2018-11-17 Thread jamestaylor
PHOENIX-5013 Increase timeout for Tephra discovery service


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/89bbdfd9
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/89bbdfd9
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/89bbdfd9

Branch: refs/heads/omid2
Commit: 89bbdfd9e0ad427d9e9771608e2d32b631319d2e
Parents: 4581516
Author: Thomas D'Silva 
Authored: Thu Nov 15 12:33:26 2018 -0800
Committer: Thomas D'Silva 
Committed: Thu Nov 15 19:11:49 2018 -0800

--
 .../test/java/org/apache/phoenix/query/QueryServicesTestImpl.java   | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/89bbdfd9/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
--
diff --git 
a/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
 
b/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
index 49fb8e8..eae951a 100644
--- 
a/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
+++ 
b/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
@@ -130,6 +130,7 @@ public final class QueryServicesTestImpl extends 
BaseQueryServicesImpl {
 .set(TxConstants.Service.CFG_DATA_TX_CLIENT_RETRY_STRATEGY, 
"n-times")
 .set(TxConstants.Service.CFG_DATA_TX_CLIENT_ATTEMPTS, 1)
 .set(TxConstants.Service.CFG_DATA_TX_BIND_PORT, 
TestUtil.getRandomPort())
+
.set(TxConstants.Service.CFG_DATA_TX_CLIENT_DISCOVERY_TIMEOUT_SEC, 60)
 .set(TxConstants.Manager.CFG_TX_SNAPSHOT_DIR, 
Files.createTempDir().getAbsolutePath())
 .set(TxConstants.Manager.CFG_TX_TIMEOUT, 
DEFAULT_TXN_TIMEOUT_SECONDS)
 .set(TxConstants.Manager.CFG_TX_SNAPSHOT_INTERVAL, 5L)



[6/9] phoenix git commit: PHOENIX-5005 Server-side delete / upsert-select potentially blocked after a split

2018-11-17 Thread jamestaylor
PHOENIX-5005 Server-side delete / upsert-select potentially blocked after a 
split


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b6d0ecb2
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b6d0ecb2
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b6d0ecb2

Branch: refs/heads/omid2
Commit: b6d0ecb2dc30af56fb51377576aba396cffa443b
Parents: fc38ace
Author: Vincent Poon 
Authored: Thu Nov 8 15:38:20 2018 -0800
Committer: Vincent Poon 
Committed: Fri Nov 16 16:26:17 2018 -0800

--
 .../UngroupedAggregateRegionObserver.java   | 43 
 1 file changed, 26 insertions(+), 17 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b6d0ecb2/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionObserver.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionObserver.java
 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionObserver.java
index 73386a2..26e338f 100644
--- 
a/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionObserver.java
+++ 
b/phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionObserver.java
@@ -262,7 +262,7 @@ public class UngroupedAggregateRegionObserver extends 
BaseScannerRegionObserver
   // flush happen which decrease the memstore size and then writes allowed 
on the region.
   for (int i = 0; blockingMemstoreSize > 0 && region.getMemstoreSize() > 
blockingMemstoreSize && i < 30; i++) {
   try {
-  checkForRegionClosing();
+  checkForRegionClosingOrSplitting();
   Thread.sleep(100);
   } catch (InterruptedException e) {
   Thread.currentThread().interrupt();
@@ -311,7 +311,7 @@ public class UngroupedAggregateRegionObserver extends 
BaseScannerRegionObserver
  * a high chance that flush might not proceed and memstore won't be freed 
up.
  * @throws IOException
  */
-private void checkForRegionClosing() throws IOException {
+private void checkForRegionClosingOrSplitting() throws IOException {
 synchronized (lock) {
 if(isRegionClosingOrSplitting) {
 lock.notifyAll();
@@ -1333,13 +1333,31 @@ public class UngroupedAggregateRegionObserver extends 
BaseScannerRegionObserver
 @Override
 public void preSplit(ObserverContext c, 
byte[] splitRow)
 throws IOException {
-// Don't allow splitting if operations need read and write to same 
region are going on in the
-// the coprocessors to avoid dead lock scenario. See PHOENIX-3111.
+waitForScansToFinish(c);
+}
+
+// Don't allow splitting/closing if operations need read and write to same 
region are going on in the
+// the coprocessors to avoid dead lock scenario. See PHOENIX-3111.
+private void 
waitForScansToFinish(ObserverContext c) throws 
IOException {
+int maxWaitTime = 
c.getEnvironment().getConfiguration().getInt(HConstants.HBASE_CLIENT_OPERATION_TIMEOUT,
+HConstants.DEFAULT_HBASE_CLIENT_OPERATION_TIMEOUT);
+long start = EnvironmentEdgeManager.currentTimeMillis();
 synchronized (lock) {
 isRegionClosingOrSplitting = true;
-if (scansReferenceCount > 0) {
-throw new IOException("Operations like local index 
building/delete/upsert select"
-+ " might be going on so not allowing to split.");
+while (scansReferenceCount > 0) {
+try {
+lock.wait(1000);
+if (EnvironmentEdgeManager.currentTimeMillis() - start >= 
maxWaitTime) {
+isRegionClosingOrSplitting = false; // must reset in 
case split is not retried
+throw new IOException(String.format(
+"Operations like local index 
building/delete/upsert select"
++ " might be going on so not allowing to 
split/close. scansReferenceCount=%s region=%s",
+scansReferenceCount,
+
c.getEnvironment().getRegionInfo().getRegionNameAsString()));
+}
+} catch (InterruptedException e) {
+Thread.currentThread().interrupt();
+}
 }
 }
 }
@@ -1360,16 +1378,7 @@ public class UngroupedAggregateRegionObserver extends 
BaseScannerRegionObserver
 @Override
 public void preClose(ObserverContext c, 
boolean abortRequested)
 throws IOException {
-synchronized (lock) {
-isRegionClosingOrSplitting = t

[8/9] phoenix git commit: PHOENIX-5029 Increase parallelism of tests to decrease test time

2018-11-17 Thread jamestaylor
PHOENIX-5029 Increase parallelism of tests to decrease test time


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/727f4151
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/727f4151
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/727f4151

Branch: refs/heads/omid2
Commit: 727f4151900933ebd1989edd934c599230a8464f
Parents: 5871b39
Author: James Taylor 
Authored: Sat Nov 17 15:18:39 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:18:39 2018 -0800

--
 pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/727f4151/pom.xml
--
diff --git a/pom.xml b/pom.xml
index eba69a9..f2c2f20 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,7 +122,7 @@
 
 
 8
-4
+7
 false
 false
 



[2/9] phoenix git commit: PHOENIX-5000 Make SecureUserConnectionsTest as Integration test

2018-11-17 Thread jamestaylor
PHOENIX-5000 Make SecureUserConnectionsTest as Integration test


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/4581516e
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/4581516e
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/4581516e

Branch: refs/heads/omid2
Commit: 4581516eaea432962c9b61332a5f3f8117792823
Parents: 87e7702
Author: Karan Mehta 
Authored: Tue Oct 30 12:40:00 2018 -0700
Committer: Karan Mehta 
Committed: Thu Nov 15 14:58:46 2018 -0800

--
 .../phoenix/jdbc/SecureUserConnectionsIT.java   | 459 +++
 .../phoenix/jdbc/SecureUserConnectionsTest.java | 459 ---
 2 files changed, 459 insertions(+), 459 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/4581516e/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java
new file mode 100644
index 000..eaf981b
--- /dev/null
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/jdbc/SecureUserConnectionsIT.java
@@ -0,0 +1,459 @@
+/*
+ * 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.jdbc;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertTrue;
+
+import java.io.File;
+import java.io.IOException;
+import java.lang.reflect.Field;
+import java.security.PrivilegedExceptionAction;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.commons.io.FileUtils;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.fs.CommonConfigurationKeys;
+import org.apache.hadoop.hbase.security.User;
+import org.apache.hadoop.minikdc.MiniKdc;
+import org.apache.hadoop.security.UserGroupInformation;
+import org.apache.hadoop.security.authentication.util.KerberosName;
+import org.apache.phoenix.jdbc.PhoenixEmbeddedDriver.ConnectionInfo;
+import org.apache.phoenix.query.ConfigurationFactory;
+import org.apache.phoenix.util.InstanceResolver;
+import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.ReadOnlyProps;
+import org.junit.AfterClass;
+import org.junit.BeforeClass;
+import org.junit.Test;
+
+/**
+ * Tests ConnectionQueryServices caching when Kerberos authentication is 
enabled. It's not
+ * trivial to directly test this, so we exploit the knowledge that the caching 
is driven by
+ * a ConcurrentHashMap. We can use a HashSet to determine when instances of 
ConnectionInfo
+ * collide and when they do not.
+ */
+public class SecureUserConnectionsIT {
+private static final Log LOG = 
LogFactory.getLog(SecureUserConnectionsIT.class);
+private static final int KDC_START_ATTEMPTS = 10;
+
+private static final File TEMP_DIR = new File(getClassTempDir());
+private static final File KEYTAB_DIR = new File(TEMP_DIR, "keytabs");
+private static final File KDC_DIR = new File(TEMP_DIR, "kdc");
+private static final List USER_KEYTAB_FILES = new ArrayList<>();
+private static final List SERVICE_KEYTAB_FILES = new ArrayList<>();
+private static final int NUM_USERS = 3;
+private static final Properties EMPTY_PROPERTIES = new Properties();
+private static final String BASE_URL = PhoenixRuntime.JDBC_PROTOCOL + 
":localhost:2181";
+
+private static MiniKdc KDC;
+
+@BeforeClass
+public static void setupKdc() throws Exception {
+ensureIsEmptyDirectory(KDC_DIR);
+ensureIsEmptyDirectory(KEYTAB_DIR);
+// Create and start the KDC. MiniKDC appears to have a race condition 
in how it does
+// port allocation (with apache-ds). See PHOENIX-3287.
+boolean started = false;
+for (int i =

[9/9] phoenix git commit: Merge branch '4.x-HBase-1.3' into omid2

2018-11-17 Thread jamestaylor
Merge branch '4.x-HBase-1.3' into omid2


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/06b2ffd9
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/06b2ffd9
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/06b2ffd9

Branch: refs/heads/omid2
Commit: 06b2ffd90a28d69aa9a5835cd2a19f884ae2f277
Parents: e02b3a2 727f415
Author: James Taylor 
Authored: Sat Nov 17 15:43:33 2018 -0800
Committer: James Taylor 
Committed: Sat Nov 17 15:43:33 2018 -0800

--
 .../org/apache/phoenix/end2end/QueryMoreIT.java | 171 ++-
 .../phoenix/jdbc/SecureUserConnectionsIT.java   | 459 ++
 .../apache/phoenix/compile/PostDDLCompiler.java | 478 ++-
 .../apache/phoenix/compile/WhereOptimizer.java  |  58 ++-
 .../UngroupedAggregateRegionObserver.java   |  43 +-
 .../expression/ComparisonExpression.java|  18 +-
 .../RowValueConstructorExpressionRewriter.java  |  54 +++
 .../index/PhoenixIndexImportDirectMapper.java   |  11 +-
 .../org/apache/phoenix/schema/RowKeySchema.java |   4 +
 ...wValueConstructorExpressionRewriterTest.java |  78 +++
 .../phoenix/jdbc/SecureUserConnectionsTest.java | 459 --
 .../phoenix/query/QueryServicesTestImpl.java|   1 +
 pom.xml |   2 +-
 13 files changed, 1114 insertions(+), 722 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/06b2ffd9/phoenix-core/src/test/java/org/apache/phoenix/query/QueryServicesTestImpl.java
--

http://git-wip-us.apache.org/repos/asf/phoenix/blob/06b2ffd9/pom.xml
--



[4/9] phoenix git commit: PHOENIX-5024 - Cleanup anonymous inner classes in PostDDLCompiler

2018-11-17 Thread jamestaylor
PHOENIX-5024 - Cleanup anonymous inner classes in PostDDLCompiler


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/b493797f
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/b493797f
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/b493797f

Branch: refs/heads/omid2
Commit: b493797f67a133a94f83546f29d5a42c0e4e6835
Parents: 89bbdfd
Author: Geoffrey Jacoby 
Authored: Fri Nov 16 09:55:49 2018 -0800
Committer: Geoffrey Jacoby 
Committed: Fri Nov 16 11:03:26 2018 -0800

--
 .../apache/phoenix/compile/PostDDLCompiler.java | 478 ++-
 1 file changed, 258 insertions(+), 220 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/b493797f/phoenix-core/src/main/java/org/apache/phoenix/compile/PostDDLCompiler.java
--
diff --git 
a/phoenix-core/src/main/java/org/apache/phoenix/compile/PostDDLCompiler.java 
b/phoenix-core/src/main/java/org/apache/phoenix/compile/PostDDLCompiler.java
index 709534e..a74c5f1 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/compile/PostDDLCompiler.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/compile/PostDDLCompiler.java
@@ -87,248 +87,286 @@ public class PostDDLCompiler {
 final long timestamp) throws SQLException {
 PhoenixStatement statement = new PhoenixStatement(connection);
 final StatementContext context = new StatementContext(
-statement, 
-new ColumnResolver() {
+statement,
+new MultipleTableRefColumnResolver(tableRefs),
+scan,
+new SequenceManager(statement));
+return new PostDDLMutationPlan(context, tableRefs, timestamp, emptyCF, 
deleteList, projectCFs);
+}
 
-@Override
-public List getTables() {
-return tableRefs;
-}
+private static class MultipleTableRefColumnResolver implements 
ColumnResolver {
 
-@Override
-public TableRef resolveTable(String schemaName, String 
tableName) throws SQLException {
-throw new UnsupportedOperationException();
-}
+private final List tableRefs;
 
-@Override
-public ColumnRef resolveColumn(String schemaName, String 
tableName, String colName)
-throws SQLException {
-throw new UnsupportedOperationException();
-}
+public MultipleTableRefColumnResolver(List tableRefs) {
+this.tableRefs = tableRefs;
+}
 
-   @Override
-   public List getFunctions() {
-   return 
Collections.emptyList();
-   }
-
-   @Override
-   public PFunction resolveFunction(String 
functionName)
-   throws SQLException {
-   throw new 
FunctionNotFoundException(functionName);
-   }
-
-   @Override
-   public boolean hasUDFs() {
-   return false;
-   }
-
-   @Override
-   public PSchema resolveSchema(String 
schemaName) throws SQLException {
-   throw new 
SchemaNotFoundException(schemaName);
-   }
-
-   @Override
-   public List getSchemas() {
-   throw new 
UnsupportedOperationException();
-   }
-
-},
-scan,
-new SequenceManager(statement));
-return new BaseMutationPlan(context, Operation.UPSERT /* FIXME */) {
-
-@Override
-public MutationState execute() throws SQLException {
-if (tableRefs.isEmpty()) {
-return new MutationState(0, 1000, connection);
-}
-boolean wasAutoCommit = connection.getAutoCommit();
-try {
-connection.setAutoCommit(true);
-SQLException sqlE = null;
-/*
- * Handles:
- * 1) deletion of all

[1/9] phoenix git commit: PHOENIX-4841 staging patch commit.

2018-11-17 Thread jamestaylor
Repository: phoenix
Updated Branches:
  refs/heads/omid2 e02b3a278 -> 06b2ffd90


PHOENIX-4841 staging patch commit.


Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/87e77029
Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/87e77029
Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/87e77029

Branch: refs/heads/omid2
Commit: 87e7702966ab7bc0afd52696e453f57ccc28b369
Parents: 7b038fb
Author: Daniel Wong 
Authored: Tue Oct 9 16:38:11 2018 -0700
Committer: Thomas D'Silva 
Committed: Thu Nov 15 12:00:51 2018 -0800

--
 .../org/apache/phoenix/end2end/QueryMoreIT.java | 171 +--
 .../apache/phoenix/compile/WhereOptimizer.java  |  58 ++-
 .../expression/ComparisonExpression.java|  18 +-
 .../RowValueConstructorExpressionRewriter.java  |  54 ++
 .../org/apache/phoenix/schema/RowKeySchema.java |   4 +
 ...wValueConstructorExpressionRewriterTest.java |  78 +
 6 files changed, 362 insertions(+), 21 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/87e77029/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryMoreIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryMoreIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryMoreIT.java
index 04272fa..2b1d31e 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryMoreIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryMoreIT.java
@@ -17,11 +17,13 @@
  */
 package org.apache.phoenix.end2end;
 
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertNotNull;
-import static org.junit.Assert.assertNull;
-import static org.junit.Assert.assertTrue;
+import com.google.common.collect.Lists;
+import org.apache.hadoop.hbase.util.Pair;
+import org.apache.phoenix.jdbc.PhoenixConnection;
+import org.apache.phoenix.query.QueryServices;
+import org.apache.phoenix.util.PhoenixRuntime;
+import org.apache.phoenix.util.TestUtil;
+import org.junit.Test;
 
 import java.sql.Connection;
 import java.sql.Date;
@@ -37,18 +39,19 @@ import java.util.Map;
 import java.util.Properties;
 
 import org.apache.hadoop.hbase.util.Base64;
-import org.apache.hadoop.hbase.util.Pair;
-import org.apache.phoenix.jdbc.PhoenixConnection;
-import org.apache.phoenix.query.QueryServices;
-import org.apache.phoenix.util.PhoenixRuntime;
-import org.apache.phoenix.util.TestUtil;
-import org.junit.Test;
 
-import com.google.common.collect.Lists;
+import static org.apache.phoenix.util.PhoenixRuntime.TENANT_ID_ATTRIB;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertNotNull;
+import static org.junit.Assert.assertNull;
+import static org.junit.Assert.assertTrue;
 
 
 public class QueryMoreIT extends ParallelStatsDisabledIT {
 
+private final String TENANT_SPECIFIC_URL1 = getUrl() + ';' + 
TENANT_ID_ATTRIB + "=tenant1";
+
 private String dataTableName;
 //queryAgainstTenantSpecificView = true, dataTableSalted = true 
 @Test
@@ -510,4 +513,148 @@ public class QueryMoreIT extends ParallelStatsDisabledIT {
 stmt.execute();
 }
 }
+
+@Test public void testRVCWithDescAndAscendingPK() throws Exception {
+final Connection conn = DriverManager.getConnection(getUrl());
+String fullTableName = generateUniqueName();
+try (Statement stmt = conn.createStatement()) {
+stmt.execute("CREATE TABLE " + fullTableName + "(\n"
++ "ORGANIZATION_ID CHAR(15) NOT NULL,\n" + "SCORE 
VARCHAR NOT NULL,\n"
++ "ENTITY_ID VARCHAR NOT NULL\n"
++ "CONSTRAINT PAGE_SNAPSHOT_PK PRIMARY KEY (\n"
++ "ORGANIZATION_ID,\n" + "SCORE DESC,\n" + 
"ENTITY_ID\n"
++ ")\n" + ") MULTI_TENANT=TRUE");
+}
+
+conn.createStatement().execute("UPSERT INTO " + fullTableName + " 
VALUES ('org1','c','1')");
+conn.createStatement().execute("UPSERT INTO " + fullTableName + " 
VALUES ('org1','b','3')");
+conn.createStatement().execute("UPSERT INTO " + fullTableName + " 
VALUES ('org1','b','4')");
+conn.createStatement().execute("UPSERT INTO " + fullTableName + " 
VALUES ('org1','a','2')");
+conn.commit();
+
+try (Statement stmt = conn.createStatement()) {
+final ResultSet
+rs =
+stmt.executeQuery("SELECT score, entity_id \n" + "FROM " + 
fullTableName + "\n"
++ "WHERE organization_id = 'org1'\n"
++ "AND (score, entity_id

Build failed in Jenkins: Phoenix-4.x-HBase-1.2 #554

2018-11-17 Thread Apache Jenkins Server
See 


Changes:

[jamestaylor] PHOENIX-5028 Delay acquisition of port and increase Tephra test

[jamestaylor] PHOENIX-5029 Increase parallelism of tests to decrease test time

--
[...truncated 110.32 KB...]
[INFO] Running org.apache.phoenix.tx.TxCheckpointIT
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 394.852 
s - in org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Tests run: 104, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1,334.953 s - in org.apache.phoenix.end2end.index.MutableIndexIT
[INFO] Tests run: 12, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 122.13 
s - in org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.604 
s - in org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Running org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.725 s 
- in org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 872.227 
s - in org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[INFO] Tests run: 40, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.558 
s - in org.apache.phoenix.tx.TxCheckpointIT
[INFO] Tests run: 52, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 645.383 
s - in org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 3402, Failures: 0, Errors: 0, Skipped: 1
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test (HBaseManagedTimeTests) 
@ phoenix-core ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test 
(NeedTheirOwnClusterTests) @ phoenix-core ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running org.apache.phoenix.end2end.ChangePermissionsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 32.15 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.ColumnEncodedImmutableTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.769 s 
- in org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Running org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 55.401 s 
- in org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.057 s 
- in org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Running org.apache.phoenix.end2end.CostBasedDecisionIT
[INFO] Running org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.73 s - 
in org.apache.phoenix.end2end.CountDistinctCompressionIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
177.81 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
182.365 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
173.709 s - in org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
179.173 s - in 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.FlappingLocalIndexIT
[INFO] Running org.apache.phoenix.end2end.IndexExtendedIT
[INFO] Running org.apache.phoenix.end2end.IndexScrutinyToolIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.016 s 
- in org.apache.phoenix.end2end.DropSchemaIT
[INFO] Running org.apache.phoenix.end2end.IndexToolForPartialBuildIT
[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 123.614

Build failed in Jenkins: Phoenix-omid2 #156

2018-11-17 Thread Apache Jenkins Server
See 


Changes:

[tdsilva] PHOENIX-4841 staging patch commit.

[karanmehta93] PHOENIX-5000 Make SecureUserConnectionsTest as Integration test

[tdsilva] PHOENIX-5013 Increase timeout for Tephra discovery service

[gjacoby] PHOENIX-5024 - Cleanup anonymous inner classes in PostDDLCompiler

[gjacoby] PHOENIX-4955 - PhoenixIndexImportDirectMapper undercounts failed 
records

[vincentpoon] PHOENIX-5005 Server-side delete / upsert-select potentially 
blocked

[jamestaylor] PHOENIX-5028 Delay acquisition of port and increase Tephra test

[jamestaylor] PHOENIX-5029 Increase parallelism of tests to decrease test time

--
[...truncated 194.98 KB...]
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 36.267 s 
- in org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Running org.apache.phoenix.util.IndexScrutinyIT
[INFO] Running org.apache.phoenix.tx.TransactionIT
[INFO] Running org.apache.phoenix.tx.TxCheckpointIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.685 s 
- in org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 103.854 
s - in org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 830.972 
s - in org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[INFO] Tests run: 117, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1,421.391 s - in org.apache.phoenix.end2end.index.MutableIndexIT
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 196.41 
s - in org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 434.428 
s - in org.apache.phoenix.tx.TxCheckpointIT
[INFO] Tests run: 78, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 755.544 
s - in org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 3514, Failures: 0, Errors: 0, Skipped: 1
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test (HBaseManagedTimeTests) 
@ phoenix-core ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:2.20:integration-test 
(NeedTheirOwnClusterTests) @ phoenix-core ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running org.apache.phoenix.end2end.ChangePermissionsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 44.607 s 
- in 
org.apache.hadoop.hbase.regionserver.wal.WALReplayWithIndexWritesAndCompressedWALIT
[INFO] Running 
org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.407 s 
- in org.apache.hadoop.hbase.regionserver.wal.WALRecoveryRegionPostOpenIT
[INFO] Running org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 52.681 s 
- in org.apache.phoenix.end2end.ConnectionUtilIT
[INFO] Running org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.974 s 
- in org.apache.phoenix.end2end.ContextClassloaderIT
[INFO] Running org.apache.phoenix.end2end.CostBasedDecisionIT
[INFO] Running org.apache.phoenix.end2end.CountDistinctCompressionIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.688 s 
- in org.apache.phoenix.end2end.CountDistinctCompressionIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
190.5 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableNonTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
187.534 s - in 
org.apache.phoenix.end2end.ColumnEncodedMutableNonTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
191.27 s - in 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
195.256 s - in org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.CsvBulkLoadToolIT
[INFO] Running org.apache.pho

Jenkins build is back to normal : Phoenix-4.x-HBase-1.4 #6

2018-11-17 Thread Apache Jenkins Server
See