Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-3737

Fix build failure of Sqoop due to unresolved dependency on javax.activation-api

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.2.0
    • None
    • None

    Description

      When I run `./gradlew sqoop-clean sqoop-pkg`, I get the following error

       

      [ivy:resolve]           [FAILED     ] javax.ws.rs#javax.ws.rs-api;2.1.1!javax.ws.rs-api.${packaging.type}:  (0ms)
      [ivy:resolve]   ==== fs2: tried
      [ivy:resolve]     /root/.ivy2/cache/javax.ws.rs/javax.ws.rs-api/jars/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve]   ==== fs: tried
      [ivy:resolve]     /root/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve]   ==== apache-snapshot: tried
      [ivy:resolve]     https://repository.apache.org/content/repositories/snapshots/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve]   ==== datanucleus: tried
      [ivy:resolve]     http://www.datanucleus.org/downloads/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve]   ==== cloudera-releases: tried
      [ivy:resolve]     https://repository.cloudera.com/content/repositories/releases/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve]   ==== cloudera-staging: tried
      [ivy:resolve]     https://repository.cloudera.com/content/repositories/staging/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve]   ==== maven2: tried
      [ivy:resolve]     https://repo1.maven.org/maven2/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve]   ==== conjars: tried
      [ivy:resolve]     http://conjars.org/repo/javax/ws/rs/javax.ws.rs-api/2.1.1/javax.ws.rs-api-2.1.1.${packaging.type}
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve]           ::          UNRESOLVED DEPENDENCIES         ::
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve]           :: javax.activation#javax.activation-api;working@bigdata-0004: not found
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve]           ::              FAILED DOWNLOADS            ::
      [ivy:resolve]           :: ^ see resolution messages for details  ^ ::
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve]           :: javax.ws.rs#javax.ws.rs-api;2.1.1!javax.ws.rs-api.${packaging.type}
      [ivy:resolve]           ::::::::::::::::::::::::::::::::::::::::::::::
      [ivy:resolve] 
      [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILSBUILD FAILED
      /opt/startdt/wzgdev/bigtop/build/sqoop/rpm/BUILD/sqoop-1.4.7/build.xml:1301: impossible to resolve dependencies:
              resolve failed - see output for detailsTotal time: 23 seconds
      error: Bad exit status from /var/tmp/rpm-tmp.r5DZhN (%build)    Bad exit status from /var/tmp/rpm-tmp.r5DZhN (%build)RPM build errors:> Task :sqoop-rpm FAILEDFAILURE: Build failed with an exception.* Where:
      Script '/opt/startdt/wzgdev/bigtop/packages.gradle' line: 508* What went wrong:
      Execution failed for task ':sqoop-rpm'.
      > Process 'command 'rpmbuild'' finished with non-zero exit value 1* Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 27s
      6 actionable tasks: 6 executed 

      Attachments

        Activity

          People

            wzg547228197 wuzhiguo
            wzg547228197 wuzhiguo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m