[ https://issues.apache.org/jira/browse/HADOOP-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakob Homan updated HADOOP-6004: -------------------------------- Attachment: HADOOP-6004.patch D'oh. Yes, it should be. Good catch. Uploaded new version. The BlockLocation class could be improved as there is an implicit requirement that the length of the hosts, names and topologies all should be the same length, which currently is not verified or enforced. A better implementation would be a list of tuples of {host, name, topology} with accompanying offset and length. > BlockLocation deserialization is incorrect > ------------------------------------------ > > Key: HADOOP-6004 > URL: https://issues.apache.org/jira/browse/HADOOP-6004 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Reporter: Jakob Homan > Assignee: Jakob Homan > Attachments: HADOOP-6004.patch, HADOOP-6004.patch > > > The {{readFields}} method of {{BlockLocation}} does not correctly allocate > new arrays for topologyPaths and hosts. Patch shortly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.