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

Hive QA commented on HIVE-19975:
--------------------------------



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

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

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

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'
2018-07-01 06:57:09.250
+ [[ -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-12294/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'
2018-07-01 06:57:09.253
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 1c33fea HIVE-19970: Replication dump has a NPE when table is 
empty (Mahesh Kumar Behera, reviewed by Peter Vary, Sankar Hariappan)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 1c33fea HIVE-19970: Replication dump has a NPE when table is 
empty (Mahesh Kumar Behera, reviewed by Peter Vary, Sankar Hariappan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-07-01 06:57:10.883
+ rm -rf ../yetus_PreCommit-HIVE-Build-12294
+ mkdir ../yetus_PreCommit-HIVE-Build-12294
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-12294
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-12294/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: patch failed: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:12347
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java'
 with conflicts.
error: patch failed: 
storage-api/src/java/org/apache/hive/common/util/TxnIdUtils.java:73
Falling back to three-way merge...
Applied patch to 
'storage-api/src/java/org/apache/hive/common/util/TxnIdUtils.java' cleanly.
Going to apply patch with: git apply -p0
error: patch failed: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:12347
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java'
 with conflicts.
error: patch failed: 
storage-api/src/java/org/apache/hive/common/util/TxnIdUtils.java:73
Falling back to three-way merge...
Applied patch to 
'storage-api/src/java/org/apache/hive/common/util/TxnIdUtils.java' cleanly.
U 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-12294
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12929692 - PreCommit-HIVE-Build

> Checking writeIdList per table may not check the commit level of a partition 
> on a partitioned table
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-19975
>                 URL: https://issues.apache.org/jira/browse/HIVE-19975
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Transactions
>    Affects Versions: 4.0.0
>            Reporter: Steve Yeom
>            Assignee: Sergey Shelukhin
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-19975.01.patch
>
>
> writeIdList is per table entity but stats for a partitioned table are per 
> partition. 
> I.e., each record in PARTITIONS has an independent stats. 
> So if we check the validity of a partition's stats, we need to check in the 
> context of 
> a partiton. 



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

Reply via email to