[ https://issues.apache.org/jira/browse/HDFS-13853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16806078#comment-16806078 ]
Ayush Saxena commented on HDFS-13853: ------------------------------------- Have extended the error cases in the test. Tried covering almost all I can think. Let me know if some more are required. :) Parse Boolean didn't return exception if it isn't true/false. It just checks for true. So had to handle it manually to get the intended behavior. > 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, > HDFS-13853-HDFS-13891-04.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