Oozie
  1. Oozie
  2. OOZIE-810

Modify Oozie POM to pickup doxia 9.2y from a repo where it is avail

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.0
    • Component/s: build
    • Labels:
    • Environment:

      Oozie docs Build Failure due to missing doxia-module-twiki:jar:1.0-alpha-9.2 and doxia-module-twiki:jar:1.0-alpha-9.2y

      Description

      Ozzie Docs are not able to compile due to the below error:

      [INFO] — maven-site-plugin:2.0-beta-6:site (default) @ oozie-docs —
      Downloading: file:///tmp/internalmavenrepo/org/apache/maven/doxia/doxia-module-twiki/1.0-alpha-9.2y/doxia-module-twiki-1.0-alpha-9.2y.pom
      Downloading: http://yahoo.github.com/maven/repository/org/apache/maven/doxia/doxia-module-twiki/1.0-alpha-9.2y/doxia-module-twiki-1.0-alpha-9.2y.pom
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-twiki/1.0-alpha-9.2y/doxia-module-twiki-1.0-alpha-9.2y.pom
      [WARNING] The POM for org.apache.maven.doxia:doxia-module-twiki:jar:1.0-alpha-9.2y is missing, no dependency information available
      Downloading: file:///tmp/internalmavenrepo/org/apache/maven/doxia/doxia-core/1.0-alpha-9.2y/doxia-core-1.0-alpha-9.2y.pom
      Downloading: http://yahoo.github.com/maven/repository/org/apache/maven/doxia/doxia-core/1.0-alpha-9.2y/doxia-core-1.0-alpha-9.2y.pom
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-9.2y/doxia-core-1.0-alpha-9.2y.pom
      [WARNING] The POM for org.apache.maven.doxia:doxia-core:jar:1.0-alpha-9.2y is missing, no dependency information available
      Downloading: file:///tmp/internalmavenrepo/org/apache/maven/doxia/doxia-module-twiki/1.0-alpha-9.2y/doxia-module-twiki-1.0-alpha-9.2y.jar
      Downloading: file:///tmp/internalmavenrepo/org/apache/maven/doxia/doxia-core/1.0-alpha-9.2y/doxia-core-1.0-alpha-9.2y.jar
      Downloading: http://yahoo.github.com/maven/repository/org/apache/maven/doxia/doxia-module-twiki/1.0-alpha-9.2y/doxia-module-twiki-1.0-alpha-9.2y.jar
      Downloading: http://yahoo.github.com/maven/repository/org/apache/maven/doxia/doxia-core/1.0-alpha-9.2y/doxia-core-1.0-alpha-9.2y.jar
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-module-twiki/1.0-alpha-9.2y/doxia-module-twiki-1.0-alpha-9.2y.jar
      Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/doxia/doxia-core/1.0-alpha-9.2y/doxia-core-1.0-alpha-9.2y.jar
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] Oozie Main ........................................ SUCCESS [2.202s]
      [INFO] Oozie Client ...................................... SUCCESS [23.935s]
      [INFO] Oozie Share Lib ................................... SUCCESS [5.644s]
      [INFO] Oozie Core ........................................ SUCCESS [52.477s]
      [INFO] Oozie Docs ........................................ FAILURE [3.388s]
      [INFO] Oozie WebApp ...................................... SKIPPED
      [INFO] Oozie Examples .................................... SKIPPED
      [INFO] Oozie Distro ...................................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 1:28.870s
      [INFO] Finished at: Wed Apr 11 11:43:42 PDT 2012
      [INFO] Final Memory: 41M/111M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:2.0-beta-6:site (default) on project oozie-docs: Execution default of goal org.apache.maven.plugins:maven-site-plugin:2.0-beta-6:site failed: Plugin org.apache.maven.plugins:maven-site-plugin:2.0-beta-6 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven.doxia:doxia-module-twiki:jar:1.0-alpha-9.2y, org.apache.maven.doxia:doxia-core:jar:1.0-alpha-9.2y: Could not find artifact org.apache.maven.doxia:doxia-module-twiki:jar:1.0-alpha-9.2y in internal.maven.repo (file:///tmp/internalmavenrepo) -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR] mvn <goals> -rf :oozie-docs
      + '[' 1 '!=' 0 ']'
      + echo

      + echo 'ERROR, Oozie distro creation failed'
      ERROR, Oozie distro creation failed
      + echo

      + exit -1

      There is related jira under BIGTOP https://issues.apache.org/jira/browse/BIGTOP-518.

      1. OOZIE-810.patch
        1 kB
        Ashish Singh

        Issue Links

          Activity

          Hide
          Ashish Singh added a comment -

          Attaching the patch file, changed the version from 1.0-alpha-9.2y to 1.0-alpha-9.

          Oozie build went fine.

          If you are not hitting this issue, please clear ~/.m2 cache on the build machine.

          Show
          Ashish Singh added a comment - Attaching the patch file, changed the version from 1.0-alpha-9.2y to 1.0-alpha-9. Oozie build went fine. If you are not hitting this issue, please clear ~/.m2 cache on the build machine.
          Hide
          Mohammad Kamrul Islam added a comment -

          Ashish,
          Good job!
          Is it possible to send the patch to review board at https://reviews.apache.org/dashboard/?

          All Oozie devs are lusing that.

          Regards,
          Mohammad

          Show
          Mohammad Kamrul Islam added a comment - Ashish, Good job! Is it possible to send the patch to review board at https://reviews.apache.org/dashboard/? All Oozie devs are lusing that. Regards, Mohammad
          Hide
          Ashish Singh added a comment -

          Hi Mohammad,

          I have attached the patch to the jira. Currently i don't have the account for review board. Once I create the account will upload the patch to review board also.

          Regards
          Ashish Singh

          Show
          Ashish Singh added a comment - Hi Mohammad, I have attached the patch to the jira. Currently i don't have the account for review board. Once I create the account will upload the patch to review board also. Regards Ashish Singh
          Hide
          Grant Ingersoll added a comment -

          Patch works for me.

          Show
          Grant Ingersoll added a comment - Patch works for me.
          Hide
          Alejandro Abdelnur added a comment -

          Have you build the docs with the patch?

          Show
          Alejandro Abdelnur added a comment - Have you build the docs with the patch?
          Hide
          Virag Kothari added a comment -

          Hey Ashish,
          Good work. I found the same problem after clearing the m2 cache and your patch works. Can you upload this patch to review board?

          Thanks,
          Virag

          Show
          Virag Kothari added a comment - Hey Ashish, Good work. I found the same problem after clearing the m2 cache and your patch works. Can you upload this patch to review board? Thanks, Virag
          Hide
          Alejandro Abdelnur added a comment -

          I've just tested the patch, while the build (with docs) does not fail, generated docs are incorrect.

          The tables of contents of the specs don't get generated, links don't work properly, etc:

          For example, the WF spec html page shows:

          
          !! Oozie Specification, a Hadoop Workflow System
          
          <center>(v3.1)</center>
          
          The goal of this document is to define a workflow engine system specialized in coordinating the execution of Hadoop Map/Reduce and Pig jobs.
          
          %TOC%
          
          Show
          Alejandro Abdelnur added a comment - I've just tested the patch, while the build (with docs) does not fail, generated docs are incorrect. The tables of contents of the specs don't get generated, links don't work properly, etc: For example, the WF spec html page shows: !! Oozie Specification, a Hadoop Workflow System <center>(v3.1)</center> The goal of this document is to define a workflow engine system specialized in coordinating the execution of Hadoop Map/Reduce and Pig jobs. %TOC%
          Hide
          Alejandro Abdelnur added a comment -

          we need to host the doxia 9.2y somewhere

          Show
          Alejandro Abdelnur added a comment - we need to host the doxia 9.2y somewhere
          Hide
          Alejandro Abdelnur added a comment -

          I've just got (courtesy of Cloudera build team) the doxia 9.2y plugins avail in Cloudera's Maven repo.

          Tested it with a clean .m2 cache and works fine.

          Uploading patch to RB.

          Show
          Alejandro Abdelnur added a comment - I've just got (courtesy of Cloudera build team) the doxia 9.2y plugins avail in Cloudera's Maven repo. Tested it with a clean .m2 cache and works fine. Uploading patch to RB.
          Hide
          jiraposter@reviews.apache.org added a comment -

          -----------------------------------------------------------
          This is an automatically generated e-mail. To reply, visit:
          https://reviews.apache.org/r/4941/
          -----------------------------------------------------------

          Review request for oozie and Mohammad Islam.

          Summary
          -------

          replacing the dead GH repo with Cloudera's repo where the doxia 9.2y plugin is now being hosted

          This addresses bug OOZIE-810.
          https://issues.apache.org/jira/browse/OOZIE-810

          Diffs


          trunk/pom.xml 1332473

          Diff: https://reviews.apache.org/r/4941/diff

          Testing
          -------

          did a full build with a clean m2 cache

          Thanks,

          Alejandro

          Show
          jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4941/ ----------------------------------------------------------- Review request for oozie and Mohammad Islam. Summary ------- replacing the dead GH repo with Cloudera's repo where the doxia 9.2y plugin is now being hosted This addresses bug OOZIE-810 . https://issues.apache.org/jira/browse/OOZIE-810 Diffs trunk/pom.xml 1332473 Diff: https://reviews.apache.org/r/4941/diff Testing ------- did a full build with a clean m2 cache Thanks, Alejandro
          Hide
          jiraposter@reviews.apache.org added a comment -

          -----------------------------------------------------------
          This is an automatically generated e-mail. To reply, visit:
          https://reviews.apache.org/r/4941/#review7405
          -----------------------------------------------------------

          Ship it!

          Build passes and docs are generated properly

          • Virag

          On 2012-04-30 23:57:04, Alejandro Abdelnur wrote:

          -----------------------------------------------------------

          This is an automatically generated e-mail. To reply, visit:

          https://reviews.apache.org/r/4941/

          -----------------------------------------------------------

          (Updated 2012-04-30 23:57:04)

          Review request for oozie and Mohammad Islam.

          Summary

          -------

          replacing the dead GH repo with Cloudera's repo where the doxia 9.2y plugin is now being hosted

          This addresses bug OOZIE-810.

          https://issues.apache.org/jira/browse/OOZIE-810

          Diffs

          -----

          trunk/pom.xml 1332473

          Diff: https://reviews.apache.org/r/4941/diff

          Testing

          -------

          did a full build with a clean m2 cache

          Thanks,

          Alejandro

          Show
          jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4941/#review7405 ----------------------------------------------------------- Ship it! Build passes and docs are generated properly Virag On 2012-04-30 23:57:04, Alejandro Abdelnur wrote: ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4941/ ----------------------------------------------------------- (Updated 2012-04-30 23:57:04) Review request for oozie and Mohammad Islam. Summary ------- replacing the dead GH repo with Cloudera's repo where the doxia 9.2y plugin is now being hosted This addresses bug OOZIE-810 . https://issues.apache.org/jira/browse/OOZIE-810 Diffs ----- trunk/pom.xml 1332473 Diff: https://reviews.apache.org/r/4941/diff Testing ------- did a full build with a clean m2 cache Thanks, Alejandro
          Hide
          jiraposter@reviews.apache.org added a comment -

          -----------------------------------------------------------
          This is an automatically generated e-mail. To reply, visit:
          https://reviews.apache.org/r/4941/#review7407
          -----------------------------------------------------------

          Ship it!

          +1

          • Mohammad

          On 2012-04-30 23:57:04, Alejandro Abdelnur wrote:

          -----------------------------------------------------------

          This is an automatically generated e-mail. To reply, visit:

          https://reviews.apache.org/r/4941/

          -----------------------------------------------------------

          (Updated 2012-04-30 23:57:04)

          Review request for oozie and Mohammad Islam.

          Summary

          -------

          replacing the dead GH repo with Cloudera's repo where the doxia 9.2y plugin is now being hosted

          This addresses bug OOZIE-810.

          https://issues.apache.org/jira/browse/OOZIE-810

          Diffs

          -----

          trunk/pom.xml 1332473

          Diff: https://reviews.apache.org/r/4941/diff

          Testing

          -------

          did a full build with a clean m2 cache

          Thanks,

          Alejandro

          Show
          jiraposter@reviews.apache.org added a comment - ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4941/#review7407 ----------------------------------------------------------- Ship it! +1 Mohammad On 2012-04-30 23:57:04, Alejandro Abdelnur wrote: ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4941/ ----------------------------------------------------------- (Updated 2012-04-30 23:57:04) Review request for oozie and Mohammad Islam. Summary ------- replacing the dead GH repo with Cloudera's repo where the doxia 9.2y plugin is now being hosted This addresses bug OOZIE-810 . https://issues.apache.org/jira/browse/OOZIE-810 Diffs ----- trunk/pom.xml 1332473 Diff: https://reviews.apache.org/r/4941/diff Testing ------- did a full build with a clean m2 cache Thanks, Alejandro
          Hide
          Konstantin Boudnik added a comment -

          Is there any chance that this is going to be committed anytime soon? BigTop is about to release new Hadoop 1.1 based stack and this fix is pretty critical because Oozie can't be build without it.

          Show
          Konstantin Boudnik added a comment - Is there any chance that this is going to be committed anytime soon? BigTop is about to release new Hadoop 1.1 based stack and this fix is pretty critical because Oozie can't be build without it.
          Hide
          Alejandro Abdelnur added a comment -

          we've missed to resolve/close this JIRA before

          Show
          Alejandro Abdelnur added a comment - we've missed to resolve/close this JIRA before
          Hide
          Mona Chitnis added a comment -

          The correct patch (repo change and not the version change) should be uploaded to this JIRA. The reviewboard link is no longer functional.

          Show
          Mona Chitnis added a comment - The correct patch (repo change and not the version change) should be uploaded to this JIRA. The reviewboard link is no longer functional.

            People

            • Assignee:
              Alejandro Abdelnur
              Reporter:
              Ashish Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development