Return-Path: X-Original-To: apmail-oozie-user-archive@www.apache.org Delivered-To: apmail-oozie-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9808D17741 for ; Thu, 16 Oct 2014 19:16:49 +0000 (UTC) Received: (qmail 11398 invoked by uid 500); 16 Oct 2014 19:16:49 -0000 Delivered-To: apmail-oozie-user-archive@oozie.apache.org Received: (qmail 11372 invoked by uid 500); 16 Oct 2014 19:16:49 -0000 Mailing-List: contact user-help@oozie.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@oozie.apache.org Delivered-To: mailing list user@oozie.apache.org Received: (qmail 11360 invoked by uid 99); 16 Oct 2014 19:16:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 19:16:49 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stransky.ja@gmail.com designates 209.85.220.173 as permitted sender) Received: from [209.85.220.173] (HELO mail-vc0-f173.google.com) (209.85.220.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2014 19:16:23 +0000 Received: by mail-vc0-f173.google.com with SMTP id ij19so3253784vcb.18 for ; Thu, 16 Oct 2014 12:16:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+GKYJ1y8MLhVR7cbOfC/KsdkMuXqM03qW0DytoejcBk=; b=t/c36XPV56nwCcjX4aUMjYr4ryzxOd8oivXCaKAOrV8BjntfCWwRO9SFkx0AQUuOiC yNDXql/j4/6IXv97uTuM8nGNAvDaZDxVjZ1Y62EDXbpBcbeGIME5NmakIxK6c85QS7Jg ZVxpdokvfD3UKucxTJoc+WcphyAuGSxsudwOTibDZBdmpvm/PlNKD+EOpbYhE5Q97ddr usUgfh80/54akcJdbIaJpSgHviK/YAXyHw2LfDYIEsbhg1r1TrUyWvzlRp6CiunGVG7y TisheNvoe5z4jVbjHWxQxIrebRRrVOuhcm/dhIvF3+xbQxJAkmUm6AZ+02vXkjXjxaps 4vWA== MIME-Version: 1.0 X-Received: by 10.221.31.136 with SMTP id sg8mr3526021vcb.20.1413486982129; Thu, 16 Oct 2014 12:16:22 -0700 (PDT) Received: by 10.52.182.41 with HTTP; Thu, 16 Oct 2014 12:16:22 -0700 (PDT) Received: by 10.52.182.41 with HTTP; Thu, 16 Oct 2014 12:16:22 -0700 (PDT) In-Reply-To: References: Date: Thu, 16 Oct 2014 21:16:22 +0200 Message-ID: Subject: Re: OozieClient running tests from java submiting wf From: Jakub Stransky To: user@oozie.apache.org Content-Type: multipart/alternative; boundary=001a11337b5676ed5405058f15a9 X-Virus-Checked: Checked by ClamAV on apache.org --001a11337b5676ed5405058f15a9 Content-Type: text/plain; charset=UTF-8 That is what I am not allowed to do. I need somehow inpersonate a different user. On 16 Oct 2014 17:19, "Sathi Chowdhury" wrote: > Hi Jakub, > In core-site.xml please make these changes > hadoop.proxyuser.oozie.groups=* > > hadoop.proxyuser.oozie.hosts=* > you may need to restart HDFS. > > You then will be able to submit as JS185350. > > Thanks > Sathi > > On 10/16/14, 8:05 AM, "Jakub Stransky" wrote: > > >Hello experienced users, > > > >I am a new user trying to run a set of tests using a oozieClient and I am > >getting following error: > > > >E0501 : E0501: Could not perform authorization operation, User: oozie is > >not allowed to impersonate JS185350 > >at org.apache.oozie.client.OozieClient.handleError(OozieClient.java:508) > >at > >org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:591) > >at > >org.apache.oozie.client.OozieClient$JobSubmit.call(OozieClient.java:561) > >at > >org.apache.oozie.client.OozieClient$ClientCallable.call(OozieClient.java:4 > >79) > >at org.apache.oozie.client.OozieClient.run(OozieClient.java:655) > > > >Which is correct as the only allowed user is jobsubmit as a member of > >group > >users. Is there some way how to submit as a different user? I am not > >allowed to change cluster configuration and need to run some tests. I need > >to find some way how to run workflow from java. > > > >Thanks for helping me out. > >Jakub > > --001a11337b5676ed5405058f15a9--