Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-77

hang / crash when input folder does not exists.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.1.0
    • 0.1.0
    • None
    • None

    Description

      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:

      Attachments

        1. noNullMaps_AND_Reduces.patch
          0.6 kB
          Stefan Groschupf

        Activity

          People

            Unassigned Unassigned
            joa23 Stefan Groschupf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: