Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15338 Support Java 11 LTS in Hadoop
  3. HADOOP-16270

[JDK 11] Remove unintentional override of the version of Maven Dependency Plugin

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Component/s: build
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      HADOOP-14979 upgraded maven dependency plugin to 3.0.2, but the version was overridden to 3.0.1 by YARN-7129 and the following error occurred again.

      [INFO] --- maven-dependency-plugin:3.0.1:list (deplist) @ hadoop-streaming ---
      java.lang.NoSuchMethodException: jdk.internal.module.ModuleReferenceImpl.descriptor()
              at java.base/java.lang.Class.getDeclaredMethod(Class.java:2476)
              at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.getModuleDescriptor(DependencyStatusSets.java:272)
              at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.buildArtifactListOutput(DependencyStatusSets.java:227)
              at org.apache.maven.plugins.dependency.utils.DependencyStatusSets.getOutput(DependencyStatusSets.java:165)
              at org.apache.maven.plugins.dependency.resolvers.ResolveDependenciesMojo.doExecute(ResolveDependenciesMojo.java:90)
              at org.apache.maven.plugins.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:143)
              at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
              at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
      

      Let's upgrade the plugin version to fix the build failure in Java 11.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                risyomei Xieming Li
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: