Apache-Phoenix | master | HBase 2.1 | Build #34 SUCCESS
master branch HBase 2.1 build #34 status SUCCESS Build #34 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/34/
Apache-Phoenix | 4.x | HBase 1.6 | Build #26 FAILURE
4.x branch HBase 1.6 build #26 status FAILURE Build #26 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/4.x/26/
Apache-Phoenix | master | HBase 2.3 | Build #34 FAILURE
master branch HBase 2.3 build #34 status FAILURE Build #34 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/34/
[phoenix] branch 4.x updated: PHOENIX-6136 javax.servlet.UnavailableException thrown when using Spark connector
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch 4.x in repository https://gitbox.apache.org/repos/asf/phoenix.git The following commit(s) were added to refs/heads/4.x by this push: new 5085b47 PHOENIX-6136 javax.servlet.UnavailableException thrown when using Spark connector 5085b47 is described below commit 5085b47089e6cd46663ce9c8686015e1bb4f627a Author: Istvan Toth AuthorDate: Wed Sep 16 07:03:16 2020 +0200 PHOENIX-6136 javax.servlet.UnavailableException thrown when using Spark connector relocate Jersey libraries in phoenix-client.jar --- phoenix-client/pom.xml | 8 1 file changed, 8 insertions(+) diff --git a/phoenix-client/pom.xml b/phoenix-client/pom.xml index 7ce1a8c..c25fc0b 100644 --- a/phoenix-client/pom.xml +++ b/phoenix-client/pom.xml @@ -141,6 +141,10 @@ ${shaded.package}.com.sun.research + com.sun.jersey + ${shaded.package}.com.sun.jersey + + com.sun.activation ${shaded.package}.com.sun.activation @@ -177,6 +181,10 @@ ${shaded.package}.org.fusesource + org.glassfish.jersey + ${shaded.package}.org.glassfish.jersey + + org.hamcrest ${shaded.package}.org.hamcrest
[phoenix] branch master updated: PHOENIX-6136 javax.servlet.UnavailableException thrown when using Spark connector
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git The following commit(s) were added to refs/heads/master by this push: new 8c4830a PHOENIX-6136 javax.servlet.UnavailableException thrown when using Spark connector 8c4830a is described below commit 8c4830a22064e58907c5128c17e9ede88b712a80 Author: Istvan Toth AuthorDate: Wed Sep 16 07:03:16 2020 +0200 PHOENIX-6136 javax.servlet.UnavailableException thrown when using Spark connector relocate Jersey libraries in phoenix-client.jar --- phoenix-client/pom.xml | 8 1 file changed, 8 insertions(+) diff --git a/phoenix-client/pom.xml b/phoenix-client/pom.xml index 8f2820b..5070b7c 100644 --- a/phoenix-client/pom.xml +++ b/phoenix-client/pom.xml @@ -152,6 +152,10 @@ ${shaded.package}.com.sun.research + com.sun.jersey + ${shaded.package}.com.sun.jersey + + com.sun.activation ${shaded.package}.com.sun.activation @@ -188,6 +192,10 @@ ${shaded.package}.org.fusesource + org.glassfish.jersey + ${shaded.package}.org.glassfish.jersey + + org.hamcrest ${shaded.package}.org.hamcrest
Apache-Phoenix | 4.x | HBase 1.4 | Build #25 ABORTED
4.x branch HBase 1.4 build #25 status ABORTED Build #25 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/4.x/25/
Apache-Phoenix | 4.x | HBase 1.3 | Build #25 ABORTED
4.x branch HBase 1.3 build #25 status ABORTED Build #25 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/4.x/25/
Apache-Phoenix | master | HBase 2.2 | Build #33 FAILURE
master branch HBase 2.2 build #33 status FAILURE Build #33 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/33/
Apache-Phoenix | 4.x | HBase 1.6 | Build #25 FAILURE
4.x branch HBase 1.6 build #25 status FAILURE Build #25 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/4.x/25/
Apache-Phoenix | master | HBase 2.3 | Build #33 FAILURE
master branch HBase 2.3 build #33 status FAILURE Build #33 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/33/
Apache-Phoenix | master | HBase 2.1 | Build #33 FAILURE
master branch HBase 2.1 build #33 status FAILURE Build #33 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/33/
[phoenix] branch 4.x updated: PHOENIX-6072: SYSTEM.MUTEX not created with a TTL on a fresh cluster connected to by a 4.15+ client
This is an automated email from the ASF dual-hosted git repository. chinmayskulkarni pushed a commit to branch 4.x in repository https://gitbox.apache.org/repos/asf/phoenix.git The following commit(s) were added to refs/heads/4.x by this push: new 71f8af0 PHOENIX-6072: SYSTEM.MUTEX not created with a TTL on a fresh cluster connected to by a 4.15+ client 71f8af0 is described below commit 71f8af07d50c49d0f681c4f2353d94cbd57166ea Author: Chinmay Kulkarni AuthorDate: Tue Sep 15 20:15:10 2020 -0700 PHOENIX-6072: SYSTEM.MUTEX not created with a TTL on a fresh cluster connected to by a 4.15+ client --- ...ava => SystemTablesCreationOnConnectionIT.java} | 515 - .../phoenix/jdbc/PhoenixDatabaseMetaData.java | 1 + .../phoenix/query/ConnectionQueryServicesImpl.java | 67 ++- .../query/ConnectionlessQueryServicesImpl.java | 2 +- .../org/apache/phoenix/query/QueryConstants.java | 392 ++-- .../query/ConnectionQueryServicesImplTest.java | 98 +++- 6 files changed, 694 insertions(+), 381 deletions(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogCreationOnConnectionIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesCreationOnConnectionIT.java similarity index 55% rename from phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogCreationOnConnectionIT.java rename to phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesCreationOnConnectionIT.java index d42ea28..f70e005 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogCreationOnConnectionIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesCreationOnConnectionIT.java @@ -18,6 +18,9 @@ package org.apache.phoenix.end2end; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_SCHEMA; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_MUTEX_FAMILY_NAME_BYTES; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_MUTEX_HBASE_TABLE_NAME; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.TTL_FOR_MUTEX; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @@ -29,6 +32,7 @@ import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; +import java.sql.Statement; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; @@ -39,10 +43,12 @@ import java.util.concurrent.TimeoutException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseTestingUtility; +import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.NamespaceNotFoundException; import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.client.HBaseAdmin; import org.apache.phoenix.coprocessor.MetaDataProtocol; import org.apache.phoenix.exception.SQLExceptionCode; import org.apache.phoenix.exception.UpgradeRequiredException; @@ -63,13 +69,13 @@ import org.junit.Test; import org.junit.experimental.categories.Category; @Category(NeedsOwnMiniClusterTest.class) -public class SystemCatalogCreationOnConnectionIT { +public class SystemTablesCreationOnConnectionIT { private HBaseTestingUtility testUtil = null; private Set hbaseTables; private static boolean setOldTimestampToInduceUpgrade = false; private static int countUpgradeAttempts; -// This flag is used to figure out if the SYSCAT schema was actually upgraded or not, based on the timestamp of SYSCAT -// (different from an upgrade attempt) +// This flag is used to figure out if the SYSCAT schema was actually upgraded or not, based on +// the timestamp of SYSCAT (different from an upgrade attempt) private static int actualSysCatUpgrades; private static final String PHOENIX_NAMESPACE_MAPPED_SYSTEM_CATALOG = "SYSTEM:CATALOG"; private static final String PHOENIX_SYSTEM_CATALOG = "SYSTEM.CATALOG"; @@ -79,8 +85,9 @@ public class SystemCatalogCreationOnConnectionIT { + " (k1 VARCHAR NOT NULL, k2 VARCHAR, CONSTRAINT PK PRIMARY KEY(K1,K2))"; private static final String SELECT_STMT = "SELECT * FROM %s"; private static final String DELETE_STMT = "DELETE FROM %s"; -private static final String CREATE_INDEX_STMT = "CREATE INDEX DUMMY_IDX ON %s (K1) INCLUDE (K2)"; +private static final String CREATE_INDEX_STMT = "CREATE INDEX DUMMYIDX ON %s (K1) INCLUDE (K2)"; private static final String UPSERT_STMT = "UPSERT INTO %s VALUES ('A', 'B')"; +private static final String QUERY_SYSTEM_CATALOG = "SELECT * FROM SYSTEM.CATALOG LIMIT 1"; private static final Set PHOENIX_SYSTEM_TABLES = new HashSet<>(Arrays.asList( "SYSTEM.CATALOG", "SYSTEM.SEQUENCE", "SYSTEM.STATS", "SYSTEM.FUNCT
[phoenix] branch master updated: PHOENIX-6072: SYSTEM.MUTEX not created with a TTL on a fresh cluster connected to by a 4.15+ client
This is an automated email from the ASF dual-hosted git repository. chinmayskulkarni pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git The following commit(s) were added to refs/heads/master by this push: new 740ce13 PHOENIX-6072: SYSTEM.MUTEX not created with a TTL on a fresh cluster connected to by a 4.15+ client 740ce13 is described below commit 740ce13210cf6d876abfde52a58e10fa407b5018 Author: Chinmay Kulkarni AuthorDate: Mon Sep 14 21:43:33 2020 -0700 PHOENIX-6072: SYSTEM.MUTEX not created with a TTL on a fresh cluster connected to by a 4.15+ client --- ...ava => SystemTablesCreationOnConnectionIT.java} | 515 - .../phoenix/jdbc/PhoenixDatabaseMetaData.java | 1 + .../phoenix/query/ConnectionQueryServicesImpl.java | 76 ++- .../query/ConnectionlessQueryServicesImpl.java | 2 +- .../org/apache/phoenix/query/QueryConstants.java | 382 +-- .../query/ConnectionQueryServicesImplTest.java | 101 +++- 6 files changed, 698 insertions(+), 379 deletions(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogCreationOnConnectionIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesCreationOnConnectionIT.java similarity index 55% rename from phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogCreationOnConnectionIT.java rename to phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesCreationOnConnectionIT.java index de047a3..627d7b2 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemCatalogCreationOnConnectionIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SystemTablesCreationOnConnectionIT.java @@ -18,6 +18,9 @@ package org.apache.phoenix.end2end; import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_SCHEMA; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_MUTEX_FAMILY_NAME_BYTES; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_MUTEX_HBASE_TABLE_NAME; +import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.TTL_FOR_MUTEX; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @@ -29,6 +32,7 @@ import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.SQLException; +import java.sql.Statement; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; @@ -39,10 +43,12 @@ import java.util.concurrent.TimeoutException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.HBaseTestingUtility; +import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HConstants; import org.apache.hadoop.hbase.HTableDescriptor; import org.apache.hadoop.hbase.NamespaceNotFoundException; import org.apache.hadoop.hbase.TableName; +import org.apache.hadoop.hbase.client.HBaseAdmin; import org.apache.phoenix.coprocessor.MetaDataProtocol; import org.apache.phoenix.exception.SQLExceptionCode; import org.apache.phoenix.exception.UpgradeRequiredException; @@ -63,13 +69,13 @@ import org.junit.Test; import org.junit.experimental.categories.Category; @Category(NeedsOwnMiniClusterTest.class) -public class SystemCatalogCreationOnConnectionIT { +public class SystemTablesCreationOnConnectionIT { private HBaseTestingUtility testUtil = null; private Set hbaseTables; private static boolean setOldTimestampToInduceUpgrade = false; private static int countUpgradeAttempts; -// This flag is used to figure out if the SYSCAT schema was actually upgraded or not, based on the timestamp of SYSCAT -// (different from an upgrade attempt) +// This flag is used to figure out if the SYSCAT schema was actually upgraded or not, based on +// the timestamp of SYSCAT (different from an upgrade attempt) private static int actualSysCatUpgrades; private static final String PHOENIX_NAMESPACE_MAPPED_SYSTEM_CATALOG = "SYSTEM:CATALOG"; private static final String PHOENIX_SYSTEM_CATALOG = "SYSTEM.CATALOG"; @@ -79,8 +85,9 @@ public class SystemCatalogCreationOnConnectionIT { + " (k1 VARCHAR NOT NULL, k2 VARCHAR, CONSTRAINT PK PRIMARY KEY(K1,K2))"; private static final String SELECT_STMT = "SELECT * FROM %s"; private static final String DELETE_STMT = "DELETE FROM %s"; -private static final String CREATE_INDEX_STMT = "CREATE INDEX DUMMY_IDX ON %s (K1) INCLUDE (K2)"; +private static final String CREATE_INDEX_STMT = "CREATE INDEX DUMMYIDX ON %s (K1) INCLUDE (K2)"; private static final String UPSERT_STMT = "UPSERT INTO %s VALUES ('A', 'B')"; +private static final String QUERY_SYSTEM_CATALOG = "SELECT * FROM SYSTEM.CATALOG LIMIT 1"; private static final Set PHOENIX_SYSTEM_TABLES = new HashSet<>(Arrays.asList( "SYSTEM.CATALOG", "SYSTEM.SEQUENCE", "SYSTEM.STATS", "SYSTEM.
Apache-Phoenix | master | HBase 2.2 | Build #32 FAILURE
master branch HBase 2.2 build #32 status FAILURE Build #32 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/32/
Apache-Phoenix | master | HBase 2.1 | Build #32 SUCCESS
master branch HBase 2.1 build #32 status SUCCESS Build #32 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/32/
Apache-Phoenix | master | HBase 2.3 | Build #32 FAILURE
master branch HBase 2.3 build #32 status FAILURE Build #32 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/32/
Apache-Phoenix | master | HBase 2.2 | Build #31 FAILURE
master branch HBase 2.2 build #31 status FAILURE Build #31 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/31/
[phoenix] branch master updated: PHOENIX-6138 commons-lang in IndexScrutinyTool break dependency:analyze
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/phoenix.git The following commit(s) were added to refs/heads/master by this push: new 2cad5cd PHOENIX-6138 commons-lang in IndexScrutinyTool break dependency:analyze 2cad5cd is described below commit 2cad5cd03e7c838f7e875c1ca9ed9bacfec7043b Author: Istvan Toth AuthorDate: Wed Sep 16 08:09:44 2020 +0200 PHOENIX-6138 commons-lang in IndexScrutinyTool break dependency:analyze --- .../main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java index 5402303..61f1930 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/mapreduce/index/IndexScrutinyTool.java @@ -31,7 +31,7 @@ import org.apache.commons.cli.HelpFormatter; import org.apache.commons.cli.Option; import org.apache.commons.cli.Options; import org.apache.commons.cli.ParseException; -import org.apache.commons.lang.exception.ExceptionUtils; +import org.apache.commons.lang3.exception.ExceptionUtils; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configured; import org.apache.hadoop.fs.FileSystem;
Apache-Phoenix | master | HBase 2.3 | Build #31 FAILURE
master branch HBase 2.3 build #31 status FAILURE Build #31 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/31/
Apache-Phoenix | master | HBase 2.1 | Build #31 FAILURE
master branch HBase 2.1 build #31 status FAILURE Build #31 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/31/