Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-643

Hicc builds with conflicting jar dependencies

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.5.0
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      hudson Hudson added a comment -

      Integrated in Chukwa-trunk #446 (See https://builds.apache.org/job/Chukwa-trunk/446/)
      CHUKWA-643. Updated Jersey dependency. (Prakhar Srivastava via Eric Yang) (Revision 1353357)

      Result = FAILURE
      eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1353357
      Files :

      • /incubator/chukwa/trunk/CHANGES.txt
      • /incubator/chukwa/trunk/pom.xml
      Show
      hudson Hudson added a comment - Integrated in Chukwa-trunk #446 (See https://builds.apache.org/job/Chukwa-trunk/446/ ) CHUKWA-643 . Updated Jersey dependency. (Prakhar Srivastava via Eric Yang) (Revision 1353357) Result = FAILURE eyang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1353357 Files : /incubator/chukwa/trunk/CHANGES.txt /incubator/chukwa/trunk/pom.xml
      Hide
      eyang Eric Yang added a comment -

      Thanks Prakhar. I just committed this.

      Show
      eyang Eric Yang added a comment - Thanks Prakhar. I just committed this.
      Hide
      eyang Eric Yang added a comment -

      +1 looks good. I was able to reproduce this on RHEL 5.8.

      Show
      eyang Eric Yang added a comment - +1 looks good. I was able to reproduce this on RHEL 5.8.
      Hide
      eyang Eric Yang added a comment -

      Please review the patch and see if this matches the description. I am unable to reproduce the dependency problem in my environment. Thanks

      Show
      eyang Eric Yang added a comment - Please review the patch and see if this matches the description. I am unable to reproduce the dependency problem in my environment. Thanks
      Hide
      eyang Eric Yang added a comment -

      Hi Prakhar,

      I think excluding jersey from hbase and hbase test are good changes. I am not sure about jsr311-api. If jsr311-api is excluded from Jersey bundle, where does jsr-api 1.1 come from?

      Show
      eyang Eric Yang added a comment - Hi Prakhar, I think excluding jersey from hbase and hbase test are good changes. I am not sure about jsr311-api. If jsr311-api is excluded from Jersey bundle, where does jsr-api 1.1 come from?
      Hide
      prakhar_sri Prakhar Srivastava added a comment -

      The hbase and hbase-tests dependency should be added as:
      <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase</artifactId>
      <version>0.92.0</version>
      <exclusions>
      <exclusion>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-core</artifactId>
      </exclusion>
      <exclusion>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-json</artifactId>
      </exclusion>
      <exclusion>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-server</artifactId>
      </exclusion>
      </exclusions>
      </dependency>

      <dependency>
      <groupId>org.apache.hbase</groupId>
      <artifactId>hbase</artifactId>
      <classifier>tests</classifier>
      <version>0.92.0</version>
      <exclusions>
      <exclusion>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-core</artifactId>
      </exclusion>
      <exclusion>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-json</artifactId>
      </exclusion>
      <exclusion>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-server</artifactId>
      </exclusion>
      </exclusions>
      </dependency>

      Also there is an issue with jsr311-api from jersey bindle so the jersey-bundle dependency goes as follows:
      <dependency>
      <groupId>com.sun.jersey</groupId>
      <artifactId>jersey-bundle</artifactId>
      <version>1.10</version>
      <exclusions>
      <exclusion>
      <groupId>javax.ws.rs</groupId>
      <artifactId>jsr311-api</artifactId>
      </exclusion>
      </exclusions>
      </dependency>

      jsr-api 1.1 works fine.

      Show
      prakhar_sri Prakhar Srivastava added a comment - The hbase and hbase-tests dependency should be added as: <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase</artifactId> <version>0.92.0</version> <exclusions> <exclusion> <groupId>com.sun.jersey</groupId> <artifactId>jersey-core</artifactId> </exclusion> <exclusion> <groupId>com.sun.jersey</groupId> <artifactId>jersey-json</artifactId> </exclusion> <exclusion> <groupId>com.sun.jersey</groupId> <artifactId>jersey-server</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.hbase</groupId> <artifactId>hbase</artifactId> <classifier>tests</classifier> <version>0.92.0</version> <exclusions> <exclusion> <groupId>com.sun.jersey</groupId> <artifactId>jersey-core</artifactId> </exclusion> <exclusion> <groupId>com.sun.jersey</groupId> <artifactId>jersey-json</artifactId> </exclusion> <exclusion> <groupId>com.sun.jersey</groupId> <artifactId>jersey-server</artifactId> </exclusion> </exclusions> </dependency> Also there is an issue with jsr311-api from jersey bindle so the jersey-bundle dependency goes as follows: <dependency> <groupId>com.sun.jersey</groupId> <artifactId>jersey-bundle</artifactId> <version>1.10</version> <exclusions> <exclusion> <groupId>javax.ws.rs</groupId> <artifactId>jsr311-api</artifactId> </exclusion> </exclusions> </dependency> jsr-api 1.1 works fine.

        People

        • Assignee:
          prakhar Prakhar Srivastava
          Reporter:
          prakhar_sri Prakhar Srivastava
        • Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development