hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Work logged] (HDDS-1600) Add userName and IPAddress as part of OMRequest.
Date Fri, 31 May 2019 18:42:00 GMT

     [ https://issues.apache.org/jira/browse/HDDS-1600?focusedWorklogId=251983&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-251983
]

ASF GitHub Bot logged work on HDDS-1600:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/May/19 18:41
            Start Date: 31/May/19 18:41
    Worklog Time Spent: 10m 
      Work Description: xiaoyuyao commented on pull request #857: HDDS-1600. Add userName
and IPAddress as part of OMRequest.
URL: https://github.com/apache/hadoop/pull/857#discussion_r289508835
 
 

 ##########
 File path: hadoop-ozone/common/src/main/proto/OzoneManagerProtocol.proto
 ##########
 @@ -284,6 +289,16 @@ message VolumeInfo {
     required uint64 creationTime = 7;
 }
 
+/**
+    User information which will be extracted during RPC context and used
+    during validating Acl.
+*/
+message UserInfo {
+    optional string userName = 1;
 
 Review comment:
   Should we set these fields required?
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 251983)
    Time Spent: 1h  (was: 50m)

> 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
>          Time Spent: 1h
>  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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message