Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop >> mail # user >> Sqoop import/export tool fails with PriviledgedActionException


Copy link to this message
-
Re: Sqoop import/export tool fails with PriviledgedActionException
Does user root have access to the directory you are targeting?

From: Kuchekar <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
Reply-To: "[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>" <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
Date: Friday, April 25, 2014 3:26 PM
To: "[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>" <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
Subject: Re: Sqoop import/export tool fails with PriviledgedActionException

Hi Brenden,

                   I am using the following command:

sqoop import --connect jdbc:postgresql://172.16.1.202:5432/hadoop<http://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 <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote:
Might be helpful to include the command string you're using to execute the job.

-BC

From: Kuchekar <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
Reply-To: "[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>" <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
Date: Thursday, April 24, 2014 11:19 PM
To: "[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>" <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>>
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
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB