hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Murylev <sergeymury...@gmail.com>
Subject Re: Sqoop import/export tool fails with PriviledgedActionException
Date Fri, 25 Apr 2014 05:33:29 GMT
Hi Kuchekar,
> I do have the mentioned jar (avro-mapred-1.5.3.jar) in the mentioned
> location. Not sure, what I am missing. 
Make sure that you can read this file as same user as you use to run sqoop.
According to logs you run sqoop as root. I not sure that root has such
privileges. You can try to disable privileges
<http://blog.timmattison.com/archives/2011/12/26/how-to-disable-hdfs-permissions-for-hadoop-development/>
or just try to run it from another user (for example hdfs, mapred).

--
Thanks,
Sergey

On 24/04/14 21:41, Kuchekar wrote:
> Hi,
>
>      I have a Hadoop 2 Standalone mode installed on my local along
> with sqoop 1.4.4. 
>
> When I try to run the import/export sqoop commands on my local, I get
> following error :
>
> 14/04/24 13:03:33 ERROR security.UserGroupInformation:
> PriviledgedActionException as:root (auth:SIMPLE)
> cause:java.io.FileNotFoundException: File does not exist:
> hdfs://localhost:9000/Volumes/Study-Work/Study/Hadoop/sqoop1/lib/avro-mapred-1.5.3.jar
>
> 14/04/24 13:03:33 ERROR tool.ImportTool: Encountered IOException
> running import job: java.io.FileNotFoundException: File does not
> exist:
> hdfs://localhost:9000/Volumes/Study-Work/Study/Hadoop/sqoop1/lib/avro-mapred-1.5.3.jar
>
> I do have the mentioned jar (avro-mapred-1.5.3.jar) in the mentioned
> location. Not sure, what I am missing. 
>
> I have set the SQOOP_HOME and required variable, but not sure what I
> am doing wrong.
>
> Could you please correct me.
>
> Looking forward for your reply.
>
> Thanks.
>
> Nilesh Kuchekar
>


Mime
View raw message