[ https://issues.apache.org/jira/browse/HDFS-6612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Wang updated HDFS-6612: ------------------------------ Description: MiniDFSNNTopology#simpleFederatedTopology(int numNameservices) always hardcode nameservice id, doesn't honor configuration setting. this cause some unit tests that depends on nameserver config behavior wrong. We should add a MiniDFSNNTopology#simpleFederatedTopology(Configuration conf) to use the value from configuration. Target Version/s: 2.5.0 Affects Version/s: 2.5.0 Release Note: (was: MiniDFSNNTopology#simpleFederatedTopology(int numNameservices) always hardcode nameservice id, doesn't honor configuration setting. this cause some unit tests that depends on nameserver config behavior wrong. We should add a MiniDFSNNTopology#simpleFederatedTopology(Configuration conf) to use the value from configuration.) > MiniDFSNNTopology#simpleFederatedTopology(int) always hardcode nameservice ID > ----------------------------------------------------------------------------- > > Key: HDFS-6612 > URL: https://issues.apache.org/jira/browse/HDFS-6612 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.5.0 > Reporter: Juan Yu > Assignee: Juan Yu > Priority: Minor > Fix For: 2.5.0 > > Attachments: HDFS-6612.001.patch > > > MiniDFSNNTopology#simpleFederatedTopology(int numNameservices) always > hardcode nameservice id, doesn't honor configuration setting. this cause some > unit tests that depends on nameserver config behavior wrong. > We should add a MiniDFSNNTopology#simpleFederatedTopology(Configuration conf) > to use the value from configuration. -- This message was sent by Atlassian JIRA (v6.2#6252)