[ 
https://issues.apache.org/jira/browse/HDFS-1442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019141#comment-13019141
 ] 

Jitendra Nath Pandey commented on HDFS-1442:
--------------------------------------------

System test framework failed with errors
     [exec]      [iajc] 
/Users/jitendra/workspace/commit/hadoop-hdfs/src/java/org/apache/hadoop/fs/Hdfs.java:396
 [error] The method getDelegationTokens(String) of type Hdfs must override or 
implement a supertype method
     [exec]      [iajc] public List<Token<?>> getDelegationTokens(String 
renewer) throws IOException {
     [exec]      [iajc]                       
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     [exec]      [iajc] 
/Users/jitendra/workspace/commit/hadoop-hdfs/src/java/org/apache/hadoop/hdfs/DistributedFileSystem.java:817
 [error] The method getDelegationTokens(String) of type DistributedFileSystem 
must override or implement a supertype method
     [exec]      [iajc] public List<Token<?>> getDelegationTokens(String 
renewer) throws IOException {


The super-class methods are implemented in HADOOP-6994 patch which will be 
committed together with this patch. It seems super-class methods were not 
resolved or detected from internal repository. However, fault injection tests 
passed when I ran ant test with resolvers=internal.

> Api to get delegation token in Hdfs
> -----------------------------------
>
>                 Key: HDFS-1442
>                 URL: https://issues.apache.org/jira/browse/HDFS-1442
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Jitendra Nath Pandey
>            Assignee: Jitendra Nath Pandey
>         Attachments: HDFS-1442.2.patch, HDFS-1442.4.patch, HDFS-1442.5.patch, 
> HDFS-1442.6.patch, HDFS-1442.7.patch, HDFS-1442.8.patch, HDFS-1442.9.patch
>
>
> FileContext uses Hdfs instead of DistributedFileSystem. We need to add 
> delegation token APIs in Hdfs class as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to