xinglin commented on pull request #4094:
URL: https://github.com/apache/hadoop/pull/4094#issuecomment-1075602418
> Could you add a pointer to where/how the corresponding logic lives in the
non-abstract filesystem object, just to easily verify the logic is the same
The logic is in DelegationTokenIssuer.java for
FileSystem.java/ViewFileSystem.java. `collectDelegationTokens()` in
DelegationTokenIssuer will collect token for the current issuer and all
AdditionalTokenIssuers. In FileSystem.java, we overwrite
`getAdditionalTokenIssuers()` to call `getChildFileSystem()` and ViewFileSystem
overwrites `getChildFileSystem()`, to include the fallback FS as well. So,
ViewFileSystem.java is good here.
--
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]