Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18518

Remove jersey1* dependencies from project and jersey1* jars from lib dir

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.0.0-alpha-1
    • Fix Version/s: 2.0.0
    • Component/s: dependencies, pom, REST
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      Recently i have opened https://issues.apache.org/jira/browse/HBASE-18506 and it is clear that is caused by mixing jersey1 and jersey2 jars in classpath. With https://issues.apache.org/jira/browse/HBASE-12894 we have introduced jersey2 to project, and we also have bunch of transitive dependencies (mainly from hadoop) on jersey1 which is not happiest situation since jersey1 and jersey2 under same classpath can case runtime issues as it was case with rest.
      This task will have following steps

      • Clean code and replace jersey1 constructs with jersey2 versions(there should not be much of this)
      • Add exclusions for transitive jersey1 dependencies in pom.xml
      • Add exclusions in hadoop-two-compat.xml to prevent jersey1 jars in lib dir

        Attachments

        1. HBASE-18518-master-02.patch
          10 kB
          Samir Ahmic
        2. HBASE-18518-master-01.patch
          9 kB
          Samir Ahmic

          Issue Links

            Activity

              People

              • Assignee:
                asamir Samir Ahmic
                Reporter:
                asamir Samir Ahmic
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: