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

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

                Author: ASF GitHub Bot
            Created on: 21/Mar/19 20:19
            Start Date: 21/Mar/19 20:19
    Worklog Time Spent: 10m 
      Work Description: ajayydv commented on pull request #627: HDDS-1299. 
Support TokenIssuer interface for running jobs with OzoneFileSystem.
URL: https://github.com/apache/hadoop/pull/627#discussion_r267937938
 
 

 ##########
 File path: 
hadoop-ozone/ozonefs/src/main/java/org/apache/hadoop/fs/ozone/OzoneClientAdapterImpl.java
 ##########
 @@ -289,7 +291,7 @@ public boolean hasNextKey(String key) {
   @Override
   public Token<OzoneTokenIdentifier> getDelegationToken(String renewer)
       throws IOException {
-    if (!securityEnabled) {
+    if (!securityEnabled || renewer == null) {
 
 Review comment:
   Seems issuing token even if renewer is not passed seems to be legit case.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


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

    Worklog Id:     (was: 216998)
    Time Spent: 3h 20m  (was: 3h 10m)

> Support TokenIssuer interface for running jobs with OzoneFileSystem
> -------------------------------------------------------------------
>
>                 Key: HDDS-1299
>                 URL: https://issues.apache.org/jira/browse/HDDS-1299
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>            Priority: Blocker
>              Labels: pull-request-available
>          Time Spent: 3h 20m
>  Remaining Estimate: 0h
>
> This ticket is opened to add TokenIssuer interface support to OzoneFileSystem 
> so that MR and Spark jobs can run with OzoneFileSystem in secure mode. 
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to