Hi,

Check your permissions of /tester subdirectory and permissions of file 
.password.

We have drwx------ permissions for the subdirectory to the user running the job 
and -rw------- permissions for the .password file for the user running the job. 


Thanks,
Karthik


-----Original Message-----
From: Mungeol Heo [mailto:[email protected]] 
Sent: Monday, December 29, 2014 1:58 AM
To: [email protected]
Subject: Access deny while using '--password-file' option

Hi,

It is OK when I use '--password' option.
However, if I try to use '--password-file' option, it gives me '
Access denied for user 'tester'@'10.0.2.82' (using password: YES)'.

BTW, the path of password file is /user/tester/.password at HDFS, and I am 
using sqoop2 at CDH 5.1.2-1.cdh5.1.2.p0.3.

Any help will be great.
Thanks.

- Mungeol

Reply via email to