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

MAX_SUBST and varPat should be final in Configuration.java

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: conf
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      In Configuration, expansion of variables is handled using the following constants that are not declared final:

        private static Pattern varPat = Pattern.compile("\\$\\{[^\\}\\$\u0020]+\\}");
        private static int MAX_SUBST = 20;
      

        Attachments

          Activity

            People

            • Assignee:
              jira.shegalov Gera Shegalov
              Reporter:
              jira.shegalov Gera Shegalov
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: