sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kuchekar <kuchekar.nil...@gmail.com>
Subject Re: Sqoop import/export tool fails with PriviledgedActionException
Date Fri, 25 Apr 2014 19:26:27 GMT
Hi Brenden,

                   I am using the following command:

sqoop import --connect jdbc:postgresql://172.16.1.202:5432/hadoop --table
wcImport --username postgres -P --target-dir /data/wcImport -m 1

I have also attached a snapshot of the Exception.

I earlier had received a suggestion from Sergey, but even trying that
didn't help .

Thanks for your reply.

Regards.
Kuchekar, Nilesh

Kuchekar, Nilesh


On Fri, Apr 25, 2014 at 1:29 PM, Brenden Cobb <Brenden.Cobb@humedica.com>wrote:

>  Might be helpful to include the command string you're using to execute
> the job.
>
>  -BC
>
>   From: Kuchekar <kuchekar.nilesh@gmail.com>
> Reply-To: "user@sqoop.apache.org" <user@sqoop.apache.org>
> Date: Thursday, April 24, 2014 11:19 PM
> To: "user@sqoop.apache.org" <user@sqoop.apache.org>
> Subject: Sqoop import/export tool fails with PriviledgedActionException
>
>
> 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.
>
> Thanks in advance.
>
> Nilesh Kuchekar
>

Mime
View raw message