hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhe Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8751) Remove setBlocks API from INodeFile and misc code cleanup
Date Fri, 10 Jul 2015 17:01:04 GMT

     [ https://issues.apache.org/jira/browse/HDFS-8751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zhe Zhang updated HDFS-8751:
----------------------------
    Attachment: HDFS-8751.01.patch

Thanks Rakesh for reviewing the patch! Updating the patch to address the the wrong comment
message and checkstyle issue. The test failure and timeout are unrelated and pass fine locally.
The new patch also corrects a mistake in the new test.

> Remove setBlocks API from INodeFile and misc code cleanup
> ---------------------------------------------------------
>
>                 Key: HDFS-8751
>                 URL: https://issues.apache.org/jira/browse/HDFS-8751
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 2.7.0
>            Reporter: Zhe Zhang
>            Assignee: Zhe Zhang
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8751.00.patch, HDFS-8751.01.patch
>
>
> The public {{INodeFile#setBlocks}} API, when used outside {{INodeFile}}, is always called
with {{null}}. Therefore we should replace it with a safer {{clearBlocks}} API. Also merging
code cleanups from HDFS-7285 branch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message