Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14598

Can spark-mllib upgrade to Jersey 2.x

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.6.1
    • None
    • Build, Spark Core
    • None

    Description

      I'm trying to build a web app that uses swagger and jersey. I have been using jersey 2.7, but spark-mllib-2.11 has a dependency on jersey 1.9. When I add spark-mllib-2.11 to my web app I start getting exceptions on tomcat startup.

      java.lang.NullPointerException
      at com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(AbstractJAXBProvider.java:109)

      I've tried playing with exclusions in my maven dependency, but that causes other issues. I'm happy to see a workaround, but otherwise moving from 1.9 (which seems a bit old) to 2.x might be a nice feature.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dawood@us.ibm.com David Wood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: