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=206096&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-206096

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_r261023663

 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:
   If ozone security as well hadoop security is turned on then we should fetch DT from both.
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:

Issue Time Tracking

    Worklog Id:     (was: 206096)
    Time Spent: 50m  (was: 40m)

> 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: 50m
>  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

To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org

View raw message