Sqoop
  1. Sqoop
  2. SQOOP-1212

Do not print usage on wrong command line

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.4.4
    • Fix Version/s: 1.4.5
    • Component/s: None
    • Labels:
      None

      Description

      Currently when user enter an incorrect command line, Sqoop will print in order:

      • Useful error message what has been entered wrong
      • At least 200 lines long usage guide

      As the usage guide will scroll the shell, the most useful information will get moved away, resulting in user confusion. I think that it will be more user friendly to stop printing the usage in case of a wrong input and display it only explicitly when user will ask for it (e.g. on sqoop import --help call).

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

        Issue Links

          Activity

          Jarek Jarcec Cecho created issue -
          Jarek Jarcec Cecho made changes -
          Field Original Value New Value
          Remote Link This issue links to "Review board (Web Link)" [ 12910 ]
          Jarek Jarcec Cecho made changes -
          Attachment SQOOP-1212.patch [ 12607220 ]
          Jarek Jarcec Cecho made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Abraham Elmahrek made changes -
          Link This issue is duplicated by SQOOP-1336 [ SQOOP-1336 ]
          Abraham Elmahrek made changes -
          Link This issue blocks SQOOP-1353 [ SQOOP-1353 ]
          Hari Shreedharan made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development