tomscut commented on pull request #3538:
URL: https://github.com/apache/hadoop/pull/3538#issuecomment-955096647


   > Thanks for updating it, @tomscut. I tried it with my RBF cluster. There is 
a client server (1.1.1.1), a DFS Router (2.2.2.2), and NameNode. When a client 
sends a request to the Router, NameNode logs the following.
   > 
   > ```
   > INFO FSNamesystem.audit: allowed=true   ugi=tasanuma ip=/2.2.2.2       
cmd=listStatus  src=/user/tasanuma      dst=null        perm=null       
proto=rpc       callerContext=CLI,clientIp:1.1.1.1,clientPort:33070
   > ```
   > 
   > In this case, `clientIp:1.1.1.1` is the IP of the client server, but 
`clientPort:33070` is the port of the DFS Router (2.2.2.2), not the one of the 
client server. It would be confusing for the users.
   
   Thank you @tasanuma  very much for your test. Because the router acts as a 
client of the Namenode, in this case the port of router is indeed regarded as a 
```clientport```.


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