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
