Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2898

Sqoop job is incompatible with Hadoop Credential API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4.6
    • None
    • sqoop2-framework

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ivijay Vijay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: