ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-4219) Hive job submission failed with exception ”java.io.UTFDataFormatException“
Date Mon, 09 Jan 2017 11:19:58 GMT

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

Ivan Veselovsky commented on IGNITE-4219:
-----------------------------------------

ObjectOutputStream#writeUTF() exactly specifies this behavior in javadoc: 
{code}
     *If this number is larger than
     * <code>65535</code>, then a <code>UTFDataFormatException</code>
     * is thrown. Otherwise, this length is written
     * to the output stream in exactly the manner
     * of the <code>writeShort</code> method;
     * after this, the one-, two-, or three-byte
     * representation of each character in the
     * string <code>s</code> is written.
{code}

> Hive job submission failed with exception ”java.io.UTFDataFormatException“
> --------------------------------------------------------------------------
>
>                 Key: IGNITE-4219
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4219
>             Project: Ignite
>          Issue Type: Bug
>          Components: hadoop
>            Reporter: Andrew Mashenkov
>            Assignee: Ivan Veselovsky
>            Priority: Minor
>             Fix For: 2.0
>
>
> Long property passing to Hadoop causes an exception:
> {code}
> Caused by: java.io.UTFDataFormatException 
>        at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:2144)

>        at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:1987)

>        at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:865) 
>        at org.apache.ignite.internal.util.IgniteUtils.writeUTFStringNullable(IgniteUtils.java:5029)

>        at org.apache.ignite.internal.util.IgniteUtils.writeStringMap(IgniteUtils.java:4989)

>        at org.apache.ignite.internal.processors.hadoop.HadoopDefaultJobInfo.writeExternal(HadoopDefaultJobInfo.java:137)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message