[
https://issues.apache.org/jira/browse/HDFS-13842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16588346#comment-16588346
]
Ranith Sardar commented on HDFS-13842:
--------------------------------------
In routerAdmin.java, when it checks the existence of the entry, should return
false (if the enrty point is already exists). Then "Successfully added mount
point" - will not not be printed.
> RBF : Exceptions are conflicting If we try to create the same mount entry
> once again
> ------------------------------------------------------------------------------------
>
> Key: HDFS-13842
> URL: https://issues.apache.org/jira/browse/HDFS-13842
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Soumyapn
> Priority: Major
> Labels: RBF
>
> Test Steps:
> # Execute the command : hdfs dfsrouteradmin -add /apps7 hacluster /tmp7
> # Execute the same command once again.
> Expected Result:
> User should get the message saying already the mount entry is present.
>
> Actual Result:
> console message is displayed like below.
> "Cannot add destination at hacluster /tmp7
> Successfully added mount point /apps7"
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]