hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Plamen Jeliazkov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9244) Upgrade servlet-api dependency from version 2.5 to 3.0.
Date Thu, 24 Jan 2013 23:05:14 GMT

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

Plamen Jeliazkov commented on HADOOP-9244:
------------------------------------------

Suresh: I have ran the full unit test suite locally as well as operate a distributed cluster
which uses the 3.0 API in custom filters. I have not seen any disruptions and / or drops of
any of the HTTP servers with the dependency upgrade installed and usage of the cluster. I
have not tested with MapReduce / YARN however.

All: If you are more comfortable with an upgrade to jetty7 and servlet3 that is fine.
                
> Upgrade servlet-api dependency from version 2.5 to 3.0.
> -------------------------------------------------------
>
>                 Key: HADOOP-9244
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9244
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.0.3-alpha
>            Reporter: Plamen Jeliazkov
>            Assignee: Plamen Jeliazkov
>            Priority: Minor
>             Fix For: 3.0.0, 2.0.3-alpha
>
>         Attachments: HDFS-4422.patch
>
>
> Please update the servlet-api jar from 2.5 to javax.servlet 3.0 via Maven:
> <dependency>
>         <groupId>javax.servlet</groupId>
>         <artifactId>javax.servlet-api</artifactId>
>         <version>3.0.1</version>
>         <scope>provided</scope>
> </dependency>
> I am running a 2.0.3 dev-cluster and can confirm compatibility. I have removed the servlet-api-2.5.jar
file and replaced it with javax.servlet-3.0.jar file. I am using javax.servlet-3.0 because
it implements methods that I use for a filter, namely the HttpServletResponse.getStatus()
method.
> I believe it is a gain to have this dependency as it allows more functionality and has
so far proven to be backwards compatible.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message