Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-2816

Strip out the first command word from Sqoop action if its "sqoop"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 5.0.0b1
    • Component/s: action
    • Labels:
      None

      Description

      A sorta popular user error is to specify the command part of the sqoop action in the style of the CLI: "sqoop import …" instead of just the required "import …". This causes the Sqoop action to predictably fail with:

      No such sqoop tool: sqoop. See 'sqoop help'.
      Intercepting System.exit(1)
      

      A simple enhancement can prevent this burden on user. We can skip the first command token if its "sqoop".

        Attachments

        1. OOZIE-2816.003.patch
          11 kB
          Harsh J
        2. OOZIE-2816.002.patch
          10 kB
          Harsh J
        3. OOZIE-2816.001.patch
          6 kB
          Harsh J
        4. OOZIE-2816.000.patch
          7 kB
          Harsh J

          Issue Links

            Activity

              People

              • Assignee:
                qwertymaniac Harsh J
                Reporter:
                qwertymaniac Harsh J
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: