Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.4.6
-
None
Description
Sqoop import with credential API from terminal works fine.
sqoop import -Dhadoop.security.credential.provider.path=jceks://hdfs/user/vijay/myPassword.jceks --table myTable -m 1 --target-dir /user/vijay/output --delete-target-dir --username vijay
But the same is not possible with Sqoop Job.
Sqoop Job is unable to detect the credential API.
Sqoop job create commands throws the following exception.
ERROR tool.BaseSqoopTool: Error parsing arguments for import:
ERROR tool.BaseSqoopTool: Unrecognized argument: --password-alias
There are no special instructions in Sqoop User Guide for configuring Hadoop credential API with Sqoop Job.
It looks like an issue with Sqoop Job command.