You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Vijay (JIRA)" <ji...@apache.org> on 2016/04/06 11:52:25 UTC

[jira] [Updated] (SQOOP-2898) Sqoop job is incompatible with Hadoop Credential API

     [ https://issues.apache.org/jira/browse/SQOOP-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vijay updated SQOOP-2898:
-------------------------
    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.


  was:
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.

Corresponding Stackoverflow question. http://stackoverflow.com/questions/36427391/sqoop-job-unable-to-work-with-hadoop-credential-api


> Sqoop job is incompatible with Hadoop Credential API
> ----------------------------------------------------
>
>                 Key: SQOOP-2898
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2898
>             Project: Sqoop
>          Issue Type: Bug
>          Components: sqoop2-framework
>    Affects Versions: 1.4.6
>            Reporter: Vijay
>              Labels: bug
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)