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 "Nigel Daley (JIRA)" <ji...@apache.org> on 2007/03/09 03:19:24 UTC

[jira] Created: (HADOOP-1099) NullPointerException in JobInProgress.getTaskInProgress

NullPointerException in JobInProgress.getTaskInProgress
-------------------------------------------------------

                 Key: HADOOP-1099
                 URL: https://issues.apache.org/jira/browse/HADOOP-1099
             Project: Hadoop
          Issue Type: Bug
          Components: mapred
    Affects Versions: 0.12.0
            Reporter: Nigel Daley


Saw this in the JobTracker log when a user was trying to reload a page for a running job that since finished.

2007-03-09 00:23:44,029 WARN /: /taskdetails.jsp?jobid=job_0003&taskid=tip_0003_m_001379:
java.lang.NullPointerException
        at org.apache.hadoop.mapred.JobInProgress.getTaskInProgress(JobInProgress.java:916)
        at org.apache.hadoop.mapred.JobTracker.getTip(JobTracker.java:1551)
        at org.apache.hadoop.mapred.JobTracker.getTaskStatuses(JobTracker.java:1526)
        at org.apache.hadoop.mapred.taskdetails_jsp._jspService(taskdetails_jsp.java:59)
        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)


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


[jira] Updated: (HADOOP-1099) NullPointerException in JobInProgress.getTaskInProgress

Posted by "Tom White (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tom White updated HADOOP-1099:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I've just committed this. Thanks Gautam!

> NullPointerException in JobInProgress.getTaskInProgress
> -------------------------------------------------------
>
>                 Key: HADOOP-1099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1099
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>         Assigned To: Gautam Kowshik
>             Fix For: 0.12.1
>
>         Attachments: HADOOP-1099.patch
>
>
> Saw this in the JobTracker log when a user was trying to reload a page for a running job that since finished.
> 2007-03-09 00:23:44,029 WARN /: /taskdetails.jsp?jobid=job_0003&taskid=tip_0003_m_001379:
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.getTaskInProgress(JobInProgress.java:916)
>         at org.apache.hadoop.mapred.JobTracker.getTip(JobTracker.java:1551)
>         at org.apache.hadoop.mapred.JobTracker.getTaskStatuses(JobTracker.java:1526)
>         at org.apache.hadoop.mapred.taskdetails_jsp._jspService(taskdetails_jsp.java:59)
>         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)

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


[jira] Commented: (HADOOP-1099) NullPointerException in JobInProgress.getTaskInProgress

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480531 ] 

Owen O'Malley commented on HADOOP-1099:
---------------------------------------

+1

> NullPointerException in JobInProgress.getTaskInProgress
> -------------------------------------------------------
>
>                 Key: HADOOP-1099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1099
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>         Assigned To: Gautam Kowshik
>             Fix For: 0.12.1
>
>         Attachments: HADOOP-1099.patch
>
>
> Saw this in the JobTracker log when a user was trying to reload a page for a running job that since finished.
> 2007-03-09 00:23:44,029 WARN /: /taskdetails.jsp?jobid=job_0003&taskid=tip_0003_m_001379:
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.getTaskInProgress(JobInProgress.java:916)
>         at org.apache.hadoop.mapred.JobTracker.getTip(JobTracker.java:1551)
>         at org.apache.hadoop.mapred.JobTracker.getTaskStatuses(JobTracker.java:1526)
>         at org.apache.hadoop.mapred.taskdetails_jsp._jspService(taskdetails_jsp.java:59)
>         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)

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


[jira] Updated: (HADOOP-1099) NullPointerException in JobInProgress.getTaskInProgress

Posted by "Gautam Kowshik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gautam Kowshik updated HADOOP-1099:
-----------------------------------

    Attachment: HADOOP-1099.patch

> NullPointerException in JobInProgress.getTaskInProgress
> -------------------------------------------------------
>
>                 Key: HADOOP-1099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1099
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>         Assigned To: Gautam Kowshik
>         Attachments: HADOOP-1099.patch
>
>
> Saw this in the JobTracker log when a user was trying to reload a page for a running job that since finished.
> 2007-03-09 00:23:44,029 WARN /: /taskdetails.jsp?jobid=job_0003&taskid=tip_0003_m_001379:
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.getTaskInProgress(JobInProgress.java:916)
>         at org.apache.hadoop.mapred.JobTracker.getTip(JobTracker.java:1551)
>         at org.apache.hadoop.mapred.JobTracker.getTaskStatuses(JobTracker.java:1526)
>         at org.apache.hadoop.mapred.taskdetails_jsp._jspService(taskdetails_jsp.java:59)
>         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)

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


[jira] Assigned: (HADOOP-1099) NullPointerException in JobInProgress.getTaskInProgress

