Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4A1FEFFE for ; Sat, 9 Feb 2013 09:55:10 +0000 (UTC) Received: (qmail 3855 invoked by uid 500); 9 Feb 2013 09:55:09 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 3627 invoked by uid 500); 9 Feb 2013 09:55:09 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 3595 invoked by uid 99); 9 Feb 2013 09:55:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2013 09:55:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wwli05@126.com designates 220.181.15.111 as permitted sender) Received: from [220.181.15.111] (HELO m15-111.126.com) (220.181.15.111) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Feb 2013 09:55:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=Received:From:To:Subject:Date:Message-ID: MIME-Version:Content-Type:Thread-Index:Content-Language; bh=TFfr pn1mQVSEBquYzmIfIquJUWdUTWD5Z1n9edcKYF0=; b=inoSa1ty6yirh4OH3b4I oiuFB3iSLX6PFs38eIHViezarLqdeI+XFYAfaU3jw1PV6NP0EG/ftjW7d1qVtSXS s7kTUR1ckpDnJqjRoCl51CVfmjDkEDnLbeU22cRgle4C9mDpi3qsoI71S/+Bto5I wkNFxvAA3zFqNmOBSkHDpNQ= Received: from bravePC (unknown [59.40.249.66]) by smtp1 (Coremail) with SMTP id C8mowEApnkvbHBZRvdgzBA--.1882S2; Sat, 09 Feb 2013 17:54:36 +0800 (CST) From: "wang" To: Subject: in security mode, one MR job visit two user's data Date: Sat, 9 Feb 2013 17:54:40 +0800 Message-ID: <00a001ce06ab$7ae64a50$70b2def0$@126.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00A1_01CE06EE.89098A50" X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac4Gqpkg4NAYHL1hSn+X1rtCMEoQTA== Content-Language: zh-cn X-CM-TRANSID: C8mowEApnkvbHBZRvdgzBA--.1882S2 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUT6pPUUUUU X-CM-SenderInfo: pzzoxiav6rjloofrz/1tbi0BK+pU505Ke1NQAAsg X-Virus-Checked: Checked by ClamAV on apache.org ------=_NextPart_000_00A1_01CE06EE.89098A50 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, In security mode, Is it possible in one mr job visit two user's data in hdfs? Means: there are two maps in one job, one map read user1's data, another read user2's data. As I know, before submit job, jobclient get the delegation token for MR task, but in class credentials, the tokenmap can only take one token for one type of service. If I get user2's token, and add to credentials, the user1's token will be overwrite. Anyone met the same situation or someone can give some suggestions? The background is in hive, one sql maybe visit different user's data. Tks. Regards wwli ------=_NextPart_000_00A1_01CE06EE.89098A50--