hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MAPREDUCE-1179) org.apache.hadoop.streaming.TestSymLink.testSymLink is failing
Date Tue, 03 Nov 2009 20:25:32 GMT

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

Tsz Wo (Nicholas), SZE commented on MAPREDUCE-1179:
---------------------------------------------------

Tried to run TestSymLink:

NameNode started up fine
{noformat}
    ...
    [junit] 1 [main] INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log)
via org.mortbay.log.Slf4jLog
    [junit] 09/11/03 20:19:33 INFO http.HttpServer: Added global filtersafety (class=org.apache.hadoop.http.HttpServer$QuotingInputFilter)
    [junit] 09/11/03 20:19:33 INFO http.HttpServer: Port returned by webServer.getConnectors()[0].getLocalPort()
before open() is -1. Opening the listener on 0
    [junit] 09/11/03 20:19:33 INFO http.HttpServer: listener.getLocalPort() returned 60722
webServer.getConnectors()[0].getLocalPort() returned 60722
    [junit] 09/11/03 20:19:33 INFO http.HttpServer: Jetty bound to port 60722
    [junit] 99 [main] INFO org.mortbay.log - jetty-6.1.14
    [junit] 653 [main] INFO org.mortbay.log - Started SelectChannelConnector@localhost:60722
    [junit] 09/11/03 20:19:34 INFO namenode.NameNode: NameNode Web-server up at: localhost/127.0.0.1:60722
    [junit] 09/11/03 20:19:34 INFO ipc.Server: IPC Server Responder: starting
    ...
{noformat}
but Job tracker crashed
{noformat}
    ...
    [junit] 09/11/03 20:19:34 INFO util.HostsFileReader: Refreshing hosts (include/exclude)
list
    [junit] 09/11/03 20:19:34 INFO mapred.QueueConfigurationParser: Bad conf file: top-level
element not <queues>
    [junit] 09/11/03 20:19:34 ERROR mapred.MiniMRCluster: Job tracker crashed
    [junit] java.lang.RuntimeException: No queues defined
    [junit]     at org.apache.hadoop.mapred.QueueConfigurationParser.parseResource(QueueConfigurationParser.java:170)
    [junit]     at org.apache.hadoop.mapred.QueueConfigurationParser.loadResource(QueueConfigurationParser.java:162)
    [junit]     at org.apache.hadoop.mapred.QueueConfigurationParser.<init>(QueueConfigurationParser.java:91)
    [junit]     at org.apache.hadoop.mapred.QueueManager.getQueueConfigurationParser(QueueManager.java:125)
    [junit]     at org.apache.hadoop.mapred.QueueManager.<init>(QueueManager.java:145)
    [junit]     at org.apache.hadoop.mapred.JobTracker.<init>(JobTracker.java:1357)
    [junit]     at org.apache.hadoop.mapred.JobTracker.startTracker(JobTracker.java:226)
    [junit]     at org.apache.hadoop.mapred.MiniMRCluster$JobTrackerRunner.run(MiniMRCluster.java:118)
    [junit]     at java.lang.Thread.run(Thread.java:619)
    ...
{noformat}

> org.apache.hadoop.streaming.TestSymLink.testSymLink is failing 
> ---------------------------------------------------------------
>
>                 Key: MAPREDUCE-1179
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1179
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.22.0
>            Reporter: Iyappan Srinivasan
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message