hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7473) Null values in DECIMAL columns cause serialization issues with HCatalog
Date Thu, 24 Jul 2014 14:16:38 GMT

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

Hive QA commented on HIVE-7473:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

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

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 5756 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_join_hash
org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/37/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/37/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-37/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12657169

> Null values in DECIMAL columns cause serialization issues with HCatalog
> -----------------------------------------------------------------------
>
>                 Key: HIVE-7473
>                 URL: https://issues.apache.org/jira/browse/HIVE-7473
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 0.13.1
>            Reporter: Craig Condit
>            Assignee: Craig Condit
>         Attachments: HIVE-7473.patch
>
>
> WritableHiveDecimalObjectInspector appears to be missing null checks in getPrimitiveWritableObject(Object)
and getPrimitiveJavaObject(Object). The same checks do exist in WritableHiveVarcharObjectInspector.
> Attempting to read from a table in HCatalog containing null values for decimal columns
results in the following exception (Pig used here):
> {noformat}
> Error: org.apache.pig.backend.executionengine.ExecException: ERROR 6018: Error converting
read value to tuple at
>   org.apache.hive.hcatalog.pig.HCatBaseLoader.getNext(HCatBaseLoader.java:76) at
>   org.apache.hive.hcatalog.pig.HCatLoader.getNext(HCatLoader.java:58) at
>   org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.PigRecordReader.nextKeyValue(PigRecordReader.java:211)
at
>   org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.nextKeyValue(MapTask.java:532)
at
>   org.apache.hadoop.mapreduce.task.MapContextImpl.nextKeyValue(MapContextImpl.java:80)
at
>   org.apache.hadoop.mapreduce.lib.map.WrappedMapper$Context.nextKeyValue(WrappedMapper.java:91)
at
>   org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:144) at
>   org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:763) at
>   org.apache.hadoop.mapred.MapTask.run(MapTask.java:339) at
>   org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:162) at
>   java.security.AccessController.doPrivileged(Native Method) at
>   javax.security.auth.Subject.doAs(Subject.java:415) at
>   org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1491)
at
>   org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:157)
> Caused by: java.lang.NullPointerException at 
>   org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableHiveDecimalObjectInspector.getPrimitiveJavaObject(WritableHiveDecimalObjectInspector.java:43)
at
>   org.apache.hadoop.hive.serde2.objectinspector.primitive.WritableHiveDecimalObjectInspector.getPrimitiveJavaObject(WritableHiveDecimalObjectInspector.java:26)
at 
>   org.apache.hive.hcatalog.data.HCatRecordSerDe.serializePrimitiveField(HCatRecordSerDe.java:269)
at
>   org.apache.hive.hcatalog.data.HCatRecordSerDe.serializeField(HCatRecordSerDe.java:192)
at
>   org.apache.hive.hcatalog.data.LazyHCatRecord.get(LazyHCatRecord.java:53) at
>   org.apache.hive.hcatalog.data.LazyHCatRecord.get(LazyHCatRecord.java:97) at
>   org.apache.hive.hcatalog.mapreduce.HCatRecordReader.nextKeyValue(HCatRecordReader.java:204)
at
>   org.apache.hive.hcatalog.pig.HCatBaseLoader.getNext(HCatBaseLoader.java:63)
>   ... 13 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message