Posted by "Gautam Kowshik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gautam Kowshik reassigned HADOOP-1099:
--------------------------------------

    Assignee: Gautam Kowshik

> NullPointerException in JobInProgress.getTaskInProgress
> -------------------------------------------------------
>
>                 Key: HADOOP-1099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1099
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>         Assigned To: Gautam Kowshik
>
> Saw this in the JobTracker log when a user was trying to reload a page for a running job that since finished.
> 2007-03-09 00:23:44,029 WARN /: /taskdetails.jsp?jobid=job_0003&taskid=tip_0003_m_001379:
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.getTaskInProgress(JobInProgress.java:916)
>         at org.apache.hadoop.mapred.JobTracker.getTip(JobTracker.java:1551)
>         at org.apache.hadoop.mapred.JobTracker.getTaskStatuses(JobTracker.java:1526)
>         at org.apache.hadoop.mapred.taskdetails_jsp._jspService(taskdetails_jsp.java:59)
>         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)

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


[jira] Updated: (HADOOP-1099) NullPointerException in JobInProgress.getTaskInProgress

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-1099:
----------------------------------

    Fix Version/s: 0.12.1

> NullPointerException in JobInProgress.getTaskInProgress
> -------------------------------------------------------
>
>                 Key: HADOOP-1099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1099
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>         Assigned To: Gautam Kowshik
>             Fix For: 0.12.1
>
>         Attachments: HADOOP-1099.patch
>
>
> Saw this in the JobTracker log when a user was trying to reload a page for a running job that since finished.
> 2007-03-09 00:23:44,029 WARN /: /taskdetails.jsp?jobid=job_0003&taskid=tip_0003_m_001379:
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.getTaskInProgress(JobInProgress.java:916)
>         at org.apache.hadoop.mapred.JobTracker.getTip(JobTracker.java:1551)
>         at org.apache.hadoop.mapred.JobTracker.getTaskStatuses(JobTracker.java:1526)
>         at org.apache.hadoop.mapred.taskdetails_jsp._jspService(taskdetails_jsp.java:59)
>         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)

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


[jira] Updated: (HADOOP-1099) NullPointerException in JobInProgress.getTaskInProgress

Posted by "Gautam Kowshik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gautam Kowshik updated HADOOP-1099:
-----------------------------------

    Status: Patch Available  (was: Open)

jobfailures_jsp.java contructs the taskdetails.jsp link with the wrong GET params viz. taskid instead of tipid which the taskdetails.jsp expects. Changed that. 

> NullPointerException in JobInProgress.getTaskInProgress
> -------------------------------------------------------
>
>                 Key: HADOOP-1099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1099
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>         Assigned To: Gautam Kowshik
>         Attachments: HADOOP-1099.patch
>
>
> Saw this in the JobTracker log when a user was trying to reload a page for a running job that since finished.
> 2007-03-09 00:23:44,029 WARN /: /taskdetails.jsp?jobid=job_0003&taskid=tip_0003_m_001379:
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.getTaskInProgress(JobInProgress.java:916)
>         at org.apache.hadoop.mapred.JobTracker.getTip(JobTracker.java:1551)
>         at org.apache.hadoop.mapred.JobTracker.getTaskStatuses(JobTracker.java:1526)
>         at org.apache.hadoop.mapred.taskdetails_jsp._jspService(taskdetails_jsp.java:59)
>         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)

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


[jira] Commented: (HADOOP-1099) NullPointerException in JobInProgress.getTaskInProgress

Posted by "David Bowen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12480513 ] 

David Bowen commented on HADOOP-1099:
-------------------------------------

+1.  My mistake I think.




> NullPointerException in JobInProgress.getTaskInProgress
> -------------------------------------------------------
>
>                 Key: HADOOP-1099
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1099
>             Project: Hadoop
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.12.0
>            Reporter: Nigel Daley
>         Assigned To: Gautam Kowshik
>         Attachments: HADOOP-1099.patch
>
>
> Saw this in the JobTracker log when a user was trying to reload a page for a running job that since finished.
> 2007-03-09 00:23:44,029 WARN /: /taskdetails.jsp?jobid=job_0003&taskid=tip_0003_m_001379:
> java.lang.NullPointerException
>         at org.apache.hadoop.mapred.JobInProgress.getTaskInProgress(JobInProgress.java:916)
>         at org.apache.hadoop.mapred.JobTracker.getTip(JobTracker.java:1551)
>         at org.apache.hadoop.mapred.JobTracker.getTaskStatuses(JobTracker.java:1526)
>         at org.apache.hadoop.mapred.taskdetails_jsp._jspService(taskdetails_jsp.java:59)
>         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)

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