hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Templeton (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-12848) Configuration.ParsedTimeDuration.unitFor(String) should do more careful parsing
Date Fri, 26 Feb 2016 20:10:18 GMT
Daniel Templeton created HADOOP-12848:
-----------------------------------------

             Summary: Configuration.ParsedTimeDuration.unitFor(String) should do more careful
parsing
                 Key: HADOOP-12848
                 URL: https://issues.apache.org/jira/browse/HADOOP-12848
             Project: Hadoop Common
          Issue Type: Improvement
    Affects Versions: 2.9.0
            Reporter: Daniel Templeton
            Assignee: Daniel Templeton


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message