hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiaoyu Yao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12521) Document KMS getdelegationtoken API
Date Tue, 27 Oct 2015 22:16:27 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-12521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Xiaoyu Yao updated HADOOP-12521:
--------------------------------
    Summary: Document KMS getdelegationtoken API  (was: Document )

> Document KMS getdelegationtoken API
> -----------------------------------
>
>                 Key: HADOOP-12521
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12521
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Xiaoyu Yao
>            Assignee: Xiaoyu Yao
>
> KMS delegation token support is added since HADOOP-10769 and HADOOP-10770. However, the
API document at https://hadoop.apache.org/docs/stable/hadoop-kms/index.html is still TBD.

> {code}
> Delegation Tokens
> TBD
> {code}
> This ticket is opened to document the getdelegationtoken API with its Request/Response.
> {code}
> Request:
> [hdfs@c6401 vagrant]$ curl -i --negotiate -u :  -c ~/cookiejar.txt  "http://c6401.ambari.apache.rg:16000/kms/v1/?op=getdelegationtoken&renewer=JobTracker"
> HTTP/1.1 401 Unauthorized
> Server: Apache-Coyote/1.1
> WWW-Authenticate: Negotiate
> Content-Length: 0
> Date: Tue, 27 Oct 2015 21:49:15 GMT
> {code}
> {code}
> Response:
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Type: application/json
> Content-Length: 120
> Date: Tue, 27 Oct 2015 21:49:15 GMT
> {"Token":{"urlString":"KAAKaGRmcy1oZHA2NApKb2JUcmFja2VyAIoBUKtGzIGKAVDPU1CBBwQUKoAqp3yAQe2JrbuL26feN8Kv_EAGa21zLWR0AA"}}
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message