You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2016/12/08 15:28:58 UTC

[jira] [Commented] (HIVE-15389) Backport HIVE-15239 to branch-1

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

Hive QA commented on HIVE-15389:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12842346/HIVE-15389.branch-1.1.patch

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

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

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'
2016-12-08 15:28:18.306
+ [[ -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-2490/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'
2016-12-08 15:28:18.309
+ cd apache-github-source-source
+ git fetch origin
From https://github.com/apache/hive
   b920fa7..b4980af  master     -> origin/master
+ git reset --hard HEAD
HEAD is now at b920fa7 HIVE-15307 Hive MERGE: "when matched then update" allows invalid column names. (Eugene Koifman, reviewed by Alan Gates)
+ git clean -f -d
Removing ql/src/java/org/apache/hadoop/hive/ql/parse/TypeCheckProcFactory.java.orig
Removing ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFLikeAll.java
Removing ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFLikeAny.java
Removing ql/src/test/org/apache/hadoop/hive/ql/udf/generic/TestGenericUDFLikeAll.java
Removing ql/src/test/org/apache/hadoop/hive/ql/udf/generic/TestGenericUDFLikeAny.java
Removing ql/src/test/queries/clientnegative/udf_likeall_wrong1.q
Removing ql/src/test/queries/clientnegative/udf_likeany_wrong1.q
Removing ql/src/test/queries/clientpositive/udf_likeall.q
Removing ql/src/test/queries/clientpositive/udf_likeany.q
Removing ql/src/test/results/clientnegative/udf_likeall_wrong1.q.out
Removing ql/src/test/results/clientnegative/udf_likeany_wrong1.q.out
Removing ql/src/test/results/clientpositive/udf_likeall.q.out
Removing ql/src/test/results/clientpositive/udf_likeany.q.out
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at b4980af HIVE-15359: skip.footer.line.count doesnt work properly for certain situations (Yongzhi Chen, reviewed by Aihua Xu)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2016-12-08 15:28:19.626
+ 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: patch failed: ql/src/java/org/apache/hadoop/hive/ql/optimizer/spark/CombineEquivalentWorkResolver.java:31
error: ql/src/java/org/apache/hadoop/hive/ql/optimizer/spark/CombineEquivalentWorkResolver.java: patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/plan/VectorPartitionDesc.java:21
error: ql/src/java/org/apache/hadoop/hive/ql/plan/VectorPartitionDesc.java: patch does not apply
error: ql/src/test/queries/clientpositive/spark_combine_equivalent_work.q: already exists in working directory
The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12842346 - PreCommit-HIVE-Build

> Backport HIVE-15239 to branch-1
> -------------------------------
>
>                 Key: HIVE-15389
>                 URL: https://issues.apache.org/jira/browse/HIVE-15389
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>    Affects Versions: 1.2.0, 2.1.0
>            Reporter: Niklaus Xiao
>            Assignee: Niklaus Xiao
>             Fix For: 1.3.0
>
>         Attachments: HIVE-15389.branch-1.1.patch
>
>
> env: hive on spark engine
> reproduce step:
> {code}
> create table a1(KEHHAO string, START_DT string) partitioned by (END_DT string);
> create table a2(KEHHAO string, START_DT string) partitioned by (END_DT string);
> alter table a1 add partition(END_DT='20161020');
> alter table a1 add partition(END_DT='20161021');
> insert into table a1 partition(END_DT='20161020') values('2000721360','20161001');
> SELECT T1.KEHHAO,COUNT(1) FROM ( 
> SELECT KEHHAO FROM a1 T 
> WHERE T.KEHHAO = '2000721360' AND '20161018' BETWEEN T.START_DT AND T.END_DT-1 
> UNION ALL 
> SELECT KEHHAO FROM a2 T
> WHERE T.KEHHAO = '2000721360' AND '20161018' BETWEEN T.START_DT AND T.END_DT-1 
> ) T1 
> GROUP BY T1.KEHHAO 
> HAVING COUNT(1)>1; 
> +-------------+------+--+
> |  t1.kehhao  | _c1  |
> +-------------+------+--+
> | 2000721360  | 2    |
> +-------------+------+--+
> {code}
> the result should be none record



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)