You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ivan Veselovsky (JIRA)" <ji...@apache.org> on 2017/01/09 11:19:58 UTC
[jira] [Commented] (IGNITE-4219) Hive job submission failed with exception ”java.io.UTFDataFormatException“
[ 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)