hfutatzhanghb commented on PR #5262: URL: https://github.com/apache/hadoop/pull/5262#issuecomment-1368673356
> > Yes,the src is not the dst path, but we can use the src to lookup real dst path in mount table. Here, we can not execute this.subclusterResolver.getMountPoints(path);, because the statement is time-consuming. > > From correctness point of view it isn't correct. If `/mount/path` points to Ns0 `/dir` and we log` /mount/path` in the namenode, it can lead to confusions if the namenode also has a path named `/mount/path`, If you operate on `/dir` via router `/mount/path` and if you directly operate on `/mount/path` on the namenode. > > If it has serious performance penalties we need to make it configurable and then figure out what can be done when the config is disabled. Thanks @ayushtkn again, i will continue to work on this problem. -- 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]
