[ 
https://issues.apache.org/jira/browse/HDFS-13853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16769785#comment-16769785
 ] 

Ayush Saxena commented on HDFS-13853:
-------------------------------------

Interestingly if we now start updating rather than overwriting, if we change 
the order keeping the destinations same. Wouldn't that bring up inconsistencies?

> RBF: 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
>            Priority: Major
>
> {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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to