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

Yiqun Lin commented on HDFS-13815:
----------------------------------

Hi [~RANith], some minor comments for v002 patch:
 * Remove redundant line {{// String nsId = "ns0";}}.
 * You may remove extra spaces in string array, it will be checked as a 
checkstyle issues.
{code:java}
new String[] { "-add", src, nsId, dest }; to new String[] {"-add", src, nsId, 
dest};
{code}

> RBF: Add check to order command
> -------------------------------
>
>                 Key: HDFS-13815
>                 URL: https://issues.apache.org/jira/browse/HDFS-13815
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: federation
>    Affects Versions: 3.0.0
>            Reporter: Soumyapn
>            Assignee: Ranith Sardar
>            Priority: Major
>         Attachments: HDFS-13815-001.patch, HDFS-13815-002.patch
>
>
> No check being done on order command.
> It says successfully updated mount table if we don't specify order command 
> and it is not updated in mount table
> Execute the dfsrouter update command with the below scenarios.
> 1. ./hdfs dfsrouteradmin -update /apps3 hacluster,ns2 /tmp6 RANDOM
> 2. ./hdfs dfsrouteradmin -update /apps3 hacluster,ns2 /tmp6 -or RANDOM
> 3. ./hdfs dfsrouteradmin -update /apps3 hacluster,ns2 /tmp6  -ord RANDOM
> 4. ./hdfs dfsrouteradmin -update /apps3 hacluster,ns2 /tmp6  -orde RANDOM
>  
> The console message says, Successfully updated mount point. But it is not 
> updated in the mount table.
>  
> Expected Result:
> Exception on console as the order command is missing/not written properl



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to