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-4222) Timestamp type constants cannot be deserialized in JDK 1.6 or less
Date Wed, 24 Jul 2013 19:37:49 GMT

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

Hive QA commented on HIVE-4222:
-------------------------------



{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/12593736/HIVE-4222.D9681.3.patch

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 2651 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_view_cast
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/168/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/168/console

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

This message is automatically generated.
                
> Timestamp type constants cannot be deserialized in JDK 1.6 or less
> ------------------------------------------------------------------
>
>                 Key: HIVE-4222
>                 URL: https://issues.apache.org/jira/browse/HIVE-4222
>             Project: Hive
>          Issue Type: Bug
>          Components: Types
>            Reporter: Navis
>            Assignee: Navis
>         Attachments: HIVE-4222.D9681.1.patch, HIVE-4222.D9681.2.patch, HIVE-4222.D9681.3.patch
>
>
> For example,
> {noformat}
> ExprNodeConstantDesc constant = new ExprNodeConstantDesc(TypeInfoFactory.timestampTypeInfo,
new Timestamp(100));
> String serialized = Utilities.serializeExpression(constant);
> ExprNodeConstantDesc deserilized = (ExprNodeConstantDesc) Utilities.deserializeExpression(serialized,
new Configuration());
> {noformat}
> logs error message
> {noformat}
> java.lang.InstantiationException: java.sql.Timestamp
> Continuing ...
> java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
> Continuing ...
> {noformat}
> and makes NPE in final.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message