Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1179

org.apache.hadoop.streaming.TestSymLink.testSymLink is failing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.22.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None

      Description

      This junit testcase is failing. Please address it.

      org.apache.hadoop.streaming.TestSymLink.testSymLink (from TestSymLink)

      Failing for the past 1 build (Since #131 )
      Took 55 sec.
      add description

      Error Message
      java.lang.IllegalArgumentException: port out of range:-1 at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118) at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:367) at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:310) at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:301) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406) at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:400) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1174) at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:282) at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:126) at org.apache.hadoop.streaming.TestSymLink.testSymLink(TestSymLink.java:67) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79) at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)
      Stacktrace
      junit.framework.AssertionFailedError: java.lang.IllegalArgumentException: port out of range:-1
      at java.net.InetSocketAddress.<init>(InetSocketAddress.java:118)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:367)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.activate(NameNode.java:310)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:301)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:406)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:400)
      at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1174)
      at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:282)
      at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:126)
      at org.apache.hadoop.streaming.TestSymLink.testSymLink(TestSymLink.java:67)

      at org.apache.hadoop.streaming.TestSymLink.failTrace(TestSymLink.java:140)
      at org.apache.hadoop.streaming.TestSymLink.testSymLink(TestSymLink.java:132)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                iyappans Iyappan Srinivasan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: