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

Configuration.ParsedTimeDuration.unitFor(String) should do more careful parsing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 2.9.0
    • None
    • None
    • None
    • Incompatible change

    Description

      The unit parsing code is very loosey-goosey. For example, "2 pigs" will parse as 2 seconds. "3 hams" will parse as 3 milliseconds. We might want to tighten that up a bit.

      Attachments

        Issue Links

          Activity

            People

              templedf Daniel Templeton
              templedf Daniel Templeton
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: