Uploaded image for project: 'Spring XD'
  1. Spring XD
  2. XD-3093

Sqoop list-tables doesn't work oob

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2 M1
    • Fix Version/s: 1.2 RC1
    • Component/s: Batch
    • Labels:
      None

      Description

      Commands from docs:

      xd:>job create sqoopListTables --definition "sqoop --command=list-tables" --deploy
      xd:>job launch --name sqoopListTables

      2015-05-21 19:12:36,211 1.2.0.M1 ERROR task-scheduler-1 sqoop.SqoopTasklet - Sqoop job for 'list-tables' finished with exit code: 1
      2015-05-21 19:12:36,212 1.2.0.M1 ERROR task-scheduler-1 sqoop.SqoopTasklet - Sqoop err: Error: Required argument --connect is missing.

      Adding --connect results

      xd:>job create sqoopListTables --definition "sqoop --command=list-tables --connect=jdbc:hsqldb:hsql://localhost:9101/xdjob" --deploy
      Command failed org.springframework.xd.rest.client.impl.SpringXDException: Error with option(s) for module sqoop of type job:
      connect: option named 'connect' is not supported

      This is with singlenode.

        Attachments

          Activity

            People

            Assignee:
            thomas.risberg Thomas Risberg
            Reporter:
            jvalkeal Janne Valkealahti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: