[ https://issues.apache.org/jira/browse/HDFS-15645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17243752#comment-17243752 ]
Ayush Saxena commented on HDFS-15645: ------------------------------------- bq. The DatanodeManager#getNumOfDataNodes() is used when verifying whether the given ec policies are supported in the cluster setup. Does HDFS-15117 or HDFS-14188 won't help in that case? Or is there some limitation there as well. > DatanodeManager.getNumOfDataNodes should consider the include set of host > config. > --------------------------------------------------------------------------------- > > Key: HDFS-15645 > URL: https://issues.apache.org/jira/browse/HDFS-15645 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Jinglun > Assignee: Jinglun > Priority: Major > Attachments: HDFS-15645.001.patch > > > Currently the DatanodeManager.getNumOfDataNodes() only count the size of > datanodeMap. The nodes from host file's include set should also be counted. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org