Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCC2618186 for ; Tue, 27 Oct 2015 22:15:29 +0000 (UTC) Received: (qmail 5710 invoked by uid 500); 27 Oct 2015 22:15:28 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 5526 invoked by uid 500); 27 Oct 2015 22:15:28 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 5398 invoked by uid 99); 27 Oct 2015 22:15:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Oct 2015 22:15:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2DCD52C1F5A for ; Tue, 27 Oct 2015 22:15:28 +0000 (UTC) Date: Tue, 27 Oct 2015 22:15:28 +0000 (UTC) From: "Xiaoyu Yao (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HADOOP-12521) Document MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Xiaoyu Yao created HADOOP-12521: ----------------------------------- Summary: Document 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)