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

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

[~RANith], only one comment from me: We need to get the new response again 
rather than reuse the previous response instance before verifying the mount 
table size (like following). Sorry for missing this in previous comment.
{code:java}
    assertEquals(0, ToolRunner.run(admin, cmd));

    stateStore.loadCache(MountTableStoreImpl.class, true); 
    getResponse = client.getMountTableManager()
        .getMountTableEntries(getRequest);

    assertEquals(1, getResponse.getEntries().size());
{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, 
> HDFS-13815-003.patch, HDFS-13815-004.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