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 "Owen O'Malley (JIRA)" <ji...@apache.org> on 2006/05/19 02:06:06 UTC

[jira] Created: (HADOOP-233) add a http status server for the task trackers

add a http status server for the task trackers
----------------------------------------------

         Key: HADOOP-233
         URL: http://issues.apache.org/jira/browse/HADOOP-233
     Project: Hadoop
        Type: New Feature

  Components: mapred  
    Versions: 0.2.1    
    Reporter: Owen O'Malley
 Assigned to: Owen O'Malley 
     Fix For: 0.3


I'd like to have:
  1. a jetty server on each task tracker to serve up logs and status
  2. the jetty server on the job tracker serve up logs

-- 
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


[jira] Commented: (HADOOP-233) add a http status server for the task trackers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-233?page=comments#action_12412584 ] 

Doug Cutting commented on HADOOP-233:
-------------------------------------

I finally figured out how to apply this:

svn mv src/webapps/mapred src/webapps/job
svn mv src/webapps/index.html src/webapps/job
patch -p 0 < task-tracker-webapp.patch
svn add src/webapps/task

But then it doesn't compile.  I think you forgot to include the new class that starts a jetty server, StatusHttpServer.  There doesn't appear to be any of the 'static' stuff (mentioned above) in the patch.  Is that also missing from the patch?


> add a http status server for the task trackers
> ----------------------------------------------
>
>          Key: HADOOP-233
>          URL: http://issues.apache.org/jira/browse/HADOOP-233
>      Project: Hadoop
>         Type: New Feature

>   Components: mapred
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.3
>  Attachments: task-tracker-webapp.patch
>
> I'd like to have:
>   1. a jetty server on each task tracker to serve up logs and status
>   2. the jetty server on the job tracker serve up logs

-- 
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


[jira] Updated: (HADOOP-233) add a http status server for the task trackers

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-233?page=all ]

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

    Attachment: task-tracker-webapp.patch

This patch generalizes the jetty server and splits it so that the task tracker and job tracker can have different jsp scripts registered. In particular,

In src/webapps:
  index.html -> job/index.html
  mapred/*.jsp -> job/*.jsp
  n/a -> task/
  n/a -> static/

We can put things like hadoop-logo.jpg in static and they will be available in either server under http://<host>:<port>/static/

The logs for each server are available under http://<host>:<port>/logs/

The default ports are:
   job tracker: 50030
   task tracker: 50060



> add a http status server for the task trackers
> ----------------------------------------------
>
>          Key: HADOOP-233
>          URL: http://issues.apache.org/jira/browse/HADOOP-233
>      Project: Hadoop
>         Type: New Feature

>   Components: mapred
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.3
>  Attachments: task-tracker-webapp.patch
>
> I'd like to have:
>   1. a jetty server on each task tracker to serve up logs and status
>   2. the jetty server on the job tracker serve up logs

-- 
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


[jira] Commented: (HADOOP-233) add a http status server for the task trackers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/HADOOP-233?page=comments#action_12412611 ] 

Doug Cutting commented on HADOOP-233:
-------------------------------------

Why do you copy the jsp files into the build directory?  That way they wind up in the jar, but only the .class files, .html and .jpg should need to be in the jar, since the .jsp files are pre-compiled, no?

> add a http status server for the task trackers
> ----------------------------------------------
>
>          Key: HADOOP-233
>          URL: http://issues.apache.org/jira/browse/HADOOP-233
>      Project: Hadoop
>         Type: New Feature

>   Components: mapred
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.3
>  Attachments: task-tracker-webapp-2.patch, task-tracker-webapp.patch
>
> I'd like to have:
>   1. a jetty server on each task tracker to serve up logs and status
>   2. the jetty server on the job tracker serve up logs

-- 
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


[jira] Updated: (HADOOP-233) add a http status server for the task trackers

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-233?page=all ]

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

    Attachment: task-tracker-webapp-2.patch

Ok, here is an updated patch. You'll still need to move the src/webapps/mapred to src/webapps/job and copy the hadoop-logo.jpg into src/webapps/static. 



> add a http status server for the task trackers
> ----------------------------------------------
>
>          Key: HADOOP-233
>          URL: http://issues.apache.org/jira/browse/HADOOP-233
>      Project: Hadoop
>         Type: New Feature

>   Components: mapred
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.3
>  Attachments: task-tracker-webapp-2.patch, task-tracker-webapp.patch
>
> I'd like to have:
>   1. a jetty server on each task tracker to serve up logs and status
>   2. the jetty server on the job tracker serve up logs

-- 
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


[jira] Closed: (HADOOP-233) add a http status server for the task trackers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-233?page=all ]
     
Doug Cutting closed HADOOP-233:
-------------------------------


> add a http status server for the task trackers
> ----------------------------------------------
>
>          Key: HADOOP-233
>          URL: http://issues.apache.org/jira/browse/HADOOP-233
>      Project: Hadoop
>         Type: New Feature

>   Components: mapred
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.3.0
>  Attachments: task-tracker-webapp-2.patch, task-tracker-webapp.patch
>
> I'd like to have:
>   1. a jetty server on each task tracker to serve up logs and status
>   2. the jetty server on the job tracker serve up logs

-- 
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


[jira] Resolved: (HADOOP-233) add a http status server for the task trackers

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-233?page=all ]
     
Doug Cutting resolved HADOOP-233:
---------------------------------

    Resolution: Fixed

I just committed this.  I changed build.xml to not copy jsp files into the build directory.

Thanks, Owen!

> add a http status server for the task trackers
> ----------------------------------------------
>
>          Key: HADOOP-233
>          URL: http://issues.apache.org/jira/browse/HADOOP-233
>      Project: Hadoop
>         Type: New Feature

>   Components: mapred
>     Versions: 0.2.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>      Fix For: 0.3
>  Attachments: task-tracker-webapp-2.patch, task-tracker-webapp.patch
>
> I'd like to have:
>   1. a jetty server on each task tracker to serve up logs and status
>   2. the jetty server on the job tracker serve up logs

-- 
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