Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-37

Gora build fails, complains about multiple HBase artifacts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.2
    • 0.2
    • build process
    • None

    Description

      Building with Ant fails for me:

      build-common.xml:350: impossible to ivy retrieve: java.lang.RuntimeException: problem during retrieve of org.apache.gora#gora-hbase: java.lang.RuntimeException: Multiple artifacts of the module org.apache.hbase#hbase;0.90.0 are retrieved to the same file! Update the retrieve pattern to fix this error.

      Same as the problem here:

      https://groups.google.com/a/cloudera.org/group/sqoop-dev/browse_thread/thread/d3001e9474bc849f

      So this modification fixes it:

      diff --git a/build-common.xml b/build-common.xml
      index 0e824a9..49d3318 100644
      — a/build-common.xml
      +++ b/build-common.xml
      @@ -347,7 +347,7 @@

      <!-- the call to resolve is not mandatory, retrieve makes an implicit call if we don't -->
      <ivy:resolve file="${ivy.dir}/${ivy.file}" conf="compile" log="download-only"/>

      • <ivy:retrieve pattern="${lib.dir}/[artifact]-[revision].[ext]" symlink="true" log="quiet" conf="compile"/>
        + <ivy:retrieve pattern="${lib.dir}/[artifact][revision]([classifier]).[ext]" symlink="true" log="quiet" conf="compile"/>

      <!-- copy the libs in lib-ext, which are not ivy enabled, should change in the future -->
      <copy todir="${lib.dir}/" failonerror="false">

      Attachments

        Activity

          People

            chrismattmann Chris A. Mattmann
            butlermh Mark Butler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: