[
https://issues.apache.org/jira/browse/HDFS-14936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961810#comment-16961810
]
Ayush Saxena commented on HDFS-14936:
-------------------------------------
we should check for non zero entry too in the test
> Add getNumOfChildren() for interface InnerNode
> ----------------------------------------------
>
> Key: HDFS-14936
> URL: https://issues.apache.org/jira/browse/HDFS-14936
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Lisheng Sun
> Assignee: Lisheng Sun
> Priority: Minor
> Attachments: HDFS-14936.001.patch, HDFS-14936.002.patch
>
>
> current code InnerNode subclass InnerNodeImpl and DFSTopologyNodeImpl both
> have getNumOfChildren().
> so Add getNumOfChildren() for interface InnerNode and remove unnessary
> getNumOfChildren() in DFSTopologyNodeImpl.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]