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-1183) Override getDelegationToken API for OzoneFileSystem
Date Thu, 28 Feb 2019 22:33:00 GMT

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

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

                Author: ASF GitHub Bot
            Created on: 28/Feb/19 22:32
            Start Date: 28/Feb/19 22:32
    Worklog Time Spent: 10m 
      Work Description: ajayydv commented on pull request #526: HDDS-1183. Override getDelegationToken
API for OzoneFileSystem. Contr…
URL: https://github.com/apache/hadoop/pull/526#discussion_r261024027
 
 

 ##########
 File path: hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/OzoneFileSystem.java
 ##########
 @@ -669,6 +676,12 @@ public Path getWorkingDirectory() {
     return workingDir;
   }
 
+  @Override
+  public Token<?> getDelegationToken(String renewer) throws IOException {
+    return securityEnabled? adapter.getDelegationToken(renewer) :
+        super.getDelegationToken(renewer);
 
 Review comment:
   Shall we add a unit test or robot test?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 206095)
    Time Spent: 40m  (was: 0.5h)

> Override getDelegationToken API for OzoneFileSystem
> ---------------------------------------------------
>
>                 Key: HDDS-1183
>                 URL: https://issues.apache.org/jira/browse/HDDS-1183
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> This includes addDelegationToken/renewDelegationToken/cancelDelegationToken so that MR
jobs can collect tokens correctly upon job submission time. 



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