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

Hive QA commented on HIVE-17843:
--------------------------------



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

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

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

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-03-18 23:31:30.232
+ [[ -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-9700/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-03-18 23:31:30.235
+ cd apache-github-source-source
+ git fetch origin
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
+ git reset --hard HEAD
HEAD is now at d2d50e6 HIVE-18886: ACID: NPE on unexplained mysql exceptions 
(Gopal V, reviewed by Eugene Koifman)
+ 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 d2d50e6 HIVE-18886: ACID: NPE on unexplained mysql exceptions 
(Gopal V, reviewed by Eugene Koifman)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-03-18 23:31:33.878
+ rm -rf ../yetus_PreCommit-HIVE-Build-9700
+ mkdir ../yetus_PreCommit-HIVE-Build-9700
+ git gc
+ sleep 1s
+ git gc
+ sleep 1s
+ git gc
+ sleep 1s
+ git gc
+ sleep 1s
+ git gc
+ sleep 1s
+ git gc
+ sleep 1s
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-9700
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-9700/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: missing binary patch data for 
'data/files/data_including_invalid_values.parquet'
error: binary patch does not apply to 
'data/files/data_including_invalid_values.parquet'
Falling back to three-way merge...
error: missing binary patch data for 
'data/files/data_including_invalid_values.parquet'
error: binary patch does not apply to 
'data/files/data_including_invalid_values.parquet'
error: data/files/data_including_invalid_values.parquet: patch does not apply
error: missing binary patch data for 'data/files/data_with_valid_values.parquet'
error: binary patch does not apply to 
'data/files/data_with_valid_values.parquet'
Falling back to three-way merge...
error: missing binary patch data for 'data/files/data_with_valid_values.parquet'
error: binary patch does not apply to 
'data/files/data_with_valid_values.parquet'
error: data/files/data_with_valid_values.parquet: patch does not apply
error: missing binary patch data for 'data/files/test_uint.parquet'
error: binary patch does not apply to 'data/files/test_uint.parquet'
Falling back to three-way merge...
error: missing binary patch data for 'data/files/test_uint.parquet'
error: binary patch does not apply to 'data/files/test_uint.parquet'
error: data/files/test_uint.parquet: patch does not apply
error: missing binary patch data for 
'files/data_including_invalid_values.parquet'
error: binary patch does not apply to 
'files/data_including_invalid_values.parquet'
Falling back to three-way merge...
error: missing binary patch data for 
'files/data_including_invalid_values.parquet'
error: binary patch does not apply to 
'files/data_including_invalid_values.parquet'
error: files/data_including_invalid_values.parquet: patch does not apply
error: missing binary patch data for 'files/data_with_valid_values.parquet'
error: binary patch does not apply to 'files/data_with_valid_values.parquet'
Falling back to three-way merge...
error: missing binary patch data for 'files/data_with_valid_values.parquet'
error: binary patch does not apply to 'files/data_with_valid_values.parquet'
error: files/data_with_valid_values.parquet: patch does not apply
error: missing binary patch data for 'files/test_uint.parquet'
error: binary patch does not apply to 'files/test_uint.parquet'
Falling back to three-way merge...
error: missing binary patch data for 'files/test_uint.parquet'
error: binary patch does not apply to 'files/test_uint.parquet'
error: files/test_uint.parquet: patch does not apply
error: 
src/java/org/apache/hadoop/hive/ql/io/parquet/convert/ETypeConverter.java: does 
not exist in index
error: 
src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java:
 does not exist in index
error: missing binary patch data for 'data_including_invalid_values.parquet'
error: binary patch does not apply to 'data_including_invalid_values.parquet'
Falling back to three-way merge...
error: missing binary patch data for 'data_including_invalid_values.parquet'
error: binary patch does not apply to 'data_including_invalid_values.parquet'
error: data_including_invalid_values.parquet: patch does not apply
error: missing binary patch data for 'data_with_valid_values.parquet'
error: binary patch does not apply to 'data_with_valid_values.parquet'
Falling back to three-way merge...
error: missing binary patch data for 'data_with_valid_values.parquet'
error: binary patch does not apply to 'data_with_valid_values.parquet'
error: data_with_valid_values.parquet: patch does not apply
error: missing binary patch data for 'test_uint.parquet'
error: binary patch does not apply to 'test_uint.parquet'
Falling back to three-way merge...
error: missing binary patch data for 'test_uint.parquet'
error: binary patch does not apply to 'test_uint.parquet'
error: test_uint.parquet: patch does not apply
error: java/org/apache/hadoop/hive/ql/io/parquet/convert/ETypeConverter.java: 
does not exist in index
error: 
java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java:
 does not exist in index
The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12915068 - PreCommit-HIVE-Build

> UINT32 Parquet columns are handled as signed INT32-s, silently reading 
> incorrect data
> -------------------------------------------------------------------------------------
>
>                 Key: HIVE-17843
>                 URL: https://issues.apache.org/jira/browse/HIVE-17843
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Zoltan Ivanfi
>            Assignee: Janaki Lahorani
>            Priority: Major
>         Attachments: HIVE-17843.1.patch, HIVE-17843.1.patch, 
> HIVE-17843.2.patch
>
>
> An unsigned 32 bit Parquet column, such as
> {noformat}
> optional int32 uint_32_col (UINT_32)
> {noformat}
> is read by Hive as if it were signed, leading to incorrect results.



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

Reply via email to