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


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to