hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10549) MAX_SUBST and varPat should be final in Configuration.java
Date Mon, 05 May 2014 11:08:23 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989423#comment-13989423
] 

Hudson commented on HADOOP-10549:
---------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk #558 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/558/])
HADOOP-10549. MAX_SUBST and varPat should be final in Configuration.java. Contributed by Gera
Shegalov. (cnauroth: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1592011)
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/conf/Configuration.java


> MAX_SUBST and varPat should be final in Configuration.java
> ----------------------------------------------------------
>
>                 Key: HADOOP-10549
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10549
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: conf
>    Affects Versions: 2.4.0
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>             Fix For: 3.0.0, 2.5.0
>
>         Attachments: HADOOP-10549.v01.patch
>
>
> In Configuration, expansion of variables is handled using the following constants that
are not declared final:
> {code}
>   private static Pattern varPat = Pattern.compile("\\$\\{[^\\}\\$\u0020]+\\}");
>   private static int MAX_SUBST = 20;
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message