Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-1285

Sqoop2: ToolRunner is not exiting with proper exit value on error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.99.3
    • Fix Version/s: 1.99.4
    • Component/s: None
    • Labels:
      None

      Description

      ToolRunner will correctly print out error message in case that tool execution will fail. However the error code will remain 0, hence downstream scripts that are executing tools and checking it's return value don't see any errors. We should fix that.

        Attachments

        1. SQOOP-1285.patch
          0.6 kB
          Jarek Jarcec Cecho

          Issue Links

            Activity

              People

              • Assignee:
                jarcec Jarek Jarcec Cecho
                Reporter:
                jarcec Jarek Jarcec Cecho
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: