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

HBase is not starting due to Jersey library conflicts with javax.ws.rs.api jar

    XMLWordPrintableJSON

Details

    Description

      With some recent Atlas changes for supporting HTTP based hook support, HBase is not starting because of conflicts between jersey jars and rs-api jar.

      This Jira is to exclude the javax.ws.rs-api.jar from the HBase classpath.

      HBase uses shaded jersey jars and hence does not need to use this jar directly. However, it still adds this jar to the CLASSPATH while starting the server. Atlas on the other hand is using a non-shaded version of javax.ws.rs-api jar which causes this conflict and causes the hbase server fail while initializing atlas co-processor.

      Since hbase is using shaded jersey jar and not using this jar directly, it should be removed from the bundle as it may cause similar conflicts with other client applications potentially using it.

      Attachments

        Issue Links

          Activity

            People

              ragarkar Rahul Agarkar
              ragarkar Rahul Agarkar
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: