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

replace jsr311-api dependency with rs-api

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • build, common
    • None

    Description

      jsr311-api is unmaintained and causes issues when jars bring in a dependency on the newer rs-api jar - that uses the same package name but has incompatible code

      To make things worse, there is now a jakarta fork of rs-api but I suggest we worry about that later.

      jersey-core 1.19.x gives us the jsr311-api dependency. 

      The upgrade to HADOOP-15984 is currently blocked and looks hard.

      HADOOP-15983 is a workaround that allows us to keep jersey 1.x but removes the issue where we end up relying on the unmaintained Jackson 1.9 jars.

      We may now need a similar fork of jersey-core 1.19 to build a version of that jar that uses rs-api instead of jsr311.

      The main benefit here is get around the fact that jackson jaxrs 2.13+ has dropped support for jsr311 and now only supports rs-api. (see HADOOP-18332)

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pj.fanning PJ Fanning
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: