[
https://issues.apache.org/jira/browse/HAMA-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyunsik Choi updated HAMA-270:
------------------------------
Attachment: HAMA-270_2.patch
I attach the fixed patch.
> wrong sequence of readFields() of ClusterStatus
> -----------------------------------------------
>
> Key: HAMA-270
> URL: https://issues.apache.org/jira/browse/HAMA-270
> Project: Hama
> Issue Type: Bug
> Components: bsp
> Affects Versions: 0.2.0
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Fix For: 0.2.0
>
> Attachments: HAMA-270.patch, HAMA-270_2.patch
>
>
> in write method
> {code}
> ...
> out.writeInt(activeGrooms.size());
> for(String groom: activeGrooms) {
> Text.writeString(out, groom);
> }
> ...
> {code}
> But, readFields method has wrong sequence as follows:
> {code}
> ...
> if (numGroomNames > 0) {
> name = Text.readString(in);
> activeGrooms.add(name);
> }
> ...
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.