Tsz Wo (Nicholas), SZE created HDFS-4107: --------------------------------------------
Summary: Add utility methods to cast INode to INodeFile and INodeFileUnderConstruction Key: HDFS-4107 URL: https://issues.apache.org/jira/browse/HDFS-4107 Project: Hadoop HDFS Issue Type: Bug Components: name-node Reporter: Tsz Wo (Nicholas), SZE Assignee: Tsz Wo (Nicholas), SZE In the namenode code, there are many individual routines checking whether an inode is null and whether it could be cast to INodeFile/INodeFileUnderConstruction. Let's add utility methods for such checks. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira