[ 
https://issues.apache.org/jira/browse/HIVE-11662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16804170#comment-16804170
 ] 

Hive QA commented on HIVE-11662:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12753249/HIVE-11662.2.patch.txt

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/16736/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/16736/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-16736/

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-03-28 18:17:21.894
+ [[ -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-16736/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-03-28 18:17:21.897
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 1e58bd2 HIVE-20580: OrcInputFormat.isOriginal() should not rely 
on hive.acid.key.index (Peter Vary reviewed by Eugene Koifman, Ashutosh Chauhan 
and Vaibhav Gumashta)
+ 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 1e58bd2 HIVE-20580: OrcInputFormat.isOriginal() should not rely 
on hive.acid.key.index (Peter Vary reviewed by Eugene Koifman, Ashutosh Chauhan 
and Vaibhav Gumashta)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-03-28 18:17:22.868
+ rm -rf ../yetus_PreCommit-HIVE-Build-16736
+ mkdir ../yetus_PreCommit-HIVE-Build-16736
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-16736
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-16736/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/ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java: does not 
exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java: does not 
exist in index
error: 
a/ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java:
 does not exist in index
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java:18
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java' 
with conflicts.
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:1590
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java' 
with conflicts.
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java:21
Falling back to three-way merge...
Applied patch to 
'ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java' 
with conflicts.
Going to apply patch with: git apply -p1
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java:18
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java' 
with conflicts.
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:1590
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java' 
with conflicts.
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java:21
Falling back to three-way merge...
Applied patch to 
'ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java' 
with conflicts.
U ql/src/java/org/apache/hadoop/hive/ql/exec/Utilities.java
U ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
U ql/src/java/org/apache/hadoop/hive/ql/plan/ConditionalResolverMergeFiles.java
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-16736
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12753249 - PreCommit-HIVE-Build

> Dynamic partitioning cannot be applied to external table which contains 
> part-spec like directory name
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11662
>                 URL: https://issues.apache.org/jira/browse/HIVE-11662
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Navis
>            Assignee: Navis
>            Priority: Trivial
>         Attachments: HIVE-11662.1.patch.txt, HIVE-11662.2.patch.txt
>
>
> Some users want to use part-spec like directory name in their partitioned 
> table locations, something like,
> {noformat}
> /something/warehouse/some_key=some_value
> {noformat}
> DP calculates additional partitions from full path, and makes exception 
> something like,
> {noformat}
> Failed with exception Partition spec {some_key=some_value, 
> part_key=part_value} contains non-partition columns
> FAILED: Execution Error, return code 1 from 
> org.apache.hadoop.hive.ql.exec.MoveTask
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to