[
https://issues.apache.org/jira/browse/HADOOP-10549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Nauroth updated HADOOP-10549:
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.5.0
3.0.0
Status: Resolved (was: Patch Available)
I committed this to trunk and branch-2. Gera, thank you for contributing the
patch.
> 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)