[
https://issues.apache.org/jira/browse/HADOOP-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669753#action_12669753
]
Konstantin Shvachko commented on HADOOP-5156:
---------------------------------------------
More problems with branch 0.19:
{code}
compile-core-test:
[javac] Compiling 7 source files to branch-0.19/build/test/classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Compiling 299 source files to branch-0.19/build/test/classes
[javac]
branch-0.19/src/test/org/apache/hadoop/hdfs/NNThroughputBenchmark.java:729:
incompatible types
[javac] found : org.apache.hadoop.hdfs.server.protocol.DatanodeCommand[]
[javac] required: org.apache.hadoop.hdfs.server.protocol.DatanodeCommand
[javac] DatanodeCommand cmd = nameNode.sendHeartbeat(
[javac] ^
[javac]
branch-0.19/src/test/org/apache/hadoop/hdfs/NNThroughputBenchmark.java:760:
incompatible types
[javac] found : org.apache.hadoop.hdfs.server.protocol.DatanodeCommand[]
[javac] required: org.apache.hadoop.hdfs.server.protocol.DatanodeCommand
[javac] DatanodeCommand cmd = nameNode.sendHeartbeat(
[javac] ^
[javac]
branch-0.19/src/test/org/apache/hadoop/hdfs/server/namenode/TestHeartbeatHandling.java:30:
cannot find symbol
[javac] symbol : method getNamesystem()
[javac] location: class org.apache.hadoop.hdfs.MiniDFSCluster
[javac] final FSNamesystem namesystem = cluster.getNamesystem();
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors
BUILD FAILED
{code}
> TestHeartbeatHandling uses MiniDFSCluster.getNamesystem() which does not
> exist in branch 0.20
> ---------------------------------------------------------------------------------------------
>
> Key: HADOOP-5156
> URL: https://issues.apache.org/jira/browse/HADOOP-5156
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs, test
> Affects Versions: 0.19.1, 0.20.0
> Reporter: Konstantin Shvachko
> Fix For: 0.19.1, 0.20.0
>
>
> This breaks branch 0.20 build, which currently does not compile.
> This will probably require promoting HADOOP-5017 to branch 0.20 or simply
> using {{cluster.getNameNode().getNamesystem()}} in this test.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.