Build failed in Jenkins: Phoenix | Master #2269

2018-12-20 Thread Apache Jenkins Server
See 


Changes:

[tdsilva] PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is

--
[...truncated 255.11 KB...]
[ERROR] 
testStatementOrderMaintainedInConnection[PartialCommitIT_transactionProvider=OMID](org.apache.phoenix.execute.PartialCommitIT)
  Time elapsed: 9.097 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.execute.PartialCommitIT.populateTables(PartialCommitIT.java:140)
at 
org.apache.phoenix.execute.PartialCommitIT.resetGlobalMetrics(PartialCommitIT.java:147)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.execute.PartialCommitIT.populateTables(PartialCommitIT.java:140)
at 
org.apache.phoenix.execute.PartialCommitIT.resetGlobalMetrics(PartialCommitIT.java:147)

[INFO] Running org.apache.phoenix.iterate.RoundRobinResultIteratorWithStatsIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.332 s 
- in org.apache.phoenix.iterate.RoundRobinResultIteratorWithStatsIT
[INFO] Running org.apache.phoenix.iterate.ScannerLeaseRenewalIT
[INFO] Running org.apache.phoenix.monitoring.PhoenixLoggingMetricsIT
[INFO] Running org.apache.phoenix.monitoring.PhoenixMetricsDisabledIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.005 s 
- in org.apache.phoenix.monitoring.PhoenixMetricsDisabledIT
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1,183.645 s - in org.apache.phoenix.end2end.SystemCatalogCreationOnConnectionIT
[INFO] Running org.apache.phoenix.monitoring.PhoenixMetricsIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.643 s 
- in org.apache.phoenix.monitoring.PhoenixLoggingMetricsIT
[INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 417.528 
s - in org.apache.phoenix.end2end.index.PartialIndexRebuilderIT
[INFO] Running org.apache.phoenix.rpc.PhoenixClientRpcIT
[INFO] Running org.apache.phoenix.rpc.PhoenixServerRpcIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.458 s 
- in org.apache.phoenix.rpc.PhoenixClientRpcIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.09 s 
- in org.apache.phoenix.rpc.PhoenixServerRpcIT
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.689 
s - in org.apache.phoenix.monitoring.PhoenixMetricsIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 167.45 s 
- in org.apache.phoenix.iterate.ScannerLeaseRenewalIT
[ERROR] Tests run: 120, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 
2,066.317 s <<< FAILURE! - in org.apache.phoenix.end2end.IndexToolIT
[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=false,localIndex=false,directApi=false,useSnapshot=false](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 5.474 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)

[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=false,localIndex=false,directApi=false,useSnapshot=true](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 4.476 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)

[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=false,localIndex=false,directApi=true,useSnapshot=false](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 4.481 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)

[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=false,localIndex=false,directApi=true,useSnapshot=true](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 4.388 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)

[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=true,localIndex=false,directApi=false,useSnapshot=false](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 4.481 s  <<< ERROR!

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

2018-12-20 Thread Apache Jenkins Server
See 

--
[...truncated 1.48 KB...]
[Phoenix-4.x-HBase-1.3] $ /bin/bash -xe /tmp/jenkins8700495341163295611.sh
+ echo 'DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802'
DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802
+ echo 'CURRENT CONTENT:'
CURRENT CONTENT:
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
[Phoenix-4.x-HBase-1.3] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean 
install -Dcheckstyle.skip=true
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Flume[jar]
[INFO] Phoenix - Kafka[jar]
[INFO] Phoenix - Pig  [jar]
[INFO] Phoenix Query Server Client[jar]
[INFO] Phoenix Query Server   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix - Spark[jar]
[INFO] Phoenix - Hive [jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Load Balancer  [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] -< org.apache.phoenix:phoenix >-
[INFO] Building Apache Phoenix 4.15.0-HBase-1.3-SNAPSHOT [1/15]
[INFO] [ pom ]-
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix ---
[INFO] Deleting 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (validate) @ phoenix ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix ---
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ phoenix ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ phoenix ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
phoenix ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ phoenix ---
[INFO] Installing 
 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.3-SNAPSHOT/phoenix-4.15.0-HBase-1.3-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.3-SNAPSHOT/phoenix-4.15.0-HBase-1.3-SNAPSHOT-tests.jar
[INFO] 
[INFO] --< org.apache.phoenix:phoenix-core >---
[INFO] Building Phoenix Core 4.15.0-HBase-1.3-SNAPSHOT   [2/15]
[INFO] [ jar ]-
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-hbase-client-hbase1.x/1.0.0/omid-hbase-client-hbase1.x-1.0.0.pom
Progress (1): 4.1/6.7 kBProgress (1): 6.7 kBDownloaded 
from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-hbase-client-hbase1.x/1.0.0/omid-hbase-client-hbase1.x-1.0.0.pom
 (6.7 kB at 8.0 kB/s)
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid/1.0.0/omid-1.0.0.pom
Progress (1): 4.1/29 kBProgress (1): 7.7/29 kBProgress (1): 8.2/29 kBProgress 
(1): 12/29 kB Progress (1): 16/29 kBProgress (1): 16/29 kBProgress (1): 20/29 
kBProgress (1): 24/29 kBProgress (1): 25/29 kBProgress (1): 29/29 kBProgress 
(1): 29 kB  Downloaded from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid/1.0.0/omid-1.0.0.pom
 (29 kB at 42 kB/s)
Downloading from apache release: 

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

2018-12-20 Thread Apache Jenkins Server
See 


Changes:

[tdsilva] PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is

--
[...truncated 1.55 KB...]
+ echo 'DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802'
DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802
+ echo 'CURRENT CONTENT:'
CURRENT CONTENT:
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
[Phoenix-4.x-HBase-1.3] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean 
install -Dcheckstyle.skip=true
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Flume[jar]
[INFO] Phoenix - Kafka[jar]
[INFO] Phoenix - Pig  [jar]
[INFO] Phoenix Query Server Client[jar]
[INFO] Phoenix Query Server   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix - Spark[jar]
[INFO] Phoenix - Hive [jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Load Balancer  [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] -< org.apache.phoenix:phoenix >-
[INFO] Building Apache Phoenix 4.15.0-HBase-1.3-SNAPSHOT [1/15]
[INFO] [ pom ]-
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix ---
[INFO] Deleting 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (validate) @ phoenix ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix ---
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ phoenix ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ phoenix ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
phoenix ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ phoenix ---
[INFO] Installing 
 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.3-SNAPSHOT/phoenix-4.15.0-HBase-1.3-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.3-SNAPSHOT/phoenix-4.15.0-HBase-1.3-SNAPSHOT-tests.jar
[INFO] 
[INFO] --< org.apache.phoenix:phoenix-core >---
[INFO] Building Phoenix Core 4.15.0-HBase-1.3-SNAPSHOT   [2/15]
[INFO] [ jar ]-
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-hbase-client-hbase1.x/1.0.0/omid-hbase-client-hbase1.x-1.0.0.pom
Progress (1): 4.1/6.7 kBProgress (1): 6.7 kBDownloaded 
from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-hbase-client-hbase1.x/1.0.0/omid-hbase-client-hbase1.x-1.0.0.pom
 (6.7 kB at 7.6 kB/s)
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid/1.0.0/omid-1.0.0.pom
Progress (1): 4.1/29 kBProgress (1): 7.7/29 kBProgress (1): 8.2/29 kBProgress 
(1): 12/29 kB Progress (1): 16/29 kBProgress (1): 16/29 kBProgress (1): 20/29 
kBProgress (1): 24/29 kBProgress (1): 25/29 kBProgress (1): 29/29 kBProgress 
(1): 29 kB  Downloaded from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid/1.0.0/omid-1.0.0.pom
 (29 kB at 42 kB/s)
Downloading from apache release: 

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

2018-12-20 Thread Apache Jenkins Server
See 

--
Started by an SCM change
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H21 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/phoenix.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/4.x-HBase-1.2^{commit} # timeout=10
Checking out Revision 43f7687fb328ecd19333bbb514fe9672d8b39b9e 
(origin/4.x-HBase-1.2)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 43f7687fb328ecd19333bbb514fe9672d8b39b9e
Commit message: "PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews 
is flapping"
 > git rev-list --no-walk 43f7687fb328ecd19333bbb514fe9672d8b39b9e # timeout=10
No emails were triggered.
[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.
[Phoenix-4.x-HBase-1.2] $ /bin/bash -xe /tmp/jenkins9075097219451819026.sh
+ echo 'DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802'
DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802
+ echo 'CURRENT CONTENT:'
CURRENT CONTENT:
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
[Phoenix-4.x-HBase-1.2] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean 
install -Dcheckstyle.skip=true
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Flume[jar]
[INFO] Phoenix - Kafka[jar]
[INFO] Phoenix - Pig  [jar]
[INFO] Phoenix Query Server Client[jar]
[INFO] Phoenix Query Server   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix - Spark[jar]
[INFO] Phoenix - Hive [jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Load Balancer  [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] -< org.apache.phoenix:phoenix >-
[INFO] Building Apache Phoenix 4.15.0-HBase-1.2-SNAPSHOT [1/15]
[INFO] [ pom ]-
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix ---
[INFO] Deleting 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (validate) @ phoenix ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix ---
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ phoenix ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ phoenix ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
phoenix ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ phoenix ---
[INFO] Installing 
 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.2-SNAPSHOT/phoenix-4.15.0-HBase-1.2-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.2-SNAPSHOT/phoenix-4.15.0-HBase-1.2-SNAPSHOT-tests.jar
[INFO] 
[INFO] 

Build failed in Jenkins: Phoenix-4.x-HBase-1.4 #36

2018-12-20 Thread Apache Jenkins Server
See 

--
Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on H24 (ubuntu xenial) in workspace 

 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/phoenix.git # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/phoenix.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/phoenix.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/4.x-HBase-1.4^{commit} # timeout=10
Checking out Revision 46cdaf62c6d6f0c990865f15c70aa717c6efd9aa 
(origin/4.x-HBase-1.4)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 46cdaf62c6d6f0c990865f15c70aa717c6efd9aa
Commit message: "PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews 
is flapping"
 > git rev-list --no-walk 46cdaf62c6d6f0c990865f15c70aa717c6efd9aa # timeout=10
No emails were triggered.
[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.
[Phoenix-4.x-HBase-1.4] $ /bin/bash -xe /tmp/jenkins413277187274038143.sh
+ echo 'DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802'
DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802
+ echo 'CURRENT CONTENT:'
CURRENT CONTENT:
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
[Phoenix-4.x-HBase-1.4] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean 
install -Dcheckstyle.skip=true
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Flume[jar]
[INFO] Phoenix - Kafka[jar]
[INFO] Phoenix - Pig  [jar]
[INFO] Phoenix Query Server Client[jar]
[INFO] Phoenix Query Server   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix - Spark[jar]
[INFO] Phoenix - Hive [jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Load Balancer  [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] -< org.apache.phoenix:phoenix >-
[INFO] Building Apache Phoenix 4.15.0-HBase-1.4-SNAPSHOT [1/15]
[INFO] [ pom ]-
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix ---
[INFO] Deleting 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (validate) @ phoenix ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix ---
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ phoenix ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ phoenix ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
phoenix ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ phoenix ---
[INFO] Installing 
 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.4-SNAPSHOT/phoenix-4.15.0-HBase-1.4-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.4-SNAPSHOT/phoenix-4.15.0-HBase-1.4-SNAPSHOT-tests.jar
[INFO] 
[INFO] --< 

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

2018-12-20 Thread Apache Jenkins Server
See 


Changes:

[tdsilva] PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is

--
[...truncated 3.63 KB...]
[EnvInject] - Variables injected successfully.
[Phoenix-4.x-HBase-1.2] $ /bin/bash -xe /tmp/jenkins7168637560457344490.sh
+ echo 'DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802'
DELETING ~/.m2/repository/org/apache/htrace. See 
https://issues.apache.org/jira/browse/PHOENIX-1802
+ echo 'CURRENT CONTENT:'
CURRENT CONTENT:
+ ls /home/jenkins/.m2/repository/org/apache/htrace
htrace
htrace-core
htrace-core4
[Phoenix-4.x-HBase-1.2] $ /home/jenkins/tools/maven/latest3/bin/mvn -U clean 
install -Dcheckstyle.skip=true
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Flume[jar]
[INFO] Phoenix - Kafka[jar]
[INFO] Phoenix - Pig  [jar]
[INFO] Phoenix Query Server Client[jar]
[INFO] Phoenix Query Server   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix - Spark[jar]
[INFO] Phoenix - Hive [jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Load Balancer  [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] -< org.apache.phoenix:phoenix >-
[INFO] Building Apache Phoenix 4.15.0-HBase-1.2-SNAPSHOT [1/15]
[INFO] [ pom ]-
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix ---
[INFO] Deleting 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (validate) @ phoenix ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix ---
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ phoenix ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ phoenix ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
phoenix ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ phoenix ---
[INFO] Installing 
 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.2-SNAPSHOT/phoenix-4.15.0-HBase-1.2-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.2-SNAPSHOT/phoenix-4.15.0-HBase-1.2-SNAPSHOT-tests.jar
[INFO] 
[INFO] --< org.apache.phoenix:phoenix-core >---
[INFO] Building Phoenix Core 4.15.0-HBase-1.2-SNAPSHOT   [2/15]
[INFO] [ jar ]-
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-hbase-client-hbase1.x/1.0.0/omid-hbase-client-hbase1.x-1.0.0.pom
Progress (1): 4.1/6.7 kBProgress (1): 6.7 kBDownloaded 
from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-hbase-client-hbase1.x/1.0.0/omid-hbase-client-hbase1.x-1.0.0.pom
 (6.7 kB at 7.7 kB/s)
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid/1.0.0/omid-1.0.0.pom
Progress (1): 4.1/29 kBProgress (1): 7.7/29 kBProgress (1): 8.2/29 kBProgress 
(1): 12/29 kB Progress (1): 16/29 kBProgress (1): 16/29 kBProgress (1): 20/29 
kBProgress (1): 24/29 kBProgress (1): 25/29 kBProgress (1): 29/29 kBProgress 
(1): 29 kB  Downloaded from apache release: 

Build failed in Jenkins: Phoenix-4.x-HBase-1.4 #35

2018-12-20 Thread Apache Jenkins Server
See 


Changes:

[tdsilva] PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is

--
[...truncated 1.95 KB...]
[INFO] Scanning for projects...
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] Apache Phoenix [pom]
[INFO] Phoenix Core   [jar]
[INFO] Phoenix - Flume[jar]
[INFO] Phoenix - Kafka[jar]
[INFO] Phoenix - Pig  [jar]
[INFO] Phoenix Query Server Client[jar]
[INFO] Phoenix Query Server   [jar]
[INFO] Phoenix - Pherf[jar]
[INFO] Phoenix - Spark[jar]
[INFO] Phoenix - Hive [jar]
[INFO] Phoenix Client [jar]
[INFO] Phoenix Server [jar]
[INFO] Phoenix Load Balancer  [jar]
[INFO] Phoenix Assembly   [pom]
[INFO] Phoenix - Tracing Web Application  [jar]
[INFO] 
[INFO] -< org.apache.phoenix:phoenix >-
[INFO] Building Apache Phoenix 4.15.0-HBase-1.4-SNAPSHOT [1/15]
[INFO] [ pom ]-
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix ---
[INFO] Deleting 
[INFO] 
[INFO] --- maven-checkstyle-plugin:2.13:check (validate) @ phoenix ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ phoenix ---
[INFO] 
[INFO] --- maven-source-plugin:2.2.1:jar-no-fork (attach-sources) @ phoenix ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:test-jar (default) @ phoenix ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: 

[INFO] 
[INFO] --- maven-site-plugin:3.7.1:attach-descriptor (attach-descriptor) @ 
phoenix ---
[INFO] No site descriptor found: nothing to attach.
[INFO] 
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ phoenix ---
[INFO] Installing 
 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.4-SNAPSHOT/phoenix-4.15.0-HBase-1.4-SNAPSHOT.pom
[INFO] Installing 

 to 
/home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.15.0-HBase-1.4-SNAPSHOT/phoenix-4.15.0-HBase-1.4-SNAPSHOT-tests.jar
[INFO] 
[INFO] --< org.apache.phoenix:phoenix-core >---
[INFO] Building Phoenix Core 4.15.0-HBase-1.4-SNAPSHOT   [2/15]
[INFO] [ jar ]-
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-hbase-client-hbase1.x/1.0.0/omid-hbase-client-hbase1.x-1.0.0.pom
Progress (1): 4.1/6.7 kBProgress (1): 6.7 kBDownloaded 
from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-hbase-client-hbase1.x/1.0.0/omid-hbase-client-hbase1.x-1.0.0.pom
 (6.7 kB at 7.6 kB/s)
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid/1.0.0/omid-1.0.0.pom
Progress (1): 4.1/29 kBProgress (1): 7.7/29 kBProgress (1): 8.2/29 kBProgress 
(1): 12/29 kB Progress (1): 16/29 kBProgress (1): 16/29 kBProgress (1): 20/29 
kBProgress (1): 24/29 kBProgress (1): 25/29 kBProgress (1): 29/29 kBProgress 
(1): 29 kB  Downloaded from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid/1.0.0/omid-1.0.0.pom
 (29 kB at 42 kB/s)
Downloading from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-transaction-client/1.0.0/omid-transaction-client-1.0.0.pom
Progress (1): 4.0 kBDownloaded from apache release: 
https://repository.apache.org/content/repositories/releases/org/apache/omid/omid-transaction-client/1.0.0/omid-transaction-client-1.0.0.pom
 (4.0 kB at 6.4 kB/s)
Downloading from apache release: 

phoenix git commit: PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is flapping

2018-12-20 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.4 255379d2c -> 46cdaf62c


PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is flapping


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

Branch: refs/heads/4.x-HBase-1.4
Commit: 46cdaf62c6d6f0c990865f15c70aa717c6efd9aa
Parents: 255379d
Author: Kadir 
Authored: Thu Dec 20 11:38:44 2018 -0800
Committer: Thomas D'Silva 
Committed: Thu Dec 20 14:21:12 2018 -0800

--
 .../phoenix/end2end/DropTableWithViewsIT.java   | 56 +++-
 1 file changed, 30 insertions(+), 26 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/46cdaf62/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
index 9502218..a4cd354 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
@@ -20,7 +20,6 @@ package org.apache.phoenix.end2end;
 import static org.apache.phoenix.util.PhoenixRuntime.TENANT_ID_ATTRIB;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.fail;
 
 import java.sql.Connection;
 import java.sql.DriverManager;
@@ -30,14 +29,16 @@ import java.util.Collection;
 
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
 import org.apache.phoenix.coprocessor.TableViewFinderResult;
+import org.apache.phoenix.coprocessor.TaskRegionObserver;
 import org.apache.phoenix.coprocessor.ViewFinder;
 import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
 
-import org.apache.phoenix.query.QueryServices;
 import org.apache.phoenix.query.QueryServicesOptions;
 import org.apache.phoenix.schema.PTable;
 import org.apache.phoenix.util.SchemaUtil;
+import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
@@ -50,6 +51,20 @@ public class DropTableWithViewsIT extends 
SplitSystemCatalogIT {
 private final boolean columnEncoded;
 private final String TENANT_SPECIFIC_URL1 = getUrl() + ';' + 
TENANT_ID_ATTRIB + "=" + TENANT1;
 
+private static RegionCoprocessorEnvironment TaskRegionEnvironment;
+
+@BeforeClass
+public static void doSetup() throws Exception {
+SplitSystemCatalogIT.doSetup();
+TaskRegionEnvironment =
+getUtility()
+.getRSForFirstRegionInTable(
+
PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME)
+
.getRegions(PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME)
+.get(0).getCoprocessorHost()
+
.findCoprocessorEnvironment(TaskRegionObserver.class.getName());
+}
+
 public DropTableWithViewsIT(boolean isMultiTenant, boolean columnEncoded) {
 this.isMultiTenant = isMultiTenant;
 this.columnEncoded = columnEncoded;
@@ -108,30 +123,19 @@ public class DropTableWithViewsIT extends 
SplitSystemCatalogIT {
 // Drop the base table
 String dropTable = String.format("DROP TABLE IF EXISTS %s 
CASCADE", baseTable);
 conn.createStatement().execute(dropTable);
-
-// Wait for the tasks for dropping child views to complete. The 
depth of the view tree is 2, so we expect that
-// this will be done in two task handling runs, i.e., in tree task 
handling interval at most in general
-// by assuming that each non-root level will be processed in one 
interval. To be on the safe side, we will
-// wait at most 10 intervals.
-long halfTimeInterval = 
config.getLong(QueryServices.TASK_HANDLING_INTERVAL_MS_ATTRIB,
-QueryServicesOptions.DEFAULT_TASK_HANDLING_INTERVAL_MS)/2;
-ResultSet rs = null;
-boolean timedOut = true;
-Thread.sleep(3 * halfTimeInterval);
-for (int i = 3; i < 20; i++) {
-rs = conn.createStatement().executeQuery("SELECT * " +
-" FROM " + 
PhoenixDatabaseMetaData.SYSTEM_TASK_NAME +
-" WHERE " + PhoenixDatabaseMetaData.TASK_TYPE 
+ " = " +
-
PTable.TaskType.DROP_CHILD_VIEWS.getSerializedValue());
-  

phoenix git commit: PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is flapping

2018-12-20 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 e7ce8e815 -> 43f7687fb


PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is flapping


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

Branch: refs/heads/4.x-HBase-1.2
Commit: 43f7687fb328ecd19333bbb514fe9672d8b39b9e
Parents: e7ce8e8
Author: Kadir 
Authored: Thu Dec 20 11:38:44 2018 -0800
Committer: Thomas D'Silva 
Committed: Thu Dec 20 14:20:56 2018 -0800

--
 .../phoenix/end2end/DropTableWithViewsIT.java   | 56 +++-
 1 file changed, 30 insertions(+), 26 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/43f7687f/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
index 9502218..a4cd354 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
@@ -20,7 +20,6 @@ package org.apache.phoenix.end2end;
 import static org.apache.phoenix.util.PhoenixRuntime.TENANT_ID_ATTRIB;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.fail;
 
 import java.sql.Connection;
 import java.sql.DriverManager;
@@ -30,14 +29,16 @@ import java.util.Collection;
 
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
 import org.apache.phoenix.coprocessor.TableViewFinderResult;
+import org.apache.phoenix.coprocessor.TaskRegionObserver;
 import org.apache.phoenix.coprocessor.ViewFinder;
 import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
 
-import org.apache.phoenix.query.QueryServices;
 import org.apache.phoenix.query.QueryServicesOptions;
 import org.apache.phoenix.schema.PTable;
 import org.apache.phoenix.util.SchemaUtil;
+import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
@@ -50,6 +51,20 @@ public class DropTableWithViewsIT extends 
SplitSystemCatalogIT {
 private final boolean columnEncoded;
 private final String TENANT_SPECIFIC_URL1 = getUrl() + ';' + 
TENANT_ID_ATTRIB + "=" + TENANT1;
 
+private static RegionCoprocessorEnvironment TaskRegionEnvironment;
+
+@BeforeClass
+public static void doSetup() throws Exception {
+SplitSystemCatalogIT.doSetup();
+TaskRegionEnvironment =
+getUtility()
+.getRSForFirstRegionInTable(
+
PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME)
+
.getRegions(PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME)
+.get(0).getCoprocessorHost()
+
.findCoprocessorEnvironment(TaskRegionObserver.class.getName());
+}
+
 public DropTableWithViewsIT(boolean isMultiTenant, boolean columnEncoded) {
 this.isMultiTenant = isMultiTenant;
 this.columnEncoded = columnEncoded;
@@ -108,30 +123,19 @@ public class DropTableWithViewsIT extends 
SplitSystemCatalogIT {
 // Drop the base table
 String dropTable = String.format("DROP TABLE IF EXISTS %s 
CASCADE", baseTable);
 conn.createStatement().execute(dropTable);
-
-// Wait for the tasks for dropping child views to complete. The 
depth of the view tree is 2, so we expect that
-// this will be done in two task handling runs, i.e., in tree task 
handling interval at most in general
-// by assuming that each non-root level will be processed in one 
interval. To be on the safe side, we will
-// wait at most 10 intervals.
-long halfTimeInterval = 
config.getLong(QueryServices.TASK_HANDLING_INTERVAL_MS_ATTRIB,
-QueryServicesOptions.DEFAULT_TASK_HANDLING_INTERVAL_MS)/2;
-ResultSet rs = null;
-boolean timedOut = true;
-Thread.sleep(3 * halfTimeInterval);
-for (int i = 3; i < 20; i++) {
-rs = conn.createStatement().executeQuery("SELECT * " +
-" FROM " + 
PhoenixDatabaseMetaData.SYSTEM_TASK_NAME +
-" WHERE " + PhoenixDatabaseMetaData.TASK_TYPE 
+ " = " +
-
PTable.TaskType.DROP_CHILD_VIEWS.getSerializedValue());
-  

phoenix git commit: PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is flapping

2018-12-20 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/master 412e07891 -> 57509506d


PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is flapping


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

Branch: refs/heads/master
Commit: 57509506dd64f67265473ac9daa30d9756e211d6
Parents: 412e078
Author: Kadir 
Authored: Thu Dec 20 11:38:44 2018 -0800
Committer: Thomas D'Silva 
Committed: Thu Dec 20 14:20:40 2018 -0800

--
 .../phoenix/end2end/DropTableWithViewsIT.java   | 56 +++-
 1 file changed, 30 insertions(+), 26 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/57509506/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
index 9502218..a4cd354 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
@@ -20,7 +20,6 @@ package org.apache.phoenix.end2end;
 import static org.apache.phoenix.util.PhoenixRuntime.TENANT_ID_ATTRIB;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.fail;
 
 import java.sql.Connection;
 import java.sql.DriverManager;
@@ -30,14 +29,16 @@ import java.util.Collection;
 
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
 import org.apache.phoenix.coprocessor.TableViewFinderResult;
+import org.apache.phoenix.coprocessor.TaskRegionObserver;
 import org.apache.phoenix.coprocessor.ViewFinder;
 import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
 
-import org.apache.phoenix.query.QueryServices;
 import org.apache.phoenix.query.QueryServicesOptions;
 import org.apache.phoenix.schema.PTable;
 import org.apache.phoenix.util.SchemaUtil;
+import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
@@ -50,6 +51,20 @@ public class DropTableWithViewsIT extends 
SplitSystemCatalogIT {
 private final boolean columnEncoded;
 private final String TENANT_SPECIFIC_URL1 = getUrl() + ';' + 
TENANT_ID_ATTRIB + "=" + TENANT1;
 
+private static RegionCoprocessorEnvironment TaskRegionEnvironment;
+
+@BeforeClass
+public static void doSetup() throws Exception {
+SplitSystemCatalogIT.doSetup();
+TaskRegionEnvironment =
+getUtility()
+.getRSForFirstRegionInTable(
+
PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME)
+
.getRegions(PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME)
+.get(0).getCoprocessorHost()
+
.findCoprocessorEnvironment(TaskRegionObserver.class.getName());
+}
+
 public DropTableWithViewsIT(boolean isMultiTenant, boolean columnEncoded) {
 this.isMultiTenant = isMultiTenant;
 this.columnEncoded = columnEncoded;
@@ -108,30 +123,19 @@ public class DropTableWithViewsIT extends 
SplitSystemCatalogIT {
 // Drop the base table
 String dropTable = String.format("DROP TABLE IF EXISTS %s 
CASCADE", baseTable);
 conn.createStatement().execute(dropTable);
-
-// Wait for the tasks for dropping child views to complete. The 
depth of the view tree is 2, so we expect that
-// this will be done in two task handling runs, i.e., in tree task 
handling interval at most in general
-// by assuming that each non-root level will be processed in one 
interval. To be on the safe side, we will
-// wait at most 10 intervals.
-long halfTimeInterval = 
config.getLong(QueryServices.TASK_HANDLING_INTERVAL_MS_ATTRIB,
-QueryServicesOptions.DEFAULT_TASK_HANDLING_INTERVAL_MS)/2;
-ResultSet rs = null;
-boolean timedOut = true;
-Thread.sleep(3 * halfTimeInterval);
-for (int i = 3; i < 20; i++) {
-rs = conn.createStatement().executeQuery("SELECT * " +
-" FROM " + 
PhoenixDatabaseMetaData.SYSTEM_TASK_NAME +
-" WHERE " + PhoenixDatabaseMetaData.TASK_TYPE 
+ " = " +
-
PTable.TaskType.DROP_CHILD_VIEWS.getSerializedValue());
-

phoenix git commit: PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is flapping

2018-12-20 Thread tdsilva
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 850114334 -> 214274fc3


PHOENIX-5074 DropTableWithViewsIT.testDropTableWithChildViews is flapping


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

Branch: refs/heads/4.x-HBase-1.3
Commit: 214274fc3d05db47ad184b0f288e2a6f21d30d1f
Parents: 8501143
Author: Kadir 
Authored: Thu Dec 20 11:38:44 2018 -0800
Committer: Thomas D'Silva 
Committed: Thu Dec 20 14:21:03 2018 -0800

--
 .../phoenix/end2end/DropTableWithViewsIT.java   | 56 +++-
 1 file changed, 30 insertions(+), 26 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/214274fc/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
--
diff --git 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
index 9502218..a4cd354 100644
--- 
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
+++ 
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/DropTableWithViewsIT.java
@@ -20,7 +20,6 @@ package org.apache.phoenix.end2end;
 import static org.apache.phoenix.util.PhoenixRuntime.TENANT_ID_ATTRIB;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.fail;
 
 import java.sql.Connection;
 import java.sql.DriverManager;
@@ -30,14 +29,16 @@ import java.util.Collection;
 
 import org.apache.hadoop.hbase.HConstants;
 import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment;
 import org.apache.phoenix.coprocessor.TableViewFinderResult;
+import org.apache.phoenix.coprocessor.TaskRegionObserver;
 import org.apache.phoenix.coprocessor.ViewFinder;
 import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData;
 
-import org.apache.phoenix.query.QueryServices;
 import org.apache.phoenix.query.QueryServicesOptions;
 import org.apache.phoenix.schema.PTable;
 import org.apache.phoenix.util.SchemaUtil;
+import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.runners.Parameterized;
@@ -50,6 +51,20 @@ public class DropTableWithViewsIT extends 
SplitSystemCatalogIT {
 private final boolean columnEncoded;
 private final String TENANT_SPECIFIC_URL1 = getUrl() + ';' + 
TENANT_ID_ATTRIB + "=" + TENANT1;
 
+private static RegionCoprocessorEnvironment TaskRegionEnvironment;
+
+@BeforeClass
+public static void doSetup() throws Exception {
+SplitSystemCatalogIT.doSetup();
+TaskRegionEnvironment =
+getUtility()
+.getRSForFirstRegionInTable(
+
PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME)
+
.getRegions(PhoenixDatabaseMetaData.SYSTEM_TASK_HBASE_TABLE_NAME)
+.get(0).getCoprocessorHost()
+
.findCoprocessorEnvironment(TaskRegionObserver.class.getName());
+}
+
 public DropTableWithViewsIT(boolean isMultiTenant, boolean columnEncoded) {
 this.isMultiTenant = isMultiTenant;
 this.columnEncoded = columnEncoded;
@@ -108,30 +123,19 @@ public class DropTableWithViewsIT extends 
SplitSystemCatalogIT {
 // Drop the base table
 String dropTable = String.format("DROP TABLE IF EXISTS %s 
CASCADE", baseTable);
 conn.createStatement().execute(dropTable);
-
-// Wait for the tasks for dropping child views to complete. The 
depth of the view tree is 2, so we expect that
-// this will be done in two task handling runs, i.e., in tree task 
handling interval at most in general
-// by assuming that each non-root level will be processed in one 
interval. To be on the safe side, we will
-// wait at most 10 intervals.
-long halfTimeInterval = 
config.getLong(QueryServices.TASK_HANDLING_INTERVAL_MS_ATTRIB,
-QueryServicesOptions.DEFAULT_TASK_HANDLING_INTERVAL_MS)/2;
-ResultSet rs = null;
-boolean timedOut = true;
-Thread.sleep(3 * halfTimeInterval);
-for (int i = 3; i < 20; i++) {
-rs = conn.createStatement().executeQuery("SELECT * " +
-" FROM " + 
PhoenixDatabaseMetaData.SYSTEM_TASK_NAME +
-" WHERE " + PhoenixDatabaseMetaData.TASK_TYPE 
+ " = " +
-
PTable.TaskType.DROP_CHILD_VIEWS.getSerializedValue());
-  

Build failed in Jenkins: Phoenix | Master #2268

2018-12-20 Thread Apache Jenkins Server
See 


Changes:

[ohads] [PHOENIX-3623] Integrate Omid with Phoenix.

--
[...truncated 276.91 KB...]
[ERROR] 
testStatementOrderMaintainedInConnection[PartialCommitIT_transactionProvider=OMID](org.apache.phoenix.execute.PartialCommitIT)
  Time elapsed: 9.214 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.execute.PartialCommitIT.populateTables(PartialCommitIT.java:140)
at 
org.apache.phoenix.execute.PartialCommitIT.resetGlobalMetrics(PartialCommitIT.java:147)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.execute.PartialCommitIT.populateTables(PartialCommitIT.java:140)
at 
org.apache.phoenix.execute.PartialCommitIT.resetGlobalMetrics(PartialCommitIT.java:147)

[INFO] Running org.apache.phoenix.iterate.RoundRobinResultIteratorWithStatsIT
[INFO] Running org.apache.phoenix.iterate.ScannerLeaseRenewalIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.316 s 
- in org.apache.phoenix.iterate.RoundRobinResultIteratorWithStatsIT
[INFO] Running org.apache.phoenix.monitoring.PhoenixLoggingMetricsIT
[INFO] Running org.apache.phoenix.monitoring.PhoenixMetricsDisabledIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 s 
- in org.apache.phoenix.monitoring.PhoenixMetricsDisabledIT
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1,115.388 s - in org.apache.phoenix.end2end.SystemCatalogCreationOnConnectionIT
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 42.726 s 
- in org.apache.phoenix.monitoring.PhoenixLoggingMetricsIT
[INFO] Running org.apache.phoenix.monitoring.PhoenixMetricsIT
[INFO] Running org.apache.phoenix.rpc.PhoenixClientRpcIT
[INFO] Running org.apache.phoenix.rpc.PhoenixServerRpcIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.497 s 
- in org.apache.phoenix.rpc.PhoenixClientRpcIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.692 s 
- in org.apache.phoenix.rpc.PhoenixServerRpcIT
[INFO] Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 426.502 
s - in org.apache.phoenix.end2end.index.PartialIndexRebuilderIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 167.446 
s - in org.apache.phoenix.iterate.ScannerLeaseRenewalIT
[INFO] Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 104.203 
s - in org.apache.phoenix.monitoring.PhoenixMetricsIT
[ERROR] Tests run: 120, Failures: 0, Errors: 8, Skipped: 0, Time elapsed: 
1,935.632 s <<< FAILURE! - in org.apache.phoenix.end2end.IndexToolIT
[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=false,localIndex=false,directApi=false,useSnapshot=false](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 5.459 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)

[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=false,localIndex=false,directApi=false,useSnapshot=true](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 4.41 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)

[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=false,localIndex=false,directApi=true,useSnapshot=false](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 2.604 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)

[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=false,localIndex=false,directApi=true,useSnapshot=true](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 4.512 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)
Caused by: java.lang.NullPointerException
at 
org.apache.phoenix.end2end.IndexToolIT.testSecondaryIndex(IndexToolIT.java:158)

[ERROR] 
testSecondaryIndex[transactionProvider=OMID,mutable=true,localIndex=false,directApi=false,useSnapshot=false](org.apache.phoenix.end2end.IndexToolIT)
  Time elapsed: 4.386 s  <<< ERROR!
org.apache.phoenix.execute.CommitException: 

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

2018-12-20 Thread Apache Jenkins Server
See 


Changes:

[ohads] [PHOENIX-3623] Integrate Omid with Phoenix.

--
[...truncated 1.06 MB...]
[INFO] Running org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.092 s 
- in org.apache.phoenix.iterate.RoundRobinResultIteratorIT
[INFO] Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.395 s 
- in org.apache.phoenix.trace.PhoenixTableMetricsWriterIT
[INFO] Running org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 853.743 
s - in org.apache.phoenix.end2end.join.HashJoinLocalIndexIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 63.589 s 
- in org.apache.phoenix.rpc.UpdateCacheIT
[INFO] Running org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 396.086 
s - in org.apache.phoenix.end2end.join.SubqueryIT
[INFO] Tests run: 15, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 274.125 
s - in org.apache.phoenix.end2end.join.SubqueryUsingSortMergeJoinIT
[INFO] Running org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.346 s 
- in org.apache.phoenix.tx.FlappingTransactionIT
[INFO] Running org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 98.012 s 
- in org.apache.phoenix.trace.PhoenixTracingEndToEndIT
[INFO] Running org.apache.phoenix.tx.TxCheckpointIT
[INFO] Running org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 25.31 s 
- in org.apache.phoenix.util.IndexScrutinyIT
[INFO] Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 847.731 
s - in org.apache.phoenix.end2end.join.SortMergeJoinLocalIndexIT
[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 159.802 
s - in org.apache.phoenix.tx.TransactionIT
[INFO] Tests run: 117, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
1,425.922 s - in org.apache.phoenix.end2end.index.MutableIndexIT
[INFO] Tests run: 50, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 448.447 
s - in org.apache.phoenix.tx.TxCheckpointIT
[INFO] Tests run: 78, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 739.664 
s - in org.apache.phoenix.tx.ParameterizedTransactionIT
[INFO] 
[INFO] Results:
[INFO] 
[WARNING] Tests run: 3612, 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: 45.096 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.991 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.ColumnEncodedMutableNonTxStatsCollectorIT
[INFO] Running org.apache.phoenix.end2end.ColumnEncodedMutableTxStatsCollectorIT
[INFO] Running 
org.apache.phoenix.end2end.ColumnEncodedImmutableTxStatsCollectorIT
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.352 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.683 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.633 s 
- in org.apache.phoenix.end2end.CountDistinctCompressionIT
[WARNING] Tests run: 28, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 
185.218 s - in 

phoenix git commit: [PHOENIX-3623] Integrate Omid with Phoenix.

2018-12-20 Thread ohads
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.4 494ed0769 -> 255379d2c


[PHOENIX-3623] Integrate Omid with Phoenix.

This commit finishes the integration of Omid as Phoenix transaction processor 
engine.
More information regarding the integration exists at [PHOENIX-3623] and at 
[OMID-82], which is the corresponding jira in Omid.


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

Branch: refs/heads/4.x-HBase-1.4
Commit: 255379d2c6bb264a1b0caa26c47ba943d1a099f6
Parents: 494ed07
Author: Ohad Shacham 
Authored: Thu Dec 20 14:22:27 2018 +0200
Committer: Ohad Shacham 
Committed: Thu Dec 20 14:22:27 2018 +0200

--
 bin/omid-env.sh |  43 
 bin/omid-server-configuration.yml   |  25 +++
 bin/omid.sh |  93 
 phoenix-assembly/pom.xml|   5 +
 .../components/all-common-dependencies.xml  |  28 +++
 phoenix-core/pom.xml|  46 
 .../phoenix/coprocessor/OmidGCProcessor.java|   6 +-
 .../coprocessor/OmidTransactionalProcessor.java |   7 +-
 .../transaction/OmidTransactionContext.java | 217 ++-
 .../transaction/OmidTransactionProvider.java| 106 -
 .../transaction/OmidTransactionTable.java   |  64 +-
 .../phoenix/transaction/TransactionFactory.java |   4 +-
 .../phoenix/query/QueryServicesTestImpl.java|   1 -
 .../java/org/apache/phoenix/util/TestUtil.java  |   2 +-
 phoenix-server/pom.xml  |   1 +
 pom.xml |  47 
 16 files changed, 665 insertions(+), 30 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/255379d2/bin/omid-env.sh
--
diff --git a/bin/omid-env.sh b/bin/omid-env.sh
new file mode 100644
index 000..820cdaa
--- /dev/null
+++ b/bin/omid-env.sh
@@ -0,0 +1,43 @@
+#
+# 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.
+#
+
+# Set the flags to pass to the jvm when running omid
+# export JVM_FLAGS=-Xmx8096m
+# 
-
+# Check if HADOOP_CONF_DIR and HBASE_CONF_DIR are set
+# 
-
+export JVM_FLAGS=-Xmx4096m
+if [ -z ${HADOOP_CONF_DIR+x} ]; then
+if [ -z ${HADOOP_HOME+x} ]; then
+echo "WARNING: HADOOP_HOME or HADOOP_CONF_DIR are unset";
+else
+export HADOOP_CONF_DIR=${HADOOP_HOME}/conf
+fi
+else
+echo "HADOOP_CONF_DIR is set to '$HADOOP_CONF_DIR'";
+fi
+
+if [ -z ${HBASE_CONF_DIR+x} ]; then
+if [ -z ${HBASE_HOME+x} ]; then
+echo "WARNING: HBASE_HOME or HBASE_CONF_DIR are unset";
+else
+export HBASE_CONF_DIR=${HBASE_HOME}/conf
+fi
+else
+echo "HBASE_CONF_DIR is set to '$HBASE_CONF_DIR'";
+fi

http://git-wip-us.apache.org/repos/asf/phoenix/blob/255379d2/bin/omid-server-configuration.yml
--
diff --git a/bin/omid-server-configuration.yml 
b/bin/omid-server-configuration.yml
new file mode 100644
index 000..8d1616e
--- /dev/null
+++ b/bin/omid-server-configuration.yml
@@ -0,0 +1,25 @@
+# 
=
+#
+# Omid TSO Server Configuration
+# 
-
+#
+# Tune here the default values for TSO server config parameters found in 
'default-omid-server-configuration.yml' file
+#
+# 
=
+
+
+timestampStoreModule: 

phoenix git commit: [PHOENIX-3623] Integrate Omid with Phoenix.

2018-12-20 Thread ohads
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.2 968ff97d2 -> e7ce8e815


[PHOENIX-3623] Integrate Omid with Phoenix.

This commit finishes the integration of Omid as Phoenix transaction processor 
engine.
More information regarding the integration exists at [PHOENIX-3623] and at 
[OMID-82], which is the corresponding jira in Omid.


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

Branch: refs/heads/4.x-HBase-1.2
Commit: e7ce8e815adeeb31d5f31c0beca6ffc81218b4f0
Parents: 968ff97
Author: Ohad Shacham 
Authored: Thu Dec 20 14:15:03 2018 +0200
Committer: Ohad Shacham 
Committed: Thu Dec 20 14:15:03 2018 +0200

--
 bin/omid-env.sh |  43 
 bin/omid-server-configuration.yml   |  25 +++
 bin/omid.sh |  93 
 phoenix-assembly/pom.xml|   5 +
 .../components/all-common-dependencies.xml  |  28 +++
 phoenix-core/pom.xml|  46 
 .../phoenix/coprocessor/OmidGCProcessor.java|   7 +-
 .../coprocessor/OmidTransactionalProcessor.java |   8 +-
 .../transaction/OmidTransactionContext.java | 217 ++-
 .../transaction/OmidTransactionProvider.java| 106 -
 .../transaction/OmidTransactionTable.java   |  64 +-
 .../phoenix/transaction/TransactionFactory.java |   5 +-
 .../phoenix/query/QueryServicesTestImpl.java|   1 -
 phoenix-server/pom.xml  |   1 +
 pom.xml |  47 
 15 files changed, 665 insertions(+), 31 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/e7ce8e81/bin/omid-env.sh
--
diff --git a/bin/omid-env.sh b/bin/omid-env.sh
new file mode 100644
index 000..820cdaa
--- /dev/null
+++ b/bin/omid-env.sh
@@ -0,0 +1,43 @@
+#
+# 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.
+#
+
+# Set the flags to pass to the jvm when running omid
+# export JVM_FLAGS=-Xmx8096m
+# 
-
+# Check if HADOOP_CONF_DIR and HBASE_CONF_DIR are set
+# 
-
+export JVM_FLAGS=-Xmx4096m
+if [ -z ${HADOOP_CONF_DIR+x} ]; then
+if [ -z ${HADOOP_HOME+x} ]; then
+echo "WARNING: HADOOP_HOME or HADOOP_CONF_DIR are unset";
+else
+export HADOOP_CONF_DIR=${HADOOP_HOME}/conf
+fi
+else
+echo "HADOOP_CONF_DIR is set to '$HADOOP_CONF_DIR'";
+fi
+
+if [ -z ${HBASE_CONF_DIR+x} ]; then
+if [ -z ${HBASE_HOME+x} ]; then
+echo "WARNING: HBASE_HOME or HBASE_CONF_DIR are unset";
+else
+export HBASE_CONF_DIR=${HBASE_HOME}/conf
+fi
+else
+echo "HBASE_CONF_DIR is set to '$HBASE_CONF_DIR'";
+fi

http://git-wip-us.apache.org/repos/asf/phoenix/blob/e7ce8e81/bin/omid-server-configuration.yml
--
diff --git a/bin/omid-server-configuration.yml 
b/bin/omid-server-configuration.yml
new file mode 100644
index 000..8d1616e
--- /dev/null
+++ b/bin/omid-server-configuration.yml
@@ -0,0 +1,25 @@
+# 
=
+#
+# Omid TSO Server Configuration
+# 
-
+#
+# Tune here the default values for TSO server config parameters found in 
'default-omid-server-configuration.yml' file
+#
+# 
=
+
+
+timestampStoreModule: 

phoenix git commit: [PHOENIX-3623] Integrate Omid with Phoenix.

2018-12-20 Thread ohads
Repository: phoenix
Updated Branches:
  refs/heads/master 85ab5d616 -> 412e07891


[PHOENIX-3623] Integrate Omid with Phoenix.

This commit finishes the integration of Omid as Phoenix transaction processor 
engine.
More information regarding the integration exists at [PHOENIX-3623] and at 
[OMID-82], which is the corresponding jira in Omid.


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

Branch: refs/heads/master
Commit: 412e078915c6a0a4c0b8f86a1ae7f22520f41824
Parents: 85ab5d6
Author: Ohad Shacham 
Authored: Thu Dec 20 13:53:09 2018 +0200
Committer: Ohad Shacham 
Committed: Thu Dec 20 13:53:09 2018 +0200

--
 bin/omid-env.sh |  43 
 bin/omid-server-configuration.yml   |  25 +++
 bin/omid.sh |  93 
 phoenix-assembly/pom.xml|   5 +
 .../components/all-common-dependencies.xml  |  28 +++
 phoenix-core/pom.xml|  46 
 .../phoenix/coprocessor/OmidGCProcessor.java|   6 +-
 .../coprocessor/OmidTransactionalProcessor.java |   7 +-
 .../transaction/OmidTransactionContext.java | 217 ++-
 .../transaction/OmidTransactionProvider.java| 106 -
 .../transaction/OmidTransactionTable.java   |  60 -
 .../phoenix/transaction/TransactionFactory.java |   5 +-
 .../phoenix/query/QueryServicesTestImpl.java|   1 -
 pom.xml |   1 +
 14 files changed, 615 insertions(+), 28 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/412e0789/bin/omid-env.sh
--
diff --git a/bin/omid-env.sh b/bin/omid-env.sh
new file mode 100644
index 000..820cdaa
--- /dev/null
+++ b/bin/omid-env.sh
@@ -0,0 +1,43 @@
+#
+# 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.
+#
+
+# Set the flags to pass to the jvm when running omid
+# export JVM_FLAGS=-Xmx8096m
+# 
-
+# Check if HADOOP_CONF_DIR and HBASE_CONF_DIR are set
+# 
-
+export JVM_FLAGS=-Xmx4096m
+if [ -z ${HADOOP_CONF_DIR+x} ]; then
+if [ -z ${HADOOP_HOME+x} ]; then
+echo "WARNING: HADOOP_HOME or HADOOP_CONF_DIR are unset";
+else
+export HADOOP_CONF_DIR=${HADOOP_HOME}/conf
+fi
+else
+echo "HADOOP_CONF_DIR is set to '$HADOOP_CONF_DIR'";
+fi
+
+if [ -z ${HBASE_CONF_DIR+x} ]; then
+if [ -z ${HBASE_HOME+x} ]; then
+echo "WARNING: HBASE_HOME or HBASE_CONF_DIR are unset";
+else
+export HBASE_CONF_DIR=${HBASE_HOME}/conf
+fi
+else
+echo "HBASE_CONF_DIR is set to '$HBASE_CONF_DIR'";
+fi

http://git-wip-us.apache.org/repos/asf/phoenix/blob/412e0789/bin/omid-server-configuration.yml
--
diff --git a/bin/omid-server-configuration.yml 
b/bin/omid-server-configuration.yml
new file mode 100644
index 000..8d1616e
--- /dev/null
+++ b/bin/omid-server-configuration.yml
@@ -0,0 +1,25 @@
+# 
=
+#
+# Omid TSO Server Configuration
+# 
-
+#
+# Tune here the default values for TSO server config parameters found in 
'default-omid-server-configuration.yml' file
+#
+# 
=
+
+
+timestampStoreModule: 
!!org.apache.omid.timestamp.storage.HBaseTimestampStorageModule [ ]
+commitTableStoreModule: 

phoenix git commit: [PHOENIX-3623] Integrate Omid with Phoenix.

2018-12-20 Thread ohads
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-1.3 4975f0b12 -> 850114334


[PHOENIX-3623] Integrate Omid with Phoenix.

This commit finishes the integration of Omid as Phoenix transaction processor 
engine.
More information regarding the integration exists at [PHOENIX-3623] and at 
[OMID-82], which is the corresponding jira in Omid.


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

Branch: refs/heads/4.x-HBase-1.3
Commit: 8501143345b291765fcd489fbfba7d4b6be24e01
Parents: 4975f0b
Author: Ohad Shacham 
Authored: Thu Dec 20 13:47:38 2018 +0200
Committer: Ohad Shacham 
Committed: Thu Dec 20 13:47:38 2018 +0200

--
 bin/omid-env.sh |  43 
 bin/omid-server-configuration.yml   |  25 +++
 bin/omid.sh |  93 
 phoenix-assembly/pom.xml|   5 +
 .../components/all-common-dependencies.xml  |  28 +++
 phoenix-core/pom.xml|  46 
 .../phoenix/coprocessor/OmidGCProcessor.java|   6 +-
 .../coprocessor/OmidTransactionalProcessor.java |   7 +-
 .../transaction/OmidTransactionContext.java | 217 ++-
 .../transaction/OmidTransactionProvider.java| 106 -
 .../transaction/OmidTransactionTable.java   |  64 +-
 .../phoenix/transaction/TransactionFactory.java |   4 +-
 .../phoenix/query/QueryServicesTestImpl.java|   1 -
 .../java/org/apache/phoenix/util/TestUtil.java  |   2 +-
 phoenix-server/pom.xml  |   1 +
 pom.xml |  47 
 16 files changed, 665 insertions(+), 30 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/phoenix/blob/85011433/bin/omid-env.sh
--
diff --git a/bin/omid-env.sh b/bin/omid-env.sh
new file mode 100644
index 000..820cdaa
--- /dev/null
+++ b/bin/omid-env.sh
@@ -0,0 +1,43 @@
+#
+# 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.
+#
+
+# Set the flags to pass to the jvm when running omid
+# export JVM_FLAGS=-Xmx8096m
+# 
-
+# Check if HADOOP_CONF_DIR and HBASE_CONF_DIR are set
+# 
-
+export JVM_FLAGS=-Xmx4096m
+if [ -z ${HADOOP_CONF_DIR+x} ]; then
+if [ -z ${HADOOP_HOME+x} ]; then
+echo "WARNING: HADOOP_HOME or HADOOP_CONF_DIR are unset";
+else
+export HADOOP_CONF_DIR=${HADOOP_HOME}/conf
+fi
+else
+echo "HADOOP_CONF_DIR is set to '$HADOOP_CONF_DIR'";
+fi
+
+if [ -z ${HBASE_CONF_DIR+x} ]; then
+if [ -z ${HBASE_HOME+x} ]; then
+echo "WARNING: HBASE_HOME or HBASE_CONF_DIR are unset";
+else
+export HBASE_CONF_DIR=${HBASE_HOME}/conf
+fi
+else
+echo "HBASE_CONF_DIR is set to '$HBASE_CONF_DIR'";
+fi

http://git-wip-us.apache.org/repos/asf/phoenix/blob/85011433/bin/omid-server-configuration.yml
--
diff --git a/bin/omid-server-configuration.yml 
b/bin/omid-server-configuration.yml
new file mode 100644
index 000..8d1616e
--- /dev/null
+++ b/bin/omid-server-configuration.yml
@@ -0,0 +1,25 @@
+# 
=
+#
+# Omid TSO Server Configuration
+# 
-
+#
+# Tune here the default values for TSO server config parameters found in 
'default-omid-server-configuration.yml' file
+#
+# 
=
+
+
+timestampStoreModule: 

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

2018-12-20 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/jenkins1262305322475741789.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:34829932 kB
Filesystem  Size  Used Avail Use% Mounted on
udev 48G 0   48G   0% /dev
tmpfs   9.5G  514M  9.0G   6% /run
/dev/sda3   3.6T  232G  3.2T   7% /
tmpfs48G 0   48G   0% /dev/shm
tmpfs   5.0M 0  5.0M   0% /run/lock
tmpfs48G 0   48G   0% /sys/fs/cgroup
/dev/sda2   473M  146M  303M  33% /boot
/dev/loop1   28M   28M 0 100% /snap/snapcraft/1871
tmpfs   9.5G  4.0K  9.5G   1% /run/user/910
/dev/loop4   52M   52M 0 100% /snap/lxd/9600
/dev/loop5   89M   89M 0 100% /snap/core/5897
/dev/loop7   52M   52M 0 100% /snap/lxd/9664
tmpfs   9.5G 0  9.5G   0% /run/user/1000
/dev/loop2   28M   28M 0 100% /snap/snapcraft/2374
/dev/loop8   90M   90M 0 100% /snap/core/6034
/dev/loop9   52M   52M 0 100% /snap/lxd/9795
/dev/loop6   90M   90M 0 100% /snap/core/6130
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