Dibyendu Karmakar created HDFS-13853:
----------------------------------------
Summary: RouterAdmin update cmd is overwriting the entry not
updating the existing
Key: HDFS-13853
URL: https://issues.apache.org/jira/browse/HDFS-13853
Project: Hadoop HDFS
Issue Type: Sub-task
Reporter: Dibyendu Karmakar
Assignee: Dibyendu Karmakar
{code:java}
// Create a new entry
Map<String, String> destMap = new LinkedHashMap<>();
for (String ns : nss) {
destMap.put(ns, dest);
}
MountTable newEntry = MountTable.newInstance(mount, destMap);
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]