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

mvn clean site is not compiling in trunk

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Not A Problem
    • Affects Version/s: 3.2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      Description

      This is a follow-up Jira for HDFS-14118.

      mvn clean site is not compiling on trunk with the following error message:

      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /Users/adamantal/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[23,29] cannot find symbol
        symbol:   class MockDomainNameResolver
        location: package org.apache.hadoop.net
      [ERROR] /Users/adamantal/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[149,11] cannot find symbol
        symbol:   variable MockDomainNameResolver
        location: class org.apache.hadoop.hdfs.server.namenode.ha.TestConfiguredFailoverProxyProvider
      [ERROR] /Users/adamantal/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[150,11] cannot find symbol
        symbol:   variable MockDomainNameResolver
        location: class org.apache.hadoop.hdfs.server.namenode.ha.TestConfiguredFailoverProxyProvider
      [ERROR] /Users/adamantal/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[162,9] cannot find symbol
        symbol:   class MockDomainNameResolver
        location: class org.apache.hadoop.hdfs.server.namenode.ha.TestConfiguredFailoverProxyProvider
      [ERROR] /Users/adamantal/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[261,9] cannot find symbol
        symbol:   variable MockDomainNameResolver
        location: class org.apache.hadoop.hdfs.server.namenode.ha.TestConfiguredFailoverProxyProvider
      [ERROR] /Users/adamantal/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[263,9] cannot find symbol
        symbol:   variable MockDomainNameResolver
        location: class org.apache.hadoop.hdfs.server.namenode.ha.TestConfiguredFailoverProxyProvider
      [ERROR] /Users/adamantal/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[288,19] cannot find symbol
        symbol:   variable MockDomainNameResolver
        location: class org.apache.hadoop.hdfs.server.namenode.ha.TestConfiguredFailoverProxyProvider
      [ERROR] /Users/adamantal/git/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestConfiguredFailoverProxyProvider.java:[292,19] cannot find symbol
        symbol:   variable MockDomainNameResolver
        location: class org.apache.hadoop.hdfs.server.namenode.ha.TestConfiguredFailoverProxyProvider
      

      MockDomainNameResolver is in hadoop-common-project/hadoop-common/src/test while TestConfiguredFailoverProxyProvider is in hadoop-hdfs-project/hadoop-hdfs-client/src/test.
      Though we have the following dependency:

      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-common</artifactId>
        <scope>test</scope>
        <type>test-jar</type>
      </dependency>
      

      probably that's not enough.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fengnanli Fengnan Li
                Reporter:
                adam.antal Adam Antal
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: