[jira] [Commented] (HIVE-20843) RELY constraints on primary keys and foreign keys are not recognized
[ https://issues.apache.org/jira/browse/HIVE-20843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16756786#comment-16756786 ] Hive QA commented on HIVE-20843: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12946441/HIVE-20843.1-branch-2.patch {color:red}ERROR:{color} -1 due to build exiting with an error Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/15853/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/15853/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-15853/ 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-01-31 02:05:52.936 + [[ -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-15853/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ git = \s\v\n ]] + [[ git = \g\i\t ]] + [[ -z branch-2 ]] + [[ -d apache-github-branch-2-source ]] + [[ ! -d apache-github-branch-2-source/.git ]] + [[ ! -d apache-github-branch-2-source ]] + date '+%Y-%m-%d %T.%3N' 2019-01-31 02:05:52.977 + cd apache-github-branch-2-source + git fetch origin >From https://github.com/apache/hive 55fcff1..0b8cfa7 branch-2 -> origin/branch-2 00c0ee7..3b1d4fd branch-2.3 -> origin/branch-2.3 09b92d3..7065c92 branch-3 -> origin/branch-3 f4e0529..7c21361 branch-3.1 -> origin/branch-3.1 a99be34..dfc4b8e master -> origin/master 8151911..750daa4 master-tez092 -> origin/master-tez092 * [new tag] rel/release-3.1.1 -> rel/release-3.1.1 + git reset --hard HEAD HEAD is now at 55fcff1 HIVE-20420: Provide a fallback authorizer when no other authorizer is in use (Daniel Dai, reviewed by Laszlo Pinter, Thejas Nair) + git clean -f -d + git checkout branch-2 Already on 'branch-2' Your branch is behind 'origin/branch-2' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) + git reset --hard origin/branch-2 HEAD is now at 0b8cfa7 HIVE-21040 : msck does unnecessary file listing at last level of directory tree (Vihang Karajgaonkar, reviewed by Prasanth Jayachandran) + git merge --ff-only origin/branch-2 Already up-to-date. + date '+%Y-%m-%d %T.%3N' 2019-01-31 02:06:04.788 + rm -rf ../yetus_PreCommit-HIVE-Build-15853 + mkdir ../yetus_PreCommit-HIVE-Build-15853 + git gc + cp -R . ../yetus_PreCommit-HIVE-Build-15853 + mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15853/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 Going to apply patch with: git apply -p0 + [[ maven == \m\a\v\e\n ]] + rm -rf /data/hiveptest/working/maven/org/apache/hive + mvn -B clean install -DskipTests -T 4 -q -Dmaven.repo.local=/data/hiveptest/working/maven ANTLR Parser Generator Version 3.5.2 Output file /data/hiveptest/working/apache-github-branch-2-source/metastore/target/generated-sources/antlr3/org/apache/hadoop/hive/metastore/parser/FilterParser.java does not exist: must build /data/hiveptest/working/apache-github-branch-2-source/metastore/src/java/org/apache/hadoop/hive/metastore/parser/Filter.g org/apache/hadoop/hive/metastore/parser/Filter.g DataNucleus Enhancer (version 4.1.17) for API "JDO" DataNucleus Enhancer : Classpath >> /usr/share/maven/boot/plexus-classworlds-2.x.jar ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MDatabase ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MFieldSchema ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MType ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MTable ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MConstraint ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MSerDeInfo ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MOrder ENHANCED (Persistable) : org.apache.hadoop.hive.metastore.model.MColumnDescriptor ENHANCED (Persistable) :
[jira] [Commented] (HIVE-20843) RELY constraints on primary keys and foreign keys are not recognized
[ https://issues.apache.org/jira/browse/HIVE-20843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16756521#comment-16756521 ] Karen Coppage commented on HIVE-20843: -- Hi [~anuragmantri] , have you considered adding a test to this patch? If not, do you know how the bug was discovered? Thanks, Karen > RELY constraints on primary keys and foreign keys are not recognized > > > Key: HIVE-20843 > URL: https://issues.apache.org/jira/browse/HIVE-20843 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.1, 3.0.0 >Reporter: Anurag Mantripragada >Assignee: Anurag Mantripragada >Priority: Major > Attachments: HIVE-20843.1-branch-2.patch, HIVE-20843.1.patch > > > Hive doesn't recognize RELY constraints after > https://issues.apache.org/jira/browse/HIVE-13076. The issue is in > BaseSemanticAnalyzer.java where we assign RELY. > An unrelated patch fixed this issue in later versions. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20843) RELY constraints on primary keys and foreign keys are not recognized
[ https://issues.apache.org/jira/browse/HIVE-20843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16670795#comment-16670795 ] Vihang Karajgaonkar commented on HIVE-20843: Lets wait for tests to come back (although given the backlog it may take a while) > RELY constraints on primary keys and foreign keys are not recognized > > > Key: HIVE-20843 > URL: https://issues.apache.org/jira/browse/HIVE-20843 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.1, 3.0.0 >Reporter: Anurag Mantripragada >Assignee: Anurag Mantripragada >Priority: Major > Attachments: HIVE-20843.1-branch-2.patch, HIVE-20843.1.patch > > > Hive doesn't recognize RELY constraints after > https://issues.apache.org/jira/browse/HIVE-13076. The issue is in > BaseSemanticAnalyzer.java where we assign RELY. > An unrelated patch fixed this issue in later versions. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20843) RELY constraints on primary keys and foreign keys are not recognized
[ https://issues.apache.org/jira/browse/HIVE-20843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16670793#comment-16670793 ] Vihang Karajgaonkar commented on HIVE-20843: LGTM +1 > RELY constraints on primary keys and foreign keys are not recognized > > > Key: HIVE-20843 > URL: https://issues.apache.org/jira/browse/HIVE-20843 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.1, 3.0.0 >Reporter: Anurag Mantripragada >Assignee: Anurag Mantripragada >Priority: Major > Attachments: HIVE-20843.1-branch-2.patch, HIVE-20843.1.patch > > > Hive doesn't recognize RELY constraints after > https://issues.apache.org/jira/browse/HIVE-13076. The issue is in > BaseSemanticAnalyzer.java where we assign RELY. > An unrelated patch fixed this issue in later versions. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20843) RELY constraints on primary keys and foreign keys are not recognized
[ https://issues.apache.org/jira/browse/HIVE-20843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16670498#comment-16670498 ] Vihang Karajgaonkar commented on HIVE-20843: The patch looks good to me, although I have limited understanding of this part of the code. Perhaps [~vgarg] or [~ashutoshc] could take a look too? This issue doesn't affect so the patch needs to be committed only in branch-2 and branch-3. Can you please provide a patch for those branches? The patch naming convention should be HIVE-20843.1-branch-3.patch > RELY constraints on primary keys and foreign keys are not recognized > > > Key: HIVE-20843 > URL: https://issues.apache.org/jira/browse/HIVE-20843 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.1, 3.0.0 >Reporter: Anurag Mantripragada >Assignee: Anurag Mantripragada >Priority: Major > Attachments: HIVE-20843.1.patch > > > Hive doesn't recognize RELY constraints after > https://issues.apache.org/jira/browse/HIVE-13076. The issue is in > BaseSemanticAnalyzer.java where we assign RELY. > An unrelated patch fixed this issue in later versions. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (HIVE-20843) RELY constraints on primary keys and foreign keys are not recognized
[ https://issues.apache.org/jira/browse/HIVE-20843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16669463#comment-16669463 ] Vineet Garg commented on HIVE-20843: 3.0.0 is already released therefore removed the Fix Version. > RELY constraints on primary keys and foreign keys are not recognized > > > Key: HIVE-20843 > URL: https://issues.apache.org/jira/browse/HIVE-20843 > Project: Hive > Issue Type: Bug >Affects Versions: 2.1.1, 3.0.0 >Reporter: Anurag Mantripragada >Assignee: Anurag Mantripragada >Priority: Major > Attachments: HIVE-20843.1.patch > > > Hive doesn't recognize RELY constraints after > https://issues.apache.org/jira/browse/HIVE-13076. The issue is in > BaseSemanticAnalyzer.java where we assign RELY. > An unrelated patch fixed this issue in later versions. -- This message was sent by Atlassian JIRA (v7.6.3#76005)