[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097813#comment-13097813
 ] 

Vinod Kumar Vavilapalli commented on MAPREDUCE-2935:
----------------------------------------------------

Not sure of the fix, looked at the patch at HDFS-2197 and it doesn't seem like 
the RpcServer is exposed to the outside world anymore.  Added Todd who worked 
on HDFS-2197 on the watch list and commenting on that ticket too.

> MRV1 test compilation broken after HDFS-2197
> --------------------------------------------
>
>                 Key: MAPREDUCE-2935
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2935
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>            Reporter: Vinod Kumar Vavilapalli
>
> 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:
> {code}
>     [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
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to