[jira] [Commented] (HIVE-21560) Update Derby DDL to use CLOB instead of LONG VARCHAR
[ https://issues.apache.org/jira/browse/HIVE-21560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16820547#comment-16820547 ] Hive QA commented on HIVE-21560: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12966271/HIVE-21560.03.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 461 failed/errored test(s), 15939 tests executed *Failed tests:* {noformat} TestReplicationScenariosAcidTables - did not produce a TEST-*.xml file (likely timed out) (batchId=258) org.apache.hadoop.hive.metastore.TestHiveMetaStoreTxns.testTxNWithKeyValue (batchId=231) org.apache.hadoop.hive.metastore.TestHiveMetaStoreTxns.testTxNWithKeyWrongPrefix (batchId=231) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryDBPattern (batchId=221) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryDisabledByDefault (batchId=221) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryEnabledBothTableTypes (batchId=221) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryNonDefaultCatalog (batchId=221) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoverySkipInvalidPath (batchId=221) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryTablePattern (batchId=221) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryTransactionalTable (batchId=221) org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionRetention (batchId=221) org.apache.hadoop.hive.metastore.tools.schematool.TestSchemaToolForMetastore.testMetastoreDbPropertiesAfterUpgrade (batchId=227) org.apache.hadoop.hive.metastore.tools.schematool.TestSchemaToolForMetastore.testSchemaUpgrade (batchId=227) org.apache.hadoop.hive.metastore.tools.schematool.TestSchemaToolForMetastore.testValidateSchemaTables (batchId=227) org.apache.hadoop.hive.ql.TestAcidOnTez.testAcidInsertWithRemoveUnion (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testBucketedAcidInsertWithRemoveUnion (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testCrudMajorCompactionSplitGrouper (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testGetSplitsLocks (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testGetSplitsLocksWithMaterializedView (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testInsertWithRemoveUnion (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testIsOriginal (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testMapJoinOnMR (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testMapJoinOnTez (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testMergeJoinOnMR (batchId=242) org.apache.hadoop.hive.ql.TestAcidOnTez.testMergeJoinOnTez (batchId=242) org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartition (batchId=332) org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartitionBucketed (batchId=332) org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartitionMM (batchId=332) org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartitionMMVectorized (batchId=332) org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartitionRename (batchId=332) org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartitionTransactional (batchId=332) org.apache.hadoop.hive.ql.TestTxnAddPartition.addPartitionVectorized (batchId=332) org.apache.hadoop.hive.ql.TestTxnCommands.exchangePartition (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testBadOnClause (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testCompactionBlocking (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testDelete (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testDeleteIn (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testErrors (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testExplicitRollback (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testImplicitRollback (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testInsertOverwrite (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeCardinalityViolation (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeCase (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeDeleteUpdate (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeNegative (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeNegative2 (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeOnTezEdges (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeType2SCD01 (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeType2SCD02 (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeUpdateDelete (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMergeUpdateDeleteNoCardCheck (batchId=336) org.apache.hadoop.hive.ql.TestTxnCommands.testMmExim
[jira] [Commented] (HIVE-21560) Update Derby DDL to use CLOB instead of LONG VARCHAR
[ https://issues.apache.org/jira/browse/HIVE-21560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16820508#comment-16820508 ] Hive QA commented on HIVE-21560: | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || || || || || {color:brown} Prechecks {color} || | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 1s{color} | {color:green} The patch does not contain any @author tags. {color} | || || || || {color:brown} master Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 9m 14s{color} | {color:green} master passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 22s{color} | {color:green} master passed {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 30s{color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 21s{color} | {color:green} the patch passed {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 14s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 11m 3s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Optional Tests | asflicense javac javadoc | | uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u5 (2017-09-19) x86_64 GNU/Linux | | Build tool | maven | | Personality | /data/hiveptest/working/yetus_PreCommit-HIVE-Build-16980/dev-support/hive-personality.sh | | git revision | master / 8f7f5d1 | | Default Java | 1.8.0_111 | | modules | C: standalone-metastore/metastore-server U: standalone-metastore/metastore-server | | Console output | http://104.198.109.242/logs//PreCommit-HIVE-Build-16980/yetus.txt | | Powered by | Apache Yetushttp://yetus.apache.org | This message was automatically generated. > Update Derby DDL to use CLOB instead of LONG VARCHAR > > > Key: HIVE-21560 > URL: https://issues.apache.org/jira/browse/HIVE-21560 > Project: Hive > Issue Type: Bug >Reporter: Shawn Weeks >Assignee: Rajkumar Singh >Priority: Minor > Attachments: HIVE-21560.01.patch, HIVE-21560.02.patch, > HIVE-21560.03.patch, HIVE-21560.patch > > > in the Hive 1.x and 2.x metastore version for Derby there are two column in > "TBLS" that are set to LONG VARCHAR. This causes larger create view > statements to fail when using embedded metastore for testing. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-21560) Update Derby DDL to use CLOB instead of LONG VARCHAR
[ https://issues.apache.org/jira/browse/HIVE-21560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16809183#comment-16809183 ] Eric Wohlstadter commented on HIVE-21560: - Spoke to [~Rajkumar Singh] about this. lgtm (pending clean test run) > Update Derby DDL to use CLOB instead of LONG VARCHAR > > > Key: HIVE-21560 > URL: https://issues.apache.org/jira/browse/HIVE-21560 > Project: Hive > Issue Type: Bug >Reporter: Shawn Weeks >Assignee: Rajkumar Singh >Priority: Minor > Attachments: HIVE-21560.01.patch, HIVE-21560.02.patch, > HIVE-21560.patch > > > in the Hive 1.x and 2.x metastore version for Derby there are two column in > "TBLS" that are set to LONG VARCHAR. This causes larger create view > statements to fail when using embedded metastore for testing. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-21560) Update Derby DDL to use CLOB instead of LONG VARCHAR
[ https://issues.apache.org/jira/browse/HIVE-21560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16807564#comment-16807564 ] Hive QA commented on HIVE-21560: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12964515/HIVE-21560.01.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16817/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16817/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16817/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2019-04-02 09:03:00.431 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-16817/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2019-04-02 09:03:00.434 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 5bf5d14 HIVE-21499 : should not remove the function from registry if create command failed with AlreadyExistsException (Rajkumar Singh via Thejas Nair) + git clean -f -d Removing standalone-metastore/metastore-server/src/gen/ + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at 5bf5d14 HIVE-21499 : should not remove the function from registry if create command failed with AlreadyExistsException (Rajkumar Singh via Thejas Nair) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-04-02 09:03:02.616 + rm -rf ../yetus_PreCommit-HIVE-Build-16817 + mkdir ../yetus_PreCommit-HIVE-Build-16817 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-16817 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-16817/yetus + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch error: a/metastore/scripts/upgrade/derby/058-HIVE-21560.derby.sql: does not exist in index error: a/standalone-metastore/metastore-server/src/main/resources/package.jdo: does not exist in index error: a/standalone-metastore/metastore-server/src/main/sql/derby/hive-schema-3.2.0.derby.sql: does not exist in index error: a/standalone-metastore/metastore-server/src/main/sql/derby/hive-schema-4.0.0.derby.sql: does not exist in index error: a/standalone-metastore/metastore-server/src/main/sql/derby/upgrade-3.1.0-to-3.2.0.derby.sql: does not exist in index error: metastore/scripts/upgrade/derby/058-HIVE-21560.derby.sql: does not exist in index error: scripts/upgrade/derby/058-HIVE-21560.derby.sql: does not exist in index error: metastore-server/src/main/resources/package.jdo: does not exist in index error: metastore-server/src/main/sql/derby/hive-schema-3.2.0.derby.sql: does not exist in index error: metastore-server/src/main/sql/derby/hive-schema-4.0.0.derby.sql: does not exist in index error: metastore-server/src/main/sql/derby/upgrade-3.1.0-to-3.2.0.derby.sql: does not exist in index The patch does not appear to apply with p0, p1, or p2 + result=1 + '[' 1 -ne 0 ']' + rm -rf yetus_PreCommit-HIVE-Build-16817 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12964515 - PreCommit-HIVE-Build > Update Derby DDL to use CLOB instead of LONG VARCHAR > > > Key: HIVE-21560 > URL: https://issues.apache.org/jira/browse/HIVE-21560 > Project: Hive > Issue Type: Bug >Reporter: Shawn Weeks >Assignee: Rajkumar Singh >Priority: Minor > Attachments: HIVE-21560.01.patch, HIVE-21560.patch > > > in the Hive 1.x and 2.x metastore version for Derby there are two
[jira] [Commented] (HIVE-21560) Update Derby DDL to use CLOB instead of LONG VARCHAR
[ https://issues.apache.org/jira/browse/HIVE-21560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16807370#comment-16807370 ] Hive QA commented on HIVE-21560: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12964482/HIVE-21560.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/16808/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16808/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16808/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ date '+%Y-%m-%d %T.%3N' 2019-04-02 02:40:09.551 + [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]] + export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 + export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'MAVEN_OPTS=-Xmx1g ' + MAVEN_OPTS='-Xmx1g ' + cd /data/hiveptest/working/ + tee /data/hiveptest/logs/PreCommit-HIVE-Build-16808/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z master ]] + [[ -d apache-github-source-source ]] + [[ ! -d apache-github-source-source/.git ]] + [[ ! -d apache-github-source-source ]] + date '+%Y-%m-%d %T.%3N' 2019-04-02 02:40:09.554 + cd apache-github-source-source + git fetch origin + git reset --hard HEAD HEAD is now at 2111c01 HIVE-21537: Scalar query rewrite could be improved to not generate an extra join if subquery is guaranteed to produce atmost one row (Vineet Garg, reviewed by Jesus Camacho Rodriguez) + git clean -f -d Removing standalone-metastore/metastore-server/src/gen/ + git checkout master Already on 'master' Your branch is up-to-date with 'origin/master'. + git reset --hard origin/master HEAD is now at 2111c01 HIVE-21537: Scalar query rewrite could be improved to not generate an extra join if subquery is guaranteed to produce atmost one row (Vineet Garg, reviewed by Jesus Camacho Rodriguez) + git merge --ff-only origin/master Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-04-02 02:40:10.213 + rm -rf ../yetus_PreCommit-HIVE-Build-16808 + mkdir ../yetus_PreCommit-HIVE-Build-16808 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-16808 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-16808/yetus + patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hiveptest/working/scratch/build.patch + [[ -f /data/hiveptest/working/scratch/build.patch ]] + chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh + /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch error: a/metastore/scripts/upgrade/derby/058-HIVE-21560.derby.sql: does not exist in index error: a/standalone-metastore/metastore-server/src/main/resources/package.jdo: does not exist in index error: a/standalone-metastore/metastore-server/src/main/sql/derby/hive-schema-3.2.0.derby.sql: does not exist in index error: a/standalone-metastore/metastore-server/src/main/sql/derby/hive-schema-4.0.0.derby.sql: does not exist in index error: a/standalone-metastore/metastore-server/src/main/sql/derby/upgrade-3.1.0-to-3.2.0.derby.sql: does not exist in index error: metastore/scripts/upgrade/derby/058-HIVE-21560.derby.sql: does not exist in index error: scripts/upgrade/derby/058-HIVE-21560.derby.sql: does not exist in index error: metastore-server/src/main/resources/package.jdo: does not exist in index error: metastore-server/src/main/sql/derby/hive-schema-3.2.0.derby.sql: does not exist in index error: metastore-server/src/main/sql/derby/hive-schema-4.0.0.derby.sql: does not exist in index error: metastore-server/src/main/sql/derby/upgrade-3.1.0-to-3.2.0.derby.sql: does not exist in index The patch does not appear to apply with p0, p1, or p2 + result=1 + '[' 1 -ne 0 ']' + rm -rf yetus_PreCommit-HIVE-Build-16808 + exit 1 ' {noformat} This message is automatically generated. ATTACHMENT ID: 12964482 - PreCommit-HIVE-Build > Update Derby DDL to use CLOB instead of LONG VARCHAR > > > Key: HIVE-21560 > URL: https://issues.apache.org/jira/browse/HIVE-21560 > Project: Hive > Issue Type: Bug >Reporter: Shawn Weeks >Assignee: Rajkumar Singh >Priority: Minor > Attachments: HIVE-21560.patch > > > in the
[jira] [Commented] (HIVE-21560) Update Derby DDL to use CLOB instead of LONG VARCHAR
[ https://issues.apache.org/jira/browse/HIVE-21560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16807046#comment-16807046 ] Shawn Weeks commented on HIVE-21560: I tested this and changing the two columns to clob didn’t seem to break anything. I was able to create views more 32kb and queries against them didn’t fail. > Update Derby DDL to use CLOB instead of LONG VARCHAR > > > Key: HIVE-21560 > URL: https://issues.apache.org/jira/browse/HIVE-21560 > Project: Hive > Issue Type: Bug >Reporter: Shawn Weeks >Assignee: Rajkumar Singh >Priority: Minor > > in the Hive 1.x and 2.x metastore version for Derby there are two column in > "TBLS" that are set to LONG VARCHAR. This causes larger create view > statements to fail when using embedded metastore for testing. -- This message was sent by Atlassian JIRA (v7.6.3#76005)