[ 
https://issues.apache.org/jira/browse/HDFS-15554?focusedWorklogId=481039&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-481039
 ]

ASF GitHub Bot logged work on HDFS-15554:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Sep/20 20:07
            Start Date: 09/Sep/20 20:07
    Worklog Time Spent: 10m 
      Work Description: goiri commented on a change in pull request #2266:
URL: https://github.com/apache/hadoop/pull/2266#discussion_r485892025



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterAdmin.java
##########
@@ -78,6 +83,11 @@
       "Hadoop:service=Router,name=FederationRPC";
   private static List<MountTable> mockMountTable;
   private static StateStoreService stateStore;
+  private static RouterRpcClient mockRpcClient;
+  private static final Map<RemoteLocation, HdfsFileStatus> mockResponse0 =

Review comment:
       checkstyle is complaining




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 481039)
    Time Spent: 2h 50m  (was: 2h 40m)

> RBF: force router check file existence in destinations before adding/updating 
> mount points
> ------------------------------------------------------------------------------------------
>
>                 Key: HDFS-15554
>                 URL: https://issues.apache.org/jira/browse/HDFS-15554
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Fengnan Li
>            Assignee: Fengnan Li
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> Adding/Updating mount points right now is only a router action without 
> validation in the downstream namenodes for the destination files/directories.
> In practice we have set up the dangling mount points and when clients call 
> listStatus they would get the file returned, but then if they try to access 
> the file FileNotFoundException would be thrown out.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to