You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Íñigo Goiri (JIRA)" <ji...@apache.org> on 2018/10/29 16:45:05 UTC

[jira] [Commented] (HADOOP-15885) Add base64 (urlString) support to DTUtil

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

Íñigo Goiri commented on HADOOP-15885:
--------------------------------------

I'm not sure what would be the interface here but currently we have:
{code}
dtutil append filename1 filename2 filenameoutput
{code}
One option would be to just support files with one base64 DT per line, so it would be adding:
{code}
[-format (java|protobuf|base64)]
{code}

Another option would be to follow what Azure has been doing with {{org.apache.hadoop.fs.azure.security.TokenUtils}} and just add an import option which would add the base64 token into a DT file.

[~mattpaduano], you have been working a bunch on the DTUtil; any thoughts on this?

> Add base64 (urlString) support to DTUtil
> ----------------------------------------
>
>                 Key: HADOOP-15885
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15885
>             Project: Hadoop Common
>          Issue Type: New Feature
>            Reporter: Íñigo Goiri
>            Priority: Minor
>
> HADOOP-12563 added a utility to manage Delegation Token files. Currently, it supports Java and Protobuf formats. However, When interacting with WebHDFS, we use base64. In addition, when printing a token, we also print the base64 value. We should be able to import base64 tokens in the utility.



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

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