Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-2314

MRV1 test compilation broken after HDFS-2197

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Runing the following:
      At the trunk level: mvn clean install package -Dtar -Pdist -Dmaven.test.skip.exec=true
      In hadoop-mapreduce-project: ant jar-test -Dresolvers=internal

      yields the errors:

          [javac] /home/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop-common/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/security/authorize/TestServiceLevelAuthorization.java:62: cannot find symbol
          [javac] symbol  : method getRpcServer(org.apache.hadoop.hdfs.server.namenode.NameNode)
          [javac] location: class org.apache.hadoop.hdfs.server.namenode.NameNodeAdapter
          [javac]       Set<Class<?>> protocolsWithAcls = NameNodeAdapter.getRpcServer(dfs.getNameNode())
          [javac]                                                        ^
          [javac] /home/vinodkv/Workspace/eclipse-workspace/apache-git/hadoop-common/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/security/authorize/TestServiceLevelAuthorization.java:79: cannot find symbol
          [javac] symbol  : method getRpcServer(org.apache.hadoop.hdfs.server.namenode.NameNode)
          [javac] location: class org.apache.hadoop.hdfs.server.namenode.NameNodeAdapter
          [javac]       protocolsWithAcls = NameNodeAdapter.getRpcServer(dfs.getNameNode())
          [javac] 2 errors
      

        Attachments

        1. hdfs-2314.txt
          0.9 kB
          Todd Lipcon

          Issue Links

            Activity

              People

              • Assignee:
                tlipcon Todd Lipcon
                Reporter:
                vinodkv Vinod Kumar Vavilapalli
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: