hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7414) path to setWar() in HttpServer is not setup properly for resources from Jar URLs
Date Fri, 24 Jun 2011 18:53:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054625#comment-13054625
] 

Luke Lu commented on HADOOP-7414:
---------------------------------

bq. What is trying to be achieved here?

The problem is not about war. It's about picking up the compiled jsp classes from the webapps
directory inside a jar. Without this patch the directory must be a fs directory and not a
resource inside a jar, which Ben wants. This is useful to create a single jar installation
of hadoop for easy deployment (in Ben's case, show-off :))

As for the patch, I think it'll be prudent to check if the name endsWith("/"), as there might
exist code trying to compensate the same problem and that testing whether "//" works with
jetty's different versions seems a lot more work.

> path to setWar() in HttpServer is not setup properly for resources from Jar URLs
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-7414
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7414
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Benjamin Reed
>         Attachments: HADOOP-7414.patch
>
>
> the path in setWar() needs to end in a '/' for jetty to properly process resources from
Jar URLs. by adding a '/' at the end the webapps can run out of a Jar file instead of unzipping
into a file system.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message