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

upgrade commons-configuration2 to 2.8.0 and commons-text to 1.9

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Current version 2.1.1 has no CVEs but all higher versions have CVEs except for the latest release 2.8.0. Still feels like it would be safer to upgrade.

      Currently, causes issues - that will need to be fixed:

      ```
      [ERROR] testBlockReaderLocalWithMlockChanges(org.apache.hadoop.hdfs.client.impl.TestBlockReaderLocal) Time elapsed: 0.414 s <<< ERROR!
      java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.configuration2.interpol.ConfigurationInterpolator$DefaultPrefixLookupsHolder
      at org.apache.commons.configuration2.interpol.ConfigurationInterpolator.getDefaultPrefixLookups(ConfigurationInterpolator.java:290)
      at org.apache.commons.configuration2.AbstractConfiguration.installDefaultInterpolator(AbstractConfiguration.java:375)
      at org.apache.commons.configuration2.AbstractConfiguration.<init>(AbstractConfiguration.java:122)
      at org.apache.commons.configuration2.BaseConfiguration.<init>(BaseConfiguration.java:37)
      at org.apache.commons.configuration2.PropertiesConfiguration.<init>(PropertiesConfiguration.java:1059)
      at org.apache.hadoop.metrics2.impl.MetricsConfig.loadFirst(MetricsConfig.java:114)
      at org.apache.hadoop.metrics2.impl.MetricsConfig.create(MetricsConfig.java:97)
      at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.configure(MetricsSystemImpl.java:482)
      at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.start(MetricsSystemImpl.java:188)
      at org.apache.hadoop.metrics2.impl.MetricsSystemImpl.init(MetricsSystemImpl.java:163)
      at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.init(DefaultMetricsSystem.java:62)
      at org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.initialize(DefaultMetricsSystem.java:58)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1780)
      ```

      Attachments

        Issue Links

          Activity

            People

              pj.fanning PJ Fanning
              pj.fanning PJ Fanning
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h