Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7995

GenericOptionsParser ought to have better options parsing, and not pick only the options in the front

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.23.0
    • None
    • util

    Description

      The ToolRunner provided GenericOptionsParser stops parsing known options when it encounters the first unknown option string in the String[] today.

      Ideally we should have it be more intelligent and sift through the whole array to pick up all opts, and not just the opts that are at the front of the invoked CLI.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              qwertymaniac Harsh J
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: