FAQ
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.20.0
Reporter: Konstantin Shvachko
Fix For: 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.

Search Discussions

  • Konstantin Shvachko (JIRA) at Feb 2, 2009 at 9:40 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669747#action_12669747 ]

    Konstantin Shvachko commented on HADOOP-5156:
    ---------------------------------------------

    {code}
    compile-core-test:
    [javac] Compiling 7 source files to branch-0.20/build/test/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Compiling 319 source files to branch-0.20/build/test/classes
    [javac] branch-0.20/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] 1 error

    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.20.0
    Reporter: Konstantin Shvachko
    Fix For: 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.
  • Konstantin Shvachko (JIRA) at Feb 2, 2009 at 9:42 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Konstantin Shvachko updated HADOOP-5156:
    ----------------------------------------

    Affects Version/s: 0.19.1
    Fix Version/s: 0.19.1
    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.
  • Konstantin Shvachko (JIRA) at Feb 2, 2009 at 9:42 pm
    [ 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.
  • Hairong Kuang (JIRA) at Feb 2, 2009 at 9:48 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-5156:
    ----------------------------------

    Attachment: hbhNS.patch

    Here is the patch that takes the second suggested approach.
    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

    Attachments: hbhNS.patch


    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.
  • Hairong Kuang (JIRA) at Feb 2, 2009 at 10:24 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang updated HADOOP-5156:
    ----------------------------------

    Attachment: hbhNS0.19.patch

    This ia a patch for 0.19.
    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

    Attachments: hbhNS.patch, hbhNS0.19.patch


    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.
  • Hairong Kuang (JIRA) at Feb 2, 2009 at 10:40 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Hairong Kuang resolved HADOOP-5156.
    -----------------------------------

    Resolution: Fixed
    Assignee: Hairong Kuang

    I've just committed this.
    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
    Assignee: Hairong Kuang
    Fix For: 0.19.1, 0.20.0

    Attachments: hbhNS.patch, hbhNS0.19.patch


    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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedFeb 2, '09 at 9:32p
activeFeb 2, '09 at 10:40p
posts7
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Hairong Kuang (JIRA): 7 posts

People

Translate

site design / logo © 2022 Grokbase