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/02/08 18:43:12 UTC

[jira] Created: (HADOOP-28) webapps broken

webapps broken
--------------

         Key: HADOOP-28
         URL: http://issues.apache.org/jira/browse/HADOOP-28
     Project: Hadoop
        Type: Bug
  Components: mapred  
    Reporter: Owen O'Malley


Changing the classes to private broke the webapps. 

The required public classes are:
org.apache.hadoop.mapred.JobInProgress
org.apache.hadoop.mapred.JobProfile
org.apache.hadoop.mapred.JobStatus
org.apache.hadoop.mapred.TaskTrackerStatus

To fix, we need one of:
  1. The classes need to be made public again
  2. The functionality needs to be made available through the classes that are public
  3. The webapps need to move into the mapred package.

-- 
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-28) webapps broken

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

    Resolution: Fixed

The JSP pages are now pre-compiled to servlets that can access package-private classes.

> webapps broken
> --------------
>
>          Key: HADOOP-28
>          URL: http://issues.apache.org/jira/browse/HADOOP-28
>      Project: Hadoop
>         Type: Bug
>   Components: mapred
>     Reporter: Owen O'Malley
>  Attachments: jspc.patch
>
> Changing the classes to private broke the webapps. 
> The required public classes are:
> org.apache.hadoop.mapred.JobInProgress
> org.apache.hadoop.mapred.JobProfile
> org.apache.hadoop.mapred.JobStatus
> org.apache.hadoop.mapred.TaskTrackerStatus
> To fix, we need one of:
>   1. The classes need to be made public again
>   2. The functionality needs to be made available through the classes that are public
>   3. The webapps need to move into the mapred package.

-- 
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-28) webapps broken

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

Doug Cutting updated HADOOP-28:
-------------------------------

    Attachment: jspc.patch

Here's something that will compile the jsp pages as servlets.  More changes are required to configure jetty to use them, but this is a proof of concept.

> webapps broken
> --------------
>
>          Key: HADOOP-28
>          URL: http://issues.apache.org/jira/browse/HADOOP-28
>      Project: Hadoop
>         Type: Bug
>   Components: mapred
>     Reporter: Owen O'Malley
>  Attachments: jspc.patch
>
> Changing the classes to private broke the webapps. 
> The required public classes are:
> org.apache.hadoop.mapred.JobInProgress
> org.apache.hadoop.mapred.JobProfile
> org.apache.hadoop.mapred.JobStatus
> org.apache.hadoop.mapred.TaskTrackerStatus
> To fix, we need one of:
>   1. The classes need to be made public again
>   2. The functionality needs to be made available through the classes that are public
>   3. The webapps need to move into the mapred package.

-- 
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-28) webapps broken

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

Doug Cutting commented on HADOOP-28:
------------------------------------

Ugh.  I like (3).  We should really try to limit public classes to the user API we intend to support long-term.  The only way I can see to achieve this is to compile the jsp's to servlets offline using Ant's jspc task, where you can specify a package.

> webapps broken
> --------------
>
>          Key: HADOOP-28
>          URL: http://issues.apache.org/jira/browse/HADOOP-28
>      Project: Hadoop
>         Type: Bug
>   Components: mapred
>     Reporter: Owen O'Malley

>
> Changing the classes to private broke the webapps. 
> The required public classes are:
> org.apache.hadoop.mapred.JobInProgress
> org.apache.hadoop.mapred.JobProfile
> org.apache.hadoop.mapred.JobStatus
> org.apache.hadoop.mapred.TaskTrackerStatus
> To fix, we need one of:
>   1. The classes need to be made public again
>   2. The functionality needs to be made available through the classes that are public
>   3. The webapps need to move into the mapred package.

-- 
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-28) webapps broken

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


> webapps broken
> --------------
>
>          Key: HADOOP-28
>          URL: http://issues.apache.org/jira/browse/HADOOP-28
>      Project: Hadoop
>         Type: Bug

>   Components: mapred
>     Reporter: Owen O'Malley
>      Fix For: 0.1.0
>  Attachments: jspc.patch
>
> Changing the classes to private broke the webapps. 
> The required public classes are:
> org.apache.hadoop.mapred.JobInProgress
> org.apache.hadoop.mapred.JobProfile
> org.apache.hadoop.mapred.JobStatus
> org.apache.hadoop.mapred.TaskTrackerStatus
> To fix, we need one of:
>   1. The classes need to be made public again
>   2. The functionality needs to be made available through the classes that are public
>   3. The webapps need to move into the mapred package.

-- 
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-28) webapps broken

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

Doug Cutting updated HADOOP-28:
-------------------------------

    Fix Version: 0.1.0

> webapps broken
> --------------
>
>          Key: HADOOP-28
>          URL: http://issues.apache.org/jira/browse/HADOOP-28
>      Project: Hadoop
>         Type: Bug

>   Components: mapred
>     Reporter: Owen O'Malley
>      Fix For: 0.1.0
>  Attachments: jspc.patch
>
> Changing the classes to private broke the webapps. 
> The required public classes are:
> org.apache.hadoop.mapred.JobInProgress
> org.apache.hadoop.mapred.JobProfile
> org.apache.hadoop.mapred.JobStatus
> org.apache.hadoop.mapred.TaskTrackerStatus
> To fix, we need one of:
>   1. The classes need to be made public again
>   2. The functionality needs to be made available through the classes that are public
>   3. The webapps need to move into the mapred package.

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