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 2018/03/17 20:00:00 UTC

[jira] [Commented] (HIVE-17843) UINT32 Parquet columns are handled as signed INT32-s, silently reading incorrect data

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

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



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

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

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

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-17 19:57:20.431
+ [[ -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-9689/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-17 19:57:20.434
+ cd apache-github-source-source
+ git fetch origin
+ 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-17 19:57:24.354
+ rm -rf ../yetus_PreCommit-HIVE-Build-9689
+ mkdir ../yetus_PreCommit-HIVE-Build-9689
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-9689
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-9689/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: 12915021 - 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
>
>
> 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)