[ https://issues.apache.org/jira/browse/HDFS-13853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806028#comment-16806028 ]
Ayush Saxena commented on HDFS-13853: ------------------------------------- Thanx [~elgoiri] for the review. I too had hard feeling for it. but since it was said [here|https://issues.apache.org/jira/browse/HDFS-13912?focusedCommentId=16674710&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16674710] so I included it. Well I have removed and keep only the replacing the destination part. Pls Review!!! > 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: Ayush Saxena > Priority: Major > Attachments: HDFS-13853-HDFS-13891-01.patch, > HDFS-13853-HDFS-13891-02.patch, HDFS-13853-HDFS-13891-03.patch > > > {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