Zhe Zhang created HDFS-8751: ------------------------------- Summary: 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 Reporter: Zhe Zhang Assignee: Zhe Zhang
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)