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

MAX_SUBST and varPat should be final in Configuration.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • conf
    • None
    • 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

        1. HADOOP-10549.v01.patch
          1 kB
          Gera Shegalov

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: