hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6004) BlockLocation deserialization is incorrect
Date Tue, 16 Jun 2009 00:30:07 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719870#action_12719870
] 

Tsz Wo (Nicholas), SZE commented on HADOOP-6004:
------------------------------------------------

> ... A better refactoring would be ...

My suggestion is not a code refactoring: it reduces the number of object creations since "new
Text()" is not needed.

> 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.


Mime
View raw message