[
https://issues.apache.org/jira/browse/GIRAPH-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15339988#comment-15339988
]
Hudson commented on GIRAPH-1075:
--------------------------------
FAILURE: Integrated in Giraph-trunk-Commit #1623 (See
[https://builds.apache.org/job/Giraph-trunk-Commit/1623/])
GIRAPH-1075 checkstyle (majakabiljo:
[http://git-wip-us.apache.org/repos/asf?p=giraph.git&a=commit&h=24664b9397a6dc153251ffd7a4d3c01515988748])
*
giraph-core/src/main/java/org/apache/giraph/utils/UnsafeByteArrayOutputStream.java
> UnsafeByteArrayOutputStream silently writes long UTFs incorrectly
> -----------------------------------------------------------------
>
> Key: GIRAPH-1075
> URL: https://issues.apache.org/jira/browse/GIRAPH-1075
> Project: Giraph
> Issue Type: Bug
> Reporter: Maja Kabiljo
> Assignee: Maja Kabiljo
>
> UnsafeByteArrayOutputStream.writeUTF was copied from DataOutputStream, but
> part which checks the length was missed out. When we try to write long
> strings they serialize without an issue, but when we try to deserialize them
> we get a wrong value back and don't read the same number of bytes. Make it
> fail like DataOutputStream instead.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)