Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9244

Upgrade servlet-api dependency from version 2.5 to 3.0.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.3-alpha
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. HDFS-4422.patch
          5 kB
          Plamen Jeliazkov

          Issue Links

            Activity

              People

              • Assignee:
                zero45 Plamen Jeliazkov
                Reporter:
                zero45 Plamen Jeliazkov
              • Votes:
                0 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: