Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8D0E4D0AF for ; Fri, 5 Oct 2012 13:20:13 +0000 (UTC) Received: (qmail 73092 invoked by uid 500); 5 Oct 2012 13:20:08 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 72685 invoked by uid 500); 5 Oct 2012 13:20:06 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 72547 invoked by uid 99); 5 Oct 2012 13:20:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 13:20:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of oleg.zhurakousky@gmail.com designates 209.85.212.182 as permitted sender) Received: from [209.85.212.182] (HELO mail-wi0-f182.google.com) (209.85.212.182) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 13:19:59 +0000 Received: by mail-wi0-f182.google.com with SMTP id hm2so476528wib.11 for ; Fri, 05 Oct 2012 06:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Menc31xmTIqpTXiuH6igk7Lh3z84HZZKBVB5Egj9pIM=; b=Jmzch4mEc9DIUMmjsWxb2m0iJzuLWyFYv67Md1dl937078a13rfDATcUYBadyCu98Z lKTHJ9i3T3a4EA9mkcwElYKXqvIWrbZud4JUXVMhGccHiSY5Z+vxmEOuBdl95MSJWVII BQnlVyE2Rl8rrMbh0hboiqojjLTFuAVxgBfWLsBsXKSC6SqUp4I6F/RmgtkXVV5oR++G E4zUdNDjHrLaUEmY059/0y7FE51iYksyAb/1H+zHbvmu89rP/PhjDomELja0FawScmhk w9W1QnWHQLKoe9Ypy2uHriZ6Ao1jnI5m7T+N6VdhZiq6usWcIrDvluw2tImp+TXw6E96 lBLA== MIME-Version: 1.0 Received: by 10.216.218.105 with SMTP id j83mr885779wep.164.1349443176000; Fri, 05 Oct 2012 06:19:36 -0700 (PDT) Received: by 10.194.41.195 with HTTP; Fri, 5 Oct 2012 06:19:32 -0700 (PDT) Date: Fri, 5 Oct 2012 09:19:32 -0400 Message-ID: Subject: Impersonating HDFS user From: Oleg Zhurakousky To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=0016e6dee7e0266e7504cb4fb987 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6dee7e0266e7504cb4fb987 Content-Type: text/plain; charset=ISO-8859-1 I am working on some samples where I want to write to HDFS running on another machine (different OS etc.) The identity of my client process is just whatever my OS says it is (e.g., 'oleg') hence: 08:56:49,240 DEBUG IPC Client (47) connection to /192.168.15.20:54310 from oleg ipc.Client:803 - IPC Client (47) connection to /192.168.15.20:54310from oleg got value #2 But there is no 'oleg' where the hadoop is running. Instead there is 'hduser'. Is there a way or an equivalent of "RunAs" in hadoop? Thanks Oleg --0016e6dee7e0266e7504cb4fb987 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am working on some samples where I want to write to HDFS running on anoth= er machine (different OS etc.)
The=A0identity of my client process is just whatever my OS says it = is (e.g., 'oleg') hence:

= 08:56:49,240 DEBUG IPC Client (47) connection to /192.168.15.20:54310 from oleg ipc.Client:803 - IPC Client= (47) connection to /192.168.15.20:5= 4310 from oleg got value #2=A0

= But there is no 'oleg&#= 39; where the hadoop is running. Instead there is 'hduser'.=A0

= Is there a way or an equiva= lent of "RunAs" in hadoop?

= Thanks
Oleg
--0016e6dee7e0266e7504cb4fb987--