[
https://issues.apache.org/jira/browse/HDDS-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856057#comment-16856057
]
Bharat Viswanadham edited comment on HDDS-1600 at 6/4/19 7:36 PM:
------------------------------------------------------------------
Thank You [~eyang] for the suggestion. Sorry I missed this comment, and checked
in the fix. After moving to github model, tracking comments on PR, so missed
this.
Right now IPAddress is not used in the validation. I will open a Jira to pass
hostName also.
was (Author: bharatviswa):
Thank You [~eyang] I missed this comment, and checked in the fix.
Right now IPAddress is not used in the validation. I will open a Jira to pass
hostName also.
> Add userName and IPAddress as part of OMRequest.
> ------------------------------------------------
>
> Key: HDDS-1600
> URL: https://issues.apache.org/jira/browse/HDDS-1600
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 5.5h
> Remaining Estimate: 0h
>
> In OM HA, the actual execution of request happens under GRPC context, so UGI
> object which we retrieve from ProtobufRpcEngine.Server.getRemoteUser(); will
> not be available.
> In similar manner ProtobufRpcEngine.Server.getRemoteIp().
>
> So, during preExecute(which happens under RPC context) extract userName and
> IPAddress and add it to the OMRequest, and then send the request to ratis
> server.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]