phoenix git commit: PHOENIX-1300 Allow sub-queries to choose different execution path other than hash-join
Repository: phoenix Updated Branches: refs/heads/4.0 20fed1fb7 - 022c38483 PHOENIX-1300 Allow sub-queries to choose different execution path other than hash-join Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/022c3848 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/022c3848 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/022c3848 Branch: refs/heads/4.0 Commit: 022c38483db2ffd244aeb5334bf9cfc230a6a6dc Parents: 20fed1f Author: maryannxue maryann...@apache.org Authored: Fri Dec 12 11:40:20 2014 -0500 Committer: maryannxue maryann...@apache.org Committed: Fri Dec 12 11:40:20 2014 -0500 -- .../end2end/SubqueryUsingSortMergeJoinIT.java | 903 +++ .../apache/phoenix/compile/QueryCompiler.java | 2 +- .../phoenix/execute/SortMergeJoinPlan.java | 12 +- 3 files changed, 914 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/022c3848/phoenix-core/src/it/java/org/apache/phoenix/end2end/SubqueryUsingSortMergeJoinIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SubqueryUsingSortMergeJoinIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SubqueryUsingSortMergeJoinIT.java new file mode 100644 index 000..a2b03bb --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SubqueryUsingSortMergeJoinIT.java @@ -0,0 +1,903 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * License); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.phoenix.end2end; + +import static org.apache.phoenix.util.TestUtil.JOIN_COITEM_TABLE_DISPLAY_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_COITEM_TABLE_FULL_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_CUSTOMER_TABLE_DISPLAY_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_CUSTOMER_TABLE_FULL_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_ITEM_TABLE_DISPLAY_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_ITEM_TABLE_FULL_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_ORDER_TABLE_DISPLAY_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_ORDER_TABLE_FULL_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_SCHEMA; +import static org.apache.phoenix.util.TestUtil.JOIN_SUPPLIER_TABLE_DISPLAY_NAME; +import static org.apache.phoenix.util.TestUtil.JOIN_SUPPLIER_TABLE_FULL_NAME; +import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES; +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertTrue; +import static org.junit.Assert.fail; + +import java.sql.Connection; +import java.sql.Date; +import java.sql.DriverManager; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Timestamp; +import java.text.SimpleDateFormat; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Properties; +import java.util.regex.Pattern; + +import org.apache.phoenix.query.QueryServices; +import org.apache.phoenix.schema.TableAlreadyExistsException; +import org.apache.phoenix.util.MetaDataUtil; +import org.apache.phoenix.util.PropertiesUtil; +import org.apache.phoenix.util.QueryUtil; +import org.apache.phoenix.util.ReadOnlyProps; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.Parameterized; +import org.junit.runners.Parameterized.Parameters; + +import com.google.common.collect.Lists; +import com.google.common.collect.Maps; + +@RunWith(Parameterized.class) +public class SubqueryUsingSortMergeJoinIT extends BaseHBaseManagedTimeIT { + +private SimpleDateFormat format = new SimpleDateFormat(-MM-dd HH:mm:ss); +private String[] indexDDL; +private String[] plans; + +public SubqueryUsingSortMergeJoinIT(String[] indexDDL, String[] plans) { +this.indexDDL = indexDDL; +this.plans = plans; +} + +
Apache-Phoenix | Master | Build Successful
Master branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/phoenix.git Last Successful Compiled Artifacts https://builds.apache.org/job/Phoenix-master/lastSuccessfulBuild/artifact/ Last Complete Test Report https://builds.apache.org/job/Phoenix-master/lastCompletedBuild/testReport/ Changes [maryannxue] PHOENIX-1300 Allow sub-queries to choose different execution path other than hash-join
Apache-Phoenix | 4.0 | Build Successful
4.0 branch build status Successful Source repository https://git-wip-us.apache.org/repos/asf/incubator-phoenix.git Compiled Artifacts https://builds.apache.org/job/Phoenix-4.0/lastSuccessfulBuild/artifact/ Test Report https://builds.apache.org/job/Phoenix-4.0/lastCompletedBuild/testReport/ Changes [maryannxue] PHOENIX-1300 Allow sub-queries to choose different execution path other than hash-join
[2/2] phoenix git commit: PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates)
PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/a6b1d385 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/a6b1d385 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/a6b1d385 Branch: refs/heads/4.0 Commit: a6b1d385ae30fae0ef98aa01829e16b9d900aaf6 Parents: 022c384 Author: Andrew Purtell apurt...@apache.org Authored: Fri Dec 12 16:33:15 2014 -0800 Committer: Andrew Purtell apurt...@apache.org Committed: Fri Dec 12 16:39:32 2014 -0800 -- .../end2end/QueryDatabaseMetaDataIT.java| 11 +- .../end2end/QueryDatabaseMetaDataIT.java.orig | 1120 ++ 2 files changed, 1127 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/a6b1d385/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java index 88a0447..ebea20a 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java @@ -35,6 +35,7 @@ import static org.apache.phoenix.util.TestUtil.TABLE_WITH_SALTING; import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; @@ -52,6 +53,7 @@ import java.util.Properties; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; +import org.apache.hadoop.hbase.KeepDeletedCells; import org.apache.hadoop.hbase.client.Delete; import org.apache.hadoop.hbase.client.HBaseAdmin; import org.apache.hadoop.hbase.client.HTableInterface; @@ -607,16 +609,17 @@ public class QueryDatabaseMetaDataIT extends BaseClientManagedTimeIT { descriptor = admin.getTableDescriptor(htableName); assertEquals(3,descriptor.getColumnFamilies().length); HColumnDescriptor cdA = descriptor.getFamily(cfA); -assertTrue(cdA.getKeepDeletedCells()); +assertNotEquals(HColumnDescriptor.DEFAULT_KEEP_DELETED, cdA.getKeepDeletedCells()); assertEquals(DataBlockEncoding.NONE, cdA.getDataBlockEncoding()); // Overriden using WITH assertEquals(1,cdA.getMaxVersions());// Overriden using WITH HColumnDescriptor cdB = descriptor.getFamily(cfB); -assertFalse(cdB.getKeepDeletedCells()); // Allow KEEP_DELETED_CELLS to be false for VEIW +// Allow KEEP_DELETED_CELLS to be false for VIEW +assertEquals(HColumnDescriptor.DEFAULT_KEEP_DELETED, cdA.getKeepDeletedCells()); assertEquals(DataBlockEncoding.NONE, cdB.getDataBlockEncoding()); // Should keep the original value. // CF c should stay the same since it's not a Phoenix cf. HColumnDescriptor cdC = descriptor.getFamily(cfC); assertNotNull(Column family not found, cdC); -assertFalse(cdC.getKeepDeletedCells()); +assertEquals(HColumnDescriptor.DEFAULT_KEEP_DELETED, cdA.getKeepDeletedCells()); assertFalse(SchemaUtil.DEFAULT_DATA_BLOCK_ENCODING == cdC.getDataBlockEncoding()); assertTrue(descriptor.hasCoprocessor(UngroupedAggregateRegionObserver.class.getName())); assertTrue(descriptor.hasCoprocessor(GroupedAggregateRegionObserver.class.getName())); @@ -653,7 +656,7 @@ public class QueryDatabaseMetaDataIT extends BaseClientManagedTimeIT { assertFalse(rs.next()); conn2.close(); } - + @SuppressWarnings(deprecation) @Test public void testCreateViewOnExistingTable() throws Exception { http://git-wip-us.apache.org/repos/asf/phoenix/blob/a6b1d385/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig new file mode 100644 index 000..88a0447 --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig @@ -0,0 +1,1120 @@ +/* + * 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 + *
[1/2] phoenix git commit: PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates)
Repository: phoenix Updated Branches: refs/heads/4.0 022c38483 - a6b1d385a refs/heads/master 95df538a5 - 9437c0446 PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/9437c044 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/9437c044 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/9437c044 Branch: refs/heads/master Commit: 9437c044624e41d7e4a72b611cd81749d8d96f02 Parents: 95df538 Author: Andrew Purtell apurt...@apache.org Authored: Fri Dec 12 16:33:15 2014 -0800 Committer: Andrew Purtell apurt...@apache.org Committed: Fri Dec 12 16:33:15 2014 -0800 -- .../end2end/QueryDatabaseMetaDataIT.java| 11 +- .../end2end/QueryDatabaseMetaDataIT.java.orig | 1120 ++ 2 files changed, 1127 insertions(+), 4 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/9437c044/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java index 88a0447..ebea20a 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java @@ -35,6 +35,7 @@ import static org.apache.phoenix.util.TestUtil.TABLE_WITH_SALTING; import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; @@ -52,6 +53,7 @@ import java.util.Properties; import org.apache.hadoop.hbase.HColumnDescriptor; import org.apache.hadoop.hbase.HTableDescriptor; +import org.apache.hadoop.hbase.KeepDeletedCells; import org.apache.hadoop.hbase.client.Delete; import org.apache.hadoop.hbase.client.HBaseAdmin; import org.apache.hadoop.hbase.client.HTableInterface; @@ -607,16 +609,17 @@ public class QueryDatabaseMetaDataIT extends BaseClientManagedTimeIT { descriptor = admin.getTableDescriptor(htableName); assertEquals(3,descriptor.getColumnFamilies().length); HColumnDescriptor cdA = descriptor.getFamily(cfA); -assertTrue(cdA.getKeepDeletedCells()); +assertNotEquals(HColumnDescriptor.DEFAULT_KEEP_DELETED, cdA.getKeepDeletedCells()); assertEquals(DataBlockEncoding.NONE, cdA.getDataBlockEncoding()); // Overriden using WITH assertEquals(1,cdA.getMaxVersions());// Overriden using WITH HColumnDescriptor cdB = descriptor.getFamily(cfB); -assertFalse(cdB.getKeepDeletedCells()); // Allow KEEP_DELETED_CELLS to be false for VEIW +// Allow KEEP_DELETED_CELLS to be false for VIEW +assertEquals(HColumnDescriptor.DEFAULT_KEEP_DELETED, cdA.getKeepDeletedCells()); assertEquals(DataBlockEncoding.NONE, cdB.getDataBlockEncoding()); // Should keep the original value. // CF c should stay the same since it's not a Phoenix cf. HColumnDescriptor cdC = descriptor.getFamily(cfC); assertNotNull(Column family not found, cdC); -assertFalse(cdC.getKeepDeletedCells()); +assertEquals(HColumnDescriptor.DEFAULT_KEEP_DELETED, cdA.getKeepDeletedCells()); assertFalse(SchemaUtil.DEFAULT_DATA_BLOCK_ENCODING == cdC.getDataBlockEncoding()); assertTrue(descriptor.hasCoprocessor(UngroupedAggregateRegionObserver.class.getName())); assertTrue(descriptor.hasCoprocessor(GroupedAggregateRegionObserver.class.getName())); @@ -653,7 +656,7 @@ public class QueryDatabaseMetaDataIT extends BaseClientManagedTimeIT { assertFalse(rs.next()); conn2.close(); } - + @SuppressWarnings(deprecation) @Test public void testCreateViewOnExistingTable() throws Exception { http://git-wip-us.apache.org/repos/asf/phoenix/blob/9437c044/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig new file mode 100644 index 000..88a0447 --- /dev/null +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig @@ -0,0 +1,1120 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or
Build failed in Jenkins: Phoenix | 4.0 #491
See https://builds.apache.org/job/Phoenix-4.0/491/changes Changes: [apurtell] PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates) -- Started by an SCM change Building remotely on ubuntu-6 (docker Ubuntu ubuntu) in workspace https://builds.apache.org/job/Phoenix-4.0/ws/ 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.0^{commit} # timeout=10 Checking out Revision a6b1d385ae30fae0ef98aa01829e16b9d900aaf6 (origin/4.0) git config core.sparsecheckout # timeout=10 git checkout -f a6b1d385ae30fae0ef98aa01829e16b9d900aaf6 git rev-list 022c38483db2ffd244aeb5334bf9cfc230a6a6dc # timeout=10 No emails were triggered. [Phoenix-4.0] $ /bin/bash -xe /tmp/hudson6859221911102595813.sh [Phoenix-4.0] $ /home/jenkins/tools/maven/apache-maven-2.2.1/bin/mvn clean install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Apache Phoenix [INFO] Phoenix Core [INFO] Phoenix - Flume [INFO] Phoenix - Pig [INFO] Phoenix Assembly [INFO] [INFO] Building Apache Phoenix [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting https://builds.apache.org/job/Phoenix-4.0/ws/target [INFO] [remote-resources:process {execution: default}] [INFO] [source:jar-no-fork {execution: attach-sources}] [INFO] [jar:test-jar {execution: default}] [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: https://builds.apache.org/job/Phoenix-4.0/491/artifact/target/phoenix-4.3.0-SNAPSHOT-tests.jar [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [install:install {execution: default-install}] [INFO] Installing https://builds.apache.org/job/Phoenix-4.0/ws/pom.xml to /home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.3.0-SNAPSHOT/phoenix-4.3.0-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/Phoenix-4.0/491/artifact/target/phoenix-4.3.0-SNAPSHOT-tests.jar to /home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.3.0-SNAPSHOT/phoenix-4.3.0-SNAPSHOT-tests.jar [INFO] [INFO] Building Phoenix Core [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target [INFO] [build-helper:add-test-source {execution: add-test-source}] [INFO] Test Source directory: https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/it/java added. [INFO] [build-helper:add-test-resource {execution: add-test-resource}] [INFO] [build-helper:add-source {execution: add-source}] [INFO] Source directory: https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target/generated-sources/antlr3 added. [INFO] Source directory: https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/antlr3 added. [INFO] [antlr3:antlr {execution: default}] [INFO] ANTLR: Processing source directory https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/antlr3 ANTLR Parser Generator Version 3.5 Output file https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target/generated-sources/antlr3/org/apache/phoenix/parse/PhoenixSQLParser.java does not exist: must build https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/antlr3/PhoenixSQL.g PhoenixSQL.g [INFO] [remote-resources:process {execution: default}] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource to META-INF/services [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Changes detected - recompiling the module! [INFO] Compiling 697 source files to https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target/classes [WARNING] https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/java/org/apache/phoenix/util/ServerUtil.java: Some input files use or override a deprecated API. [WARNING] https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/java/org/apache/phoenix/util/ServerUtil.java: Recompile with -Xlint:deprecation for details. [WARNING] https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java: Some input files use unchecked or unsafe
[2/2] phoenix git commit: Amend PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates)
Amend PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates) Drop an unintended file addition. Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/79b43c19 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/79b43c19 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/79b43c19 Branch: refs/heads/4.0 Commit: 79b43c1987eaba1ac6dad1c873fd404d888190d1 Parents: a6b1d38 Author: Andrew Purtell apurt...@apache.org Authored: Fri Dec 12 17:10:27 2014 -0800 Committer: Andrew Purtell apurt...@apache.org Committed: Fri Dec 12 17:11:06 2014 -0800 -- .../end2end/QueryDatabaseMetaDataIT.java.orig | 1120 -- 1 file changed, 1120 deletions(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/79b43c19/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig -- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig b/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig deleted file mode 100644 index 88a0447..000 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/QueryDatabaseMetaDataIT.java.orig +++ /dev/null @@ -1,1120 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * License); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.phoenix.end2end; - -import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_SCHEMA; -import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.SYSTEM_CATALOG_TABLE; -import static org.apache.phoenix.jdbc.PhoenixDatabaseMetaData.TYPE_SEQUENCE; -import static org.apache.phoenix.util.TestUtil.ATABLE_NAME; -import static org.apache.phoenix.util.TestUtil.ATABLE_SCHEMA_NAME; -import static org.apache.phoenix.util.TestUtil.BTABLE_NAME; -import static org.apache.phoenix.util.TestUtil.CUSTOM_ENTITY_DATA_FULL_NAME; -import static org.apache.phoenix.util.TestUtil.CUSTOM_ENTITY_DATA_NAME; -import static org.apache.phoenix.util.TestUtil.CUSTOM_ENTITY_DATA_SCHEMA_NAME; -import static org.apache.phoenix.util.TestUtil.GROUPBYTEST_NAME; -import static org.apache.phoenix.util.TestUtil.MDTEST_NAME; -import static org.apache.phoenix.util.TestUtil.MDTEST_SCHEMA_NAME; -import static org.apache.phoenix.util.TestUtil.PTSDB_NAME; -import static org.apache.phoenix.util.TestUtil.STABLE_NAME; -import static org.apache.phoenix.util.TestUtil.TABLE_WITH_SALTING; -import static org.apache.phoenix.util.TestUtil.TEST_PROPERTIES; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertFalse; -import static org.junit.Assert.assertNotNull; -import static org.junit.Assert.assertNull; -import static org.junit.Assert.assertTrue; -import static org.junit.Assert.fail; - -import java.sql.Connection; -import java.sql.DatabaseMetaData; -import java.sql.DriverManager; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.util.Arrays; -import java.util.Map; -import java.util.Properties; - -import org.apache.hadoop.hbase.HColumnDescriptor; -import org.apache.hadoop.hbase.HTableDescriptor; -import org.apache.hadoop.hbase.client.Delete; -import org.apache.hadoop.hbase.client.HBaseAdmin; -import org.apache.hadoop.hbase.client.HTableInterface; -import org.apache.hadoop.hbase.client.Put; -import org.apache.hadoop.hbase.client.Scan; -import org.apache.hadoop.hbase.filter.FirstKeyOnlyFilter; -import org.apache.hadoop.hbase.io.encoding.DataBlockEncoding; -import org.apache.hadoop.hbase.util.Bytes; -import org.apache.phoenix.coprocessor.GroupedAggregateRegionObserver; -import org.apache.phoenix.coprocessor.ServerCachingEndpointImpl; -import org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver; -import org.apache.phoenix.exception.SQLExceptionCode; -import org.apache.phoenix.jdbc.PhoenixConnection; -import org.apache.phoenix.jdbc.PhoenixDatabaseMetaData; -import org.apache.phoenix.query.QueryServices; -import org.apache.phoenix.schema.ColumnNotFoundException;
Build failed in Jenkins: Phoenix | Master #516
See https://builds.apache.org/job/Phoenix-master/516/changes Changes: [apurtell] PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates) [apurtell] Amend PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates) -- Started by an SCM change Building remotely on ubuntu-6 (docker Ubuntu ubuntu) in workspace https://builds.apache.org/job/Phoenix-master/ws/ Cloning the remote Git repository Cloning repository https://git-wip-us.apache.org/repos/asf/phoenix.git git init https://builds.apache.org/job/Phoenix-master/ws/ # 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 config remote.origin.url https://git-wip-us.apache.org/repos/asf/phoenix.git # timeout=10 git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 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 fetch --tags --progress https://git-wip-us.apache.org/repos/asf/phoenix.git +refs/heads/*:refs/remotes/origin/* git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 06bf205ac1c9d4c222652173b58a9429a83630bf (origin/master) git config core.sparsecheckout # timeout=10 git checkout -f 06bf205ac1c9d4c222652173b58a9429a83630bf git rev-list 95df538a5aa2a5ef7bc6862429f456c330a39e55 # timeout=10 No emails were triggered. [Phoenix-master] $ /bin/bash -xe /tmp/hudson5004092842083999136.sh [Phoenix-master] $ /home/jenkins/tools/maven/apache-maven-3.0.4/bin/mvn clean install [INFO] Scanning for projects... [INFO] [INFO] Reactor Build Order: [INFO] [INFO] Apache Phoenix [INFO] Phoenix Core [INFO] Phoenix - Flume [INFO] Phoenix - Pig [INFO] Phoenix Assembly [INFO] [INFO] [INFO] Building Apache Phoenix 5.0.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ 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: https://builds.apache.org/job/Phoenix-master/516/artifact/target/phoenix-5.0.0-SNAPSHOT-tests.jar [INFO] [INFO] --- maven-site-plugin:3.2:attach-descriptor (attach-descriptor) @ phoenix --- [INFO] [INFO] --- maven-install-plugin:2.5.1:install (default-install) @ phoenix --- [INFO] Installing https://builds.apache.org/job/Phoenix-master/ws/pom.xml to /home/jenkins/.m2/repository/org/apache/phoenix/phoenix/5.0.0-SNAPSHOT/phoenix-5.0.0-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/Phoenix-master/516/artifact/target/phoenix-5.0.0-SNAPSHOT-tests.jar to /home/jenkins/.m2/repository/org/apache/phoenix/phoenix/5.0.0-SNAPSHOT/phoenix-5.0.0-SNAPSHOT-tests.jar [INFO] [INFO] [INFO] Building Phoenix Core 5.0.0-SNAPSHOT [INFO] [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ phoenix-core --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-test-source (add-test-source) @ phoenix-core --- [INFO] Test Source directory: https://builds.apache.org/job/Phoenix-master/ws/phoenix-core/src/it/java added. [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-test-resource (add-test-resource) @ phoenix-core --- [INFO] [INFO] --- build-helper-maven-plugin:1.9.1:add-source (add-source) @ phoenix-core --- [INFO] Source directory: https://builds.apache.org/job/Phoenix-master/ws/phoenix-core/target/generated-sources/antlr3 added. [INFO] Source directory: https://builds.apache.org/job/Phoenix-master/ws/phoenix-core/src/main/antlr3 added. [INFO] [INFO] --- antlr3-maven-plugin:3.5:antlr (default) @ phoenix-core --- [INFO] ANTLR: Processing source directory https://builds.apache.org/job/Phoenix-master/ws/phoenix-core/src/main/antlr3 ANTLR Parser Generator Version 3.5 Output file https://builds.apache.org/job/Phoenix-master/ws/phoenix-core/target/generated-sources/antlr3/org/apache/phoenix/parse/PhoenixSQLParser.java does not exist: must build
Build failed in Jenkins: Phoenix | 4.0 #492
See https://builds.apache.org/job/Phoenix-4.0/492/changes Changes: [apurtell] Amend PHOENIX-1470 KEEP_DELETED_CELLS interface changed in HBase 0.98.8 (Jesse Yates) -- Started by an SCM change Building remotely on ubuntu-6 (docker Ubuntu ubuntu) in workspace https://builds.apache.org/job/Phoenix-4.0/ws/ 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.0^{commit} # timeout=10 Checking out Revision 79b43c1987eaba1ac6dad1c873fd404d888190d1 (origin/4.0) git config core.sparsecheckout # timeout=10 git checkout -f 79b43c1987eaba1ac6dad1c873fd404d888190d1 git rev-list a6b1d385ae30fae0ef98aa01829e16b9d900aaf6 # timeout=10 No emails were triggered. [Phoenix-4.0] $ /bin/bash -xe /tmp/hudson3385644347629137885.sh [Phoenix-4.0] $ /home/jenkins/tools/maven/apache-maven-2.2.1/bin/mvn clean install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Apache Phoenix [INFO] Phoenix Core [INFO] Phoenix - Flume [INFO] Phoenix - Pig [INFO] Phoenix Assembly [INFO] [INFO] Building Apache Phoenix [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting https://builds.apache.org/job/Phoenix-4.0/ws/target [INFO] [remote-resources:process {execution: default}] [INFO] [source:jar-no-fork {execution: attach-sources}] [INFO] [jar:test-jar {execution: default}] [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: https://builds.apache.org/job/Phoenix-4.0/492/artifact/target/phoenix-4.3.0-SNAPSHOT-tests.jar [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] [install:install {execution: default-install}] [INFO] Installing https://builds.apache.org/job/Phoenix-4.0/ws/pom.xml to /home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.3.0-SNAPSHOT/phoenix-4.3.0-SNAPSHOT.pom [INFO] Installing https://builds.apache.org/job/Phoenix-4.0/492/artifact/target/phoenix-4.3.0-SNAPSHOT-tests.jar to /home/jenkins/.m2/repository/org/apache/phoenix/phoenix/4.3.0-SNAPSHOT/phoenix-4.3.0-SNAPSHOT-tests.jar [INFO] [INFO] Building Phoenix Core [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] Deleting https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target [INFO] [build-helper:add-test-source {execution: add-test-source}] [INFO] Test Source directory: https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/it/java added. [INFO] [build-helper:add-test-resource {execution: add-test-resource}] [INFO] [build-helper:add-source {execution: add-source}] [INFO] Source directory: https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target/generated-sources/antlr3 added. [INFO] Source directory: https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/antlr3 added. [INFO] [antlr3:antlr {execution: default}] [INFO] ANTLR: Processing source directory https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/antlr3 ANTLR Parser Generator Version 3.5 Output file https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target/generated-sources/antlr3/org/apache/phoenix/parse/PhoenixSQLParser.java does not exist: must build https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/antlr3/PhoenixSQL.g PhoenixSQL.g [INFO] [remote-resources:process {execution: default}] [INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource to META-INF/services [INFO] Copying 3 resources [INFO] [compiler:compile {execution: default-compile}] [INFO] Changes detected - recompiling the module! [INFO] Compiling 697 source files to https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target/classes [WARNING] https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/java/org/apache/phoenix/util/ServerUtil.java: Some input files use or override a deprecated API. [WARNING] https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/java/org/apache/phoenix/util/ServerUtil.java: Recompile with -Xlint:deprecation for details. [WARNING] https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/src/main/java/org/apache/phoenix/jdbc/PhoenixStatement.java: Some input files use unchecked or unsafe
[1/2] phoenix git commit: PHOENIX-1524 Bump default HBase version to 0.98.8 after PHOENIX-1470
Repository: phoenix Updated Branches: refs/heads/4.0 79b43c198 - 7a571d038 refs/heads/master 06bf205ac - 5e2c182aa PHOENIX-1524 Bump default HBase version to 0.98.8 after PHOENIX-1470 Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/7a571d03 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/7a571d03 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/7a571d03 Branch: refs/heads/4.0 Commit: 7a571d03824d79e7d1c25ca34c45517bee7f7aaf Parents: 79b43c1 Author: Andrew Purtell apurt...@apache.org Authored: Fri Dec 12 17:21:18 2014 -0800 Committer: Andrew Purtell apurt...@apache.org Committed: Fri Dec 12 17:21:18 2014 -0800 -- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/phoenix/blob/7a571d03/pom.xml -- diff --git a/pom.xml b/pom.xml index b5e9ce8..4db2519 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,7 @@ test.output.tofiletrue/test.output.tofile !-- Hadoop Versions -- -hbase.version0.98.4-hadoop2/hbase.version +hbase.version0.98.8-hadoop2/hbase.version hadoop-two.version2.2.0/hadoop-two.version !-- Dependency versions --
Build failed in Jenkins: Phoenix | 4.0 #493
See https://builds.apache.org/job/Phoenix-4.0/493/changes Changes: [apurtell] PHOENIX-1524 Bump default HBase version to 0.98.8 after PHOENIX-1470 -- [...truncated 3774 lines...] Tests run: 11, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 19.54 sec - in org.apache.phoenix.end2end.CreateTableIT Running org.apache.phoenix.end2end.TruncateFunctionIT Tests run: 48, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.244 sec - in org.apache.phoenix.end2end.ArrayIT Running org.apache.phoenix.end2end.RowValueConstructorIT Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.234 sec - in org.apache.phoenix.end2end.TruncateFunctionIT Running org.apache.phoenix.end2end.NotQueryIT Tests run: 119, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.448 sec - in org.apache.phoenix.end2end.ScanQueryIT Running org.apache.phoenix.end2end.IsNullIT Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.25 sec - in org.apache.phoenix.end2end.IsNullIT Running org.apache.phoenix.end2end.PercentileIT Tests run: 36, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 28.555 sec - in org.apache.phoenix.end2end.RowValueConstructorIT Running org.apache.phoenix.end2end.DistinctCountIT Tests run: 210, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 84.554 sec - in org.apache.phoenix.end2end.ClientTimeArithmeticQueryIT Running org.apache.phoenix.end2end.InMemoryOrderByIT Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.866 sec - in org.apache.phoenix.end2end.PercentileIT Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.489 sec - in org.apache.phoenix.end2end.InMemoryOrderByIT Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.751 sec - in org.apache.phoenix.end2end.DistinctCountIT Tests run: 77, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 37.414 sec - in org.apache.phoenix.end2end.NotQueryIT Tests run: 182, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 93.704 sec - in org.apache.phoenix.end2end.QueryIT Results : Failed tests: QueryDatabaseMetaDataIT.testCreateOnExistingTable:617 expected:FALSE but was:TRUE Tests run: 1224, Failures: 1, Errors: 0, Skipped: 0 [INFO] [failsafe:integration-test {execution: HBaseManagedTimeTests}] [INFO] Failsafe report directory: https://builds.apache.org/job/Phoenix-4.0/ws/phoenix-core/target/failsafe-reports [INFO] parallel='none', perCoreThreadCount=true, threadCount=0, useUnlimitedThreads=false, threadCountSuites=0, threadCountClasses=0, threadCountMethods=0, parallelOptimized=true --- T E S T S --- Running org.apache.phoenix.end2end.ToDateFunctionIT Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.976 sec - in org.apache.phoenix.end2end.ToDateFunctionIT Running org.apache.phoenix.end2end.EncodeFunctionIT Running org.apache.phoenix.trace.PhoenixTableMetricsWriterIT Running org.apache.phoenix.end2end.MappingTableDataTypeIT Running org.apache.phoenix.trace.PhoenixTraceReaderIT Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.832 sec - in org.apache.phoenix.trace.PhoenixTableMetricsWriterIT Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.953 sec - in org.apache.phoenix.trace.PhoenixTraceReaderIT Running org.apache.phoenix.end2end.SpooledSortMergeJoinIT Running org.apache.phoenix.end2end.CSVCommonsLoaderIT Running org.apache.phoenix.trace.PhoenixTracingEndToEndIT Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.701 sec - in org.apache.phoenix.end2end.EncodeFunctionIT Running org.apache.phoenix.end2end.SpooledTmpFileDeleteIT Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.454 sec - in org.apache.phoenix.end2end.MappingTableDataTypeIT Running org.apache.phoenix.end2end.SubqueryUsingSortMergeJoinIT Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.86 sec - in org.apache.phoenix.end2end.SpooledTmpFileDeleteIT Running org.apache.phoenix.end2end.SkipScanAfterManualSplitIT Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.828 sec - in org.apache.phoenix.end2end.CSVCommonsLoaderIT Running org.apache.phoenix.end2end.TenantSpecificViewIndexSaltedIT Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.478 sec - in org.apache.phoenix.end2end.TenantSpecificViewIndexSaltedIT Running org.apache.phoenix.end2end.EvaluationOfORIT Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.256 sec - in org.apache.phoenix.end2end.EvaluationOfORIT Running org.apache.phoenix.end2end.index.SaltedIndexIT Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 23.978 sec - in org.apache.phoenix.end2end.SkipScanAfterManualSplitIT Running org.apache.phoenix.end2end.index.DropViewIT Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.678 sec - in org.apache.phoenix.end2end.index.DropViewIT Running