Apache-Phoenix | 4.x | HBase 1.4 | Build #123 FAILURE
4.x branch HBase 1.4 build #123 status FAILURE Build #123 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/4.x/123/
Apache-Phoenix | 4.x | HBase 1.6 | Build #123 FAILURE
4.x branch HBase 1.6 build #123 status FAILURE Build #123 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/4.x/123/
Apache-Phoenix | 4.x | HBase 1.3 | Build #123 FAILURE
4.x branch HBase 1.3 build #123 status FAILURE Build #123 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/4.x/123/
Apache-Phoenix | master | HBase 2.3 | Build #129 FAILURE
master branch HBase 2.3 build #129 status FAILURE Build #129 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/129/
Apache-Phoenix | master | HBase 2.1 | Build #129 FAILURE
master branch HBase 2.1 build #129 status FAILURE Build #129 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/129/
[phoenix] branch 4.x updated: PHOENIX-5960 : Creating view on non-existent table should throw TNFE
This is an automated email from the ASF dual-hosted git repository. yanxinyi 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 277b6fd PHOENIX-5960 : Creating view on non-existent table should throw TNFE 277b6fd is described below commit 277b6fdbaa34066cad6362eaec08bf8adb058168 Author: Viraj Jasani AuthorDate: Wed Nov 25 17:18:18 2020 +0530 PHOENIX-5960 : Creating view on non-existent table should throw TNFE Signed-off-by: Xinyi Yan --- .../org/apache/phoenix/end2end/CreateTableIT.java | 34 +++ .../phoenix/compile/CreateTableCompiler.java | 68 -- 2 files changed, 83 insertions(+), 19 deletions(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java index 51d1c31..1739e3a 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java @@ -59,6 +59,7 @@ import org.apache.phoenix.schema.PTableKey; import org.apache.phoenix.schema.PTableType; import org.apache.phoenix.schema.SchemaNotFoundException; import org.apache.phoenix.schema.TableAlreadyExistsException; +import org.apache.phoenix.schema.TableNotFoundException; import org.apache.phoenix.util.EnvironmentEdgeManager; import org.apache.phoenix.util.PhoenixRuntime; import org.apache.phoenix.util.PropertiesUtil; @@ -801,6 +802,39 @@ public class CreateTableIT extends ParallelStatsDisabledIT { } @Test +public void testCreateViewFromNonExistentTable() throws Exception { +try (Connection conn = DriverManager.getConnection(getUrl())) { +conn.createStatement().execute( +"CREATE TABLE IF NOT EXISTS S.T1 (A INTEGER PRIMARY KEY, B INTEGER)"); +// 1. create view from non-existent table (without schema) +try { +conn.createStatement().execute( +"CREATE VIEW IF NOT EXISTS V1(C INTEGER) AS SELECT * FROM T2"); +fail("Creating view on non-existent table should have failed"); +} catch (TableNotFoundException e) { +assertEquals("T2", e.getTableName()); +assertEquals("", e.getSchemaName()); +assertEquals("ERROR 1012 (42M03): Table undefined. tableName=T2", +e.getMessage()); +} +// 2. create view from existing table - successful +conn.createStatement().execute( +"CREATE VIEW IF NOT EXISTS V1(C INTEGER) AS SELECT * FROM S.T1"); +// 3. create view from non-existent table (with schema) +try { +conn.createStatement().execute( +"CREATE VIEW IF NOT EXISTS V2(C INTEGER) AS SELECT * FROM S.T2"); +fail("Creating view on non-existent table should have failed"); +} catch (TableNotFoundException e) { +assertEquals("T2", e.getTableName()); +assertEquals("S", e.getSchemaName()); +assertEquals("ERROR 1012 (42M03): Table undefined. tableName=S.T2", +e.getMessage()); +} +} +} + +@Test public void testSettingGuidePostWidth() throws Exception { try (Connection conn = DriverManager.getConnection(getUrl())) { String dataTable = generateUniqueName(); diff --git a/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java b/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java index 1c9e523..0fe5b64 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java @@ -24,6 +24,7 @@ import java.util.Collections; import java.util.Iterator; import java.util.List; +import com.google.common.collect.Iterators; import org.apache.hadoop.hbase.client.Scan; import org.apache.hadoop.hbase.filter.CompareFilter.CompareOp; import org.apache.hadoop.hbase.io.ImmutableBytesWritable; @@ -56,6 +57,7 @@ import org.apache.phoenix.query.QueryConstants; import org.apache.phoenix.schema.ColumnRef; import org.apache.phoenix.schema.MetaDataClient; import org.apache.phoenix.schema.PDatum; +import org.apache.phoenix.schema.PName; import org.apache.phoenix.schema.PTable; import org.apache.phoenix.schema.PTable.ViewType; import org.apache.phoenix.schema.PTableType; @@ -67,7 +69,7 @@ import org.apache.phoenix.util.ByteUtil; import org.apache.phoenix.util.MetaDataUtil; import org.apache.phoenix.util.QueryUtil; -import com.google.common.collect.Iterators; +import org.apache.phoenix.util.SchemaUtil; public class CreateTableCompiler { @@ -164,23 +166,10 @@ public class CreateTableCompiler {
[phoenix] branch master updated: PHOENIX-5960 : Creating view on non-existent table should throw TNFE
This is an automated email from the ASF dual-hosted git repository. yanxinyi 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 3860636 PHOENIX-5960 : Creating view on non-existent table should throw TNFE 3860636 is described below commit 3860636afc567ed955d11b3eec7748db5c675574 Author: Viraj Jasani AuthorDate: Wed Nov 25 17:18:18 2020 +0530 PHOENIX-5960 : Creating view on non-existent table should throw TNFE Signed-off-by: Xinyi Yan --- .../org/apache/phoenix/end2end/CreateTableIT.java | 34 +++ .../phoenix/compile/CreateTableCompiler.java | 68 -- 2 files changed, 83 insertions(+), 19 deletions(-) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java index 2dbdf65..aa2ccf0 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/CreateTableIT.java @@ -60,6 +60,7 @@ import org.apache.phoenix.schema.PTableKey; import org.apache.phoenix.schema.PTableType; import org.apache.phoenix.schema.SchemaNotFoundException; import org.apache.phoenix.schema.TableAlreadyExistsException; +import org.apache.phoenix.schema.TableNotFoundException; import org.apache.phoenix.util.EnvironmentEdgeManager; import org.apache.phoenix.util.PhoenixRuntime; import org.apache.phoenix.util.PropertiesUtil; @@ -802,6 +803,39 @@ public class CreateTableIT extends ParallelStatsDisabledIT { } @Test +public void testCreateViewFromNonExistentTable() throws Exception { +try (Connection conn = DriverManager.getConnection(getUrl())) { +conn.createStatement().execute( +"CREATE TABLE IF NOT EXISTS S.T1 (A INTEGER PRIMARY KEY, B INTEGER)"); +// 1. create view from non-existent table (without schema) +try { +conn.createStatement().execute( +"CREATE VIEW IF NOT EXISTS V1(C INTEGER) AS SELECT * FROM T2"); +fail("Creating view on non-existent table should have failed"); +} catch (TableNotFoundException e) { +assertEquals("T2", e.getTableName()); +assertEquals("", e.getSchemaName()); +assertEquals("ERROR 1012 (42M03): Table undefined. tableName=T2", +e.getMessage()); +} +// 2. create view from existing table - successful +conn.createStatement().execute( +"CREATE VIEW IF NOT EXISTS V1(C INTEGER) AS SELECT * FROM S.T1"); +// 3. create view from non-existent table (with schema) +try { +conn.createStatement().execute( +"CREATE VIEW IF NOT EXISTS V2(C INTEGER) AS SELECT * FROM S.T2"); +fail("Creating view on non-existent table should have failed"); +} catch (TableNotFoundException e) { +assertEquals("T2", e.getTableName()); +assertEquals("S", e.getSchemaName()); +assertEquals("ERROR 1012 (42M03): Table undefined. tableName=S.T2", +e.getMessage()); +} +} +} + +@Test public void testSettingGuidePostWidth() throws Exception { try (Connection conn = DriverManager.getConnection(getUrl())) { String dataTable = generateUniqueName(); diff --git a/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java b/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java index 8e4e575..111fcc2 100644 --- a/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java +++ b/phoenix-core/src/main/java/org/apache/phoenix/compile/CreateTableCompiler.java @@ -56,6 +56,7 @@ import org.apache.phoenix.query.QueryConstants; import org.apache.phoenix.schema.ColumnRef; import org.apache.phoenix.schema.MetaDataClient; import org.apache.phoenix.schema.PDatum; +import org.apache.phoenix.schema.PName; import org.apache.phoenix.schema.PTable; import org.apache.phoenix.schema.PTable.ViewType; import org.apache.phoenix.schema.PTableType; @@ -63,11 +64,11 @@ import org.apache.phoenix.schema.SortOrder; import org.apache.phoenix.schema.TableRef; import org.apache.phoenix.schema.types.PDataType; import org.apache.phoenix.schema.types.PVarbinary; +import org.apache.phoenix.thirdparty.com.google.common.collect.Iterators; import org.apache.phoenix.util.ByteUtil; import org.apache.phoenix.util.MetaDataUtil; import org.apache.phoenix.util.QueryUtil; - -import org.apache.phoenix.thirdparty.com.google.common.collect.Iterators; +import org.apache.phoenix.util.SchemaUtil; public class CreateTableCompiler { @@ -164,22 +165,10 @@ public class CreateTableCompiler { }
svn commit: r44755 - in /dev/phoenix: phoenix-tephra-0.16.0RC2/ phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/
Author: stoty Date: Mon Nov 30 13:12:17 2020 New Revision: 44755 Log: fix RC dir name Added: dev/phoenix/phoenix-tephra-0.16.0RC2/ - copied from r44754, dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/ Removed: dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/
[phoenix-tephra] tag 0.16.0RC2 created (now b3dc67e)
This is an automated email from the ASF dual-hosted git repository. stoty pushed a change to tag 0.16.0RC2 in repository https://gitbox.apache.org/repos/asf/phoenix-tephra.git. at b3dc67e (commit) No new revisions were added by this update.
svn commit: r44754 - in /dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99: ./ CHANGES.md RELEASENOTES.md phoenix-tephra-0.16.0-src.tar.gz phoenix-tephra-0.16.0-src.tar.gz.asc phoeni
Author: stoty Date: Mon Nov 30 13:04:38 2020 New Revision: 44754 Log: Apache phoenix-tephra b3dc67e28e89ab53408b33c803b2c8fb7868ba99 Added: dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/ dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/CHANGES.md dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/RELEASENOTES.md dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/phoenix-tephra-0.16.0-src.tar.gz (with props) dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/phoenix-tephra-0.16.0-src.tar.gz.asc dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/phoenix-tephra-0.16.0-src.tar.gz.sha512 Added: dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/CHANGES.md == --- dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/CHANGES.md (added) +++ dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/CHANGES.md Mon Nov 30 13:04:38 2020 @@ -0,0 +1,55 @@ + + +# TEPHRA Changelog + +## Release 0.16.0 - Unreleased (as of 2020-11-16) + + + +### NEW FEATURES: + +| JIRA | Summary | Priority | Component | +|: |: | :--- |: | +| [TEPHRA-301](https://issues.apache.org/jira/browse/TEPHRA-301) | Support HBase 1.5.x | Major | . | +| [TEPHRA-309](https://issues.apache.org/jira/browse/TEPHRA-309) | Add HBase 1.6 compatibility | Blocker | . | +| [TEPHRA-307](https://issues.apache.org/jira/browse/TEPHRA-307) | Support Hbase 2.3 | Major | . | +| [TEPHRA-305](https://issues.apache.org/jira/browse/TEPHRA-305) | Support HBase 2.1 and 2.2 | Blocker | . | + + +### IMPROVEMENTS: + +| JIRA | Summary | Priority | Component | +|: |: | :--- |: | +| [TEPHRA-314](https://issues.apache.org/jira/browse/TEPHRA-314) | Clean up lib dir in distribution assembly | Major | . | +| [TEPHRA-310](https://issues.apache.org/jira/browse/TEPHRA-310) | Add OWASP dependency check, and update the flagged direct dependencies | Major | . | +| [TEPHRA-308](https://issues.apache.org/jira/browse/TEPHRA-308) | create artifact with shaded Guava and Twill in Tephra | Major | . | +| [TEPHRA-304](https://issues.apache.org/jira/browse/TEPHRA-304) | Remove Support for Java 7 | Major | . | + + +### BUG FIXES: + +| JIRA | Summary | Priority | Component | +|: |: | :--- |: | +| [TEPHRA-302](https://issues.apache.org/jira/browse/TEPHRA-302) | Add tests and examples for HBase 1.5.x | Blocker | . | +| [TEPHRA-312](https://issues.apache.org/jira/browse/TEPHRA-312) | Revert TEPHRA-304 | Blocker | core | +| [TEPHRA-303](https://issues.apache.org/jira/browse/TEPHRA-303) | HBase 1.1 tests don't compile | Major | . | +| [TEPHRA-299](https://issues.apache.org/jira/browse/TEPHRA-299) | Executing a large batch delete is very slow | Major | . | +| [TEPHRA-300](https://issues.apache.org/jira/browse/TEPHRA-300) | Tephra coprocessors do not close passed scanner | Major | . | + + Added: dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/RELEASENOTES.md == --- dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/RELEASENOTES.md (added) +++ dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/RELEASENOTES.md Mon Nov 30 13:04:38 2020 @@ -0,0 +1,24 @@ + + +# TEPHRA 0.16.0 Release Notes + +These release notes cover new developer and user-facing incompatibilities, important issues, features, and major improvements. + + + Added: dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/phoenix-tephra-0.16.0-src.tar.gz == Binary file - no diff available. Propchange: dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/phoenix-tephra-0.16.0-src.tar.gz -- svn:mime-type = application/octet-stream Added: dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/phoenix-tephra-0.16.0-src.tar.gz.asc == --- dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/phoenix-tephra-0.16.0-src.tar.gz.asc (added) +++ dev/phoenix/phoenix-tephra-b3dc67e28e89ab53408b33c803b2c8fb7868ba99/phoenix-tephra-0.16.0-src.tar.gz.asc Mon Nov 30 13:04:38 2020 @@ -0,0 +1,11 @@ +-BEGIN PGP SIGNATURE- + +iQEzBAABCgAdFiEEglIDpwQFvIOuz199lzUcG3lEM8cFAl/E7eEACgkQlzUcG3lE +M8fP7gf+JlFNTT2qmK1rQXK0JmzYFvo5A66ojOJAj8EDRbsZIthT3iZ2USlUwJfD +Bh+Pv9Mu29NdDSf9+J42WGe0Ybwp5PD16vxY/Tolhc/YAyU8QfVaAOoY+z5ABWlf +KnWRZyA+YOdVZiO9O7/nmBANQx7NSuK6uk2fcUXUMxkyQ3ym6prnEIpi6ar7oiK8 +2VvnsnEWIerZBuUo9BaVV8sgHfPmsTgsyOFavdV0Klmyw1c65y0UsOZlp64yW8pi +Lb1eAXAUnUPMPM9I7MN3cNCRJoehGsMO3e65fSCKTOlU02BryDfKXDI5n49tRrfL
[phoenix-tephra] branch release/0.16.0 updated: TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config)
This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch release/0.16.0 in repository https://gitbox.apache.org/repos/asf/phoenix-tephra.git The following commit(s) were added to refs/heads/release/0.16.0 by this push: new b3dc67e TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config) b3dc67e is described below commit b3dc67e28e89ab53408b33c803b2c8fb7868ba99 Author: Istvan Toth AuthorDate: Mon Nov 30 10:33:35 2020 +0100 TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config) --- pom.xml| 34 +- tephra-core-shaded/pom.xml | 7 +++ 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index f923fe6..9b0143c 100644 --- a/pom.xml +++ b/pom.xml @@ -449,6 +449,23 @@ org.apache.rat apache-rat-plugin + + + build-number.txt + README.rst + RELEASING.rst + **/target/** + **/.git/** + .gitignore + **/.idea/** + **/*.iml + **/.project + **/.classpath + **/.settings/** + licenses/** + **/NOTICE_BINARY + + rat-check @@ -456,23 +473,6 @@ check - - - build-number.txt - README.rst - RELEASING.rst - **/target/** - **/.git/** - .gitignore - **/.idea/** - **/*.iml - **/.project - **/.classpath - **/.settings/** - licenses/** - **/NOTICE_BINARY - - diff --git a/tephra-core-shaded/pom.xml b/tephra-core-shaded/pom.xml index bce3921..ff48a7e 100644 --- a/tephra-core-shaded/pom.xml +++ b/tephra-core-shaded/pom.xml @@ -98,6 +98,13 @@ + +org.apache.rat +apache-rat-plugin + + true + +
[phoenix-tephra] branch master updated: TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config)
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-tephra.git The following commit(s) were added to refs/heads/master by this push: new fb2270a TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config) fb2270a is described below commit fb2270a3fa8d2e40cda075bce94d09ea56802c49 Author: Istvan Toth AuthorDate: Mon Nov 30 10:33:35 2020 +0100 TEPHRA-315 tephra-example maven setup is broken (addendum: fix apache-rat-plugin config) --- pom.xml| 34 +- tephra-core-shaded/pom.xml | 7 +++ 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/pom.xml b/pom.xml index 33741bd..15cd7b9 100644 --- a/pom.xml +++ b/pom.xml @@ -449,6 +449,23 @@ org.apache.rat apache-rat-plugin + + + build-number.txt + README.rst + RELEASING.rst + **/target/** + **/.git/** + .gitignore + **/.idea/** + **/*.iml + **/.project + **/.classpath + **/.settings/** + licenses/** + **/NOTICE_BINARY + + rat-check @@ -456,23 +473,6 @@ check - - - build-number.txt - README.rst - RELEASING.rst - **/target/** - **/.git/** - .gitignore - **/.idea/** - **/*.iml - **/.project - **/.classpath - **/.settings/** - licenses/** - **/NOTICE_BINARY - - diff --git a/tephra-core-shaded/pom.xml b/tephra-core-shaded/pom.xml index 473cde8..a8eeab7 100644 --- a/tephra-core-shaded/pom.xml +++ b/tephra-core-shaded/pom.xml @@ -98,6 +98,13 @@ + +org.apache.rat +apache-rat-plugin + + true + +