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

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



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12930010/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/12348/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12348/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12348/

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-03 13:42:23.261
+ [[ -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-12348/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-03 13:42:23.263
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
   9e10efc..e965ddc  branch-3   -> origin/branch-3
+ git reset --hard HEAD
HEAD is now at f519db7 HIVE-19267: Replicate ACID/MM tables write operations 
(Mahesh Kumar Behera, reviewed by 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 f519db7 HIVE-19267: Replicate ACID/MM tables write operations 
(Mahesh Kumar Behera, reviewed by Sankar Hariappan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-07-03 13:42:24.383
+ rm -rf ../yetus_PreCommit-HIVE-Build-12348
+ mkdir ../yetus_PreCommit-HIVE-Build-12348
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-12348
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-12348/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: 
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:105
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: 
standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp:2334
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp' with 
conflicts.
error: patch failed: 
standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp:24099
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp' with 
conflicts.
error: patch failed: 
standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java:42252
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java'
 with conflicts.
error: patch failed: 
standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php:15440
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php' 
with conflicts.
error: patch failed: 
standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py:15987
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py'
 with conflicts.
error: patch failed: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:80
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: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java:19
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java'
 with conflicts.
error: patch failed: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java:49
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java'
 with conflicts.
error: patch failed: 
standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql:323
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql' with 
conflicts.
error: patch failed: 
standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql:339
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql' 
with conflicts.
error: patch failed: 
standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java:85
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java'
 with conflicts.
Going to apply patch with: git apply -p0
/data/hiveptest/working/scratch/build.patch:1622: trailing whitespace.
explain insert into table stats_nonpartitioned select * from mysource where p 
== 100; 
/data/hiveptest/working/scratch/build.patch:1623: trailing whitespace.
insert into table stats_nonpartitioned select * from mysource where p == 100; 
/data/hiveptest/working/scratch/build.patch:1726: trailing whitespace.
--delete from stats_part where key in (20, 41); 
/data/hiveptest/working/scratch/build.patch:1830: trailing whitespace.
delete from stats_part where key in (20, 41); 
/data/hiveptest/working/scratch/build.patch:1885: trailing whitespace.
explain insert into table stats_nonpartitioned select * from mysource where p 
== 100; 
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:105
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: 
standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp:2334
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp' with 
conflicts.
error: patch failed: 
standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp:24099
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp' with 
conflicts.
error: patch failed: 
standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java:42252
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java'
 with conflicts.
error: patch failed: 
standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php:15440
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php' 
with conflicts.
error: patch failed: 
standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py:15987
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py'
 with conflicts.
error: patch failed: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:80
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: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java:19
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java'
 with conflicts.
error: patch failed: 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java:49
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java'
 with conflicts.
error: patch failed: 
standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql:323
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql' with 
conflicts.
error: patch failed: 
standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql:339
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql' 
with conflicts.
error: patch failed: 
standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java:85
Falling back to three-way merge...
Applied patch to 
'standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java'
 with conflicts.
U ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
U standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp
U standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp
U 
standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java
U standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php
U 
standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py
U 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java
U 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java
U 
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java
U standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql
U standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql
U 
standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java
warning: squelched 827 whitespace errors
warning: 832 lines add whitespace errors.
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-12348
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12930010 - 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, HIVE-19975.patch, 
> branch-19975.01.nogen.patch, branch-19975.nogen.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