I tried running
PIG_OPTS=-Dhadoop.user.ugi=bugs pig /path/to/script.pig

Still ran as the original user.


On Thu, Nov 29, 2012 at 2:42 PM, Miki Tebeka <[email protected]> wrote:

> As in -Dhadoop.user.ugi=bugs ?
>
>
> On Wed, Nov 28, 2012 at 5:02 PM, Prashant Kommireddi 
> <[email protected]>wrote:
>
>> Try using "hadoop.job.ugi" to run the jobs as a different user on the
>> cluster. I'm not sure if that works on the more recent versions of
>> Hadoop though.
>>
>> Sent from my iPhone
>>
>> On Nov 29, 2012, at 6:28 AM, Miki Tebeka <[email protected]> wrote:
>>
>> > Greetings,
>> >
>> > Is there a way, other than "su", to run pig script as a different user?
>> >
>> > Thanks,
>> > --
>> > Miki
>>
>
>

Reply via email to