From common-issues-return-69053-apmail-hadoop-common-issues-archive=hadoop.apache.org@hadoop.apache.org Wed Sep 10 14:04:38 2014 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 E370A11146 for ; Wed, 10 Sep 2014 14:04:37 +0000 (UTC) Received: (qmail 42069 invoked by uid 500); 10 Sep 2014 14:04:37 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 42027 invoked by uid 500); 10 Sep 2014 14:04:37 -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 42014 invoked by uid 99); 10 Sep 2014 14:04:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Sep 2014 14:04:37 +0000 Date: Wed, 10 Sep 2014 14:04:37 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-9374) Add tokens from -tokenCacheFile into UGI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-9374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128498#comment-14128498 ] Hudson commented on HADOOP-9374: -------------------------------- SUCCESS: Integrated in Hadoop-Hdfs-trunk #1867 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1867/]) HADOOP-9989. Bug introduced in HADOOP-9374, which parses the -tokenCacheFile as binary file but set it to the configuration as JSON file. (zxu via tucu) (tucu: rev b100949404843ed245ef4e118291f55b3fdc81b8) * hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/GenericOptionsParser.java * hadoop-common-project/hadoop-common/CHANGES.txt * hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestGenericOptionsParser.java > Add tokens from -tokenCacheFile into UGI > ---------------------------------------- > > Key: HADOOP-9374 > URL: https://issues.apache.org/jira/browse/HADOOP-9374 > Project: Hadoop Common > Issue Type: Improvement > Components: security > Affects Versions: 2.0.0-alpha, 3.0.0, 0.23.7 > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Fix For: 0.23.7, 2.0.4-alpha > > Attachments: HADOOP-9374.patch > > > {{GenericOptionsParser}} accepts a {{-tokenCacheFile}} option. However, it only sets the {{mapreduce.job.credentials.json}} conf value instead of also adding the tokens to the UGI so they are usable by the command being executed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)