You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2006/03/13 21:40:57 UTC

[jira] Resolved: (HADOOP-77) hang / crash when input folder does not exists.

     [ http://issues.apache.org/jira/browse/HADOOP-77?page=all ]
     
Doug Cutting resolved HADOOP-77:
--------------------------------

    Fix Version: 0.1
     Resolution: Fixed

I have applied this patch.  Thanks, Stefan.

> hang / crash when input folder does not exists.
> -----------------------------------------------
>
>          Key: HADOOP-77
>          URL: http://issues.apache.org/jira/browse/HADOOP-77
>      Project: Hadoop
>         Type: Bug
>   Components: mapred
>     Versions: 0.1
>     Reporter: Stefan Groschupf
>     Priority: Critical
>      Fix For: 0.1
>  Attachments: noNullMaps_AND_Reduces.patch
>
> The jobtracker hangs and jobtracker info server throws Internal Server Error when until task initialization a exception will be thrown. 
> Future jobs will no processed and also the job info server does not show any information since it throws a a http 500.
> This is a show blocker especially when hadoop is shell script driven. 
> 060312 235707 TaskInProgress tip_6jd6g8 has failed 4 times.
> 060312 235707 Aborting job job_hsg7y8
> 060312 235708 Server connection on port 50020 from  XX.100.XXX.2: exiting
> 060312 235709 Server connection on port 50020 from  XX.100.XXX.2: starting
> 060312 235710 parsing jar:file:/home/myuser/nutch/lib/hadoop-0.1-dev.jar!/hadoop-default.xml
> 060312 235710 parsing jar:file:/home/myuser/nutch/lib/hadoop-0.1-dev.jar!/mapred-default.xml
> 060312 235710 parsing file:/home/myuser/nutch/conf/hadoop-site.xml
> 060312 235710 parsing jar:file:/home/myuser/nutch/lib/hadoop-0.1-dev.jar!/hadoop-default.xml
> 060312 235710 parsing jar:file:/home/myuser/nutch/lib/hadoop-0.1-dev.jar!/mapred-default.xml
> 060312 235710 parsing file:/home/myuser/nutch/conf/hadoop-site.xml
> 060312 235710 parsing jar:file:/home/myuser/nutch/lib/hadoop-0.1-dev.jar!/hadoop-default.xml
> 060312 235710 parsing jar:file:/home/myuser/nutch/lib/hadoop-0.1-dev.jar!/mapred-default.xml
> 060312 235710 parsing /u1/hadoop-data/tmp/hadoop/mapred/local/jobTracker/job_2p6ywq.xml
> 060312 235710 parsing file:/home/myuser/nutch/conf/hadoop-site.xml
> 060312 235711 parsing jar:file:/home/myuser/nutch/lib/hadoop-0.1-dev.jar!/hadoop-default.xml
> 060312 235711 parsing jar:file:/home/myuser/nutch/lib/hadoop-0.1-dev.jar!/mapred-default.xml
> 060312 235711 parsing /u1/hadoop-data/tmp/hadoop/mapred/local/jobTracker/job_2p6ywq.xml
> 060312 235711 parsing file:/home/myuser/nutch/conf/hadoop-site.xml
> 060312 235712 job init failed
> java.io.IOException: Not a file: /user/myuser/segments/20060312214035/crawl_fetch/part-00001/data
>         at org.apache.hadoop.mapred.InputFormatBase.getSplits(InputFormatBase.java:99)
>         at org.apache.hadoop.mapred.JobInProgress.initTasks(JobInProgress.java:127)
>         at org.apache.hadoop.mapred.JobTracker$JobInitThread.run(JobTracker.java:208)
>         at java.lang.Thread.run(Thread.java:595)
> Exception in thread "Thread-20" java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.kill(JobInProgress.java:437)
>         at org.apache.hadoop.mapred.JobTracker$JobInitThread.run(JobTracker.java:212)
>         at java.lang.Thread.run(Thread.java:595)
> 060312 235713 Server connection on port 50020 from  XX.100.XXX.2: exiting
> ...
> 60312 235715 parsing file:/home/myuser/nutch/conf/hadoop-site.xml
> 060312 235755 /jobtracker.jsp: 
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.finishedMaps(JobInProgress.java:205)
>         at org.apache.hadoop.mapred.jobtracker_jsp.generateJobTable(jobtracker_jsp.java:67)
>         at org.apache.hadoop.mapred.jobtracker_jsp._jspService(jobtracker_jsp.java:130)
>         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
>         at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:475)
>         at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
>         at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:635)
>         at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
>         at org.mortbay.http.HttpServer.service(HttpServer.java:954)
>         at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
>         at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
>         at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
>         at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
>         at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
>         at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> 060313 014526 /jobtracker.jsp: 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira