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

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

                Author: ASF GitHub Bot
            Created on: 06/Jul/22 14:44
            Start Date: 06/Jul/22 14:44
    Worklog Time Spent: 10m 
      Work Description: ayushtkn commented on PR #4524:
URL: https://github.com/apache/hadoop/pull/4524#issuecomment-1176312209

   @Hexiaoqiao I am ok with using path, but if I catch correct, the only save 
with using path will be like we won't be exposing the namespaces to the end 
client? but in exchange we will be saving I think a bunch of RPCs, especially 
in case of multi destination mount points. 
   
   May be from the performance point of view, it might be better with 
namespaces( the present approach). But I don't have any strong objections, if 
you feel we shouldn't expose the namespaces to end client.
   
   if there is a particular use case where we shouldn't expose namespace to end 
client, in that case we may hide this change behind a config, and this 
optimisation won't work in that case, but in general ViewFs also knows about 
all namespaces and usually a lot of clients too have these namespaces defined 
in their configs. so, that is not a big secret, and this namespace info will 
also be their in back-end and I even don't think exposing them via this route 
can have any security issue?
   
   But I am Ok, with whichever approach you folks feel better..




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

    Worklog Id:     (was: 788285)
    Time Spent: 5h 10m  (was: 5h)

> RBF: improve renewLease() to call only a specific NameNode rather than make 
> fan-out calls
> -----------------------------------------------------------------------------------------
>
>                 Key: HDFS-16283
>                 URL: https://issues.apache.org/jira/browse/HDFS-16283
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: rbf
>            Reporter: Aihua Xu
>            Assignee: Aihua Xu
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: RBF_ improve renewLease() to call only a specific 
> NameNode rather than make fan-out calls.pdf
>
>          Time Spent: 5h 10m
>  Remaining Estimate: 0h
>
> Currently renewLease() against a router will make fan-out to all the 
> NameNodes. Since renewLease() call is so frequent and if one of the NameNodes 
> are slow, then eventually the router queues are blocked by all renewLease() 
> and cause router degradation. 
> We will make a change in the client side to keep track of NameNode Id in 
> additional to current fileId so routers understand which NameNodes the client 
> is renewing lease against.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
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