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

(Updated May 14, 2015, 5:01 p.m.)


Review request for oozie.


Changes
-------

modified version.


still hit error by "bin/mkdistro.sh -Phadoop2 or  mvn package -Phadoop-2"
-----
[ERROR] Failed to execute goal on project oozie-sharelib-hcatalog: Could not 
resolve dependencies for project 
org.apache.oozie:oozie-sharelib-hcatalog:jar:4.2.0-SNAPSHOT: Failure to find 
org.apache.oozie:oozie-hadoop-utils:jar:hadoop1:4.2.0-SNAPSHOT in 
https://repository.apache.org/content/groups/snapshots was cached in the local 
repository, resolution will not be reattempted until the update interval of 
apache.snapshots.repo has elapsed or updates are forced -> [Help 1]
-----

reason is that profile is not properly used in transitive dependency

oozie-sharelib-hcatalog depends on oozie-sharelib-oozie 
oozie-sharelib-oozie depends on oozie-hadoop-utils

oozie-hadoop-utils version is specified by variable {hadooplib.classifier} 
which supposed to be substitued by profile.
but -Phadoop-2 from CLI is not propated properly, always point to hadoop1.

looks like maven issues. 
http://jira.codehaus.org/browse/MNG-1388
http://jira.codehaus.org/browse/MNG-3782

transitive dependency(oozie-hadoop-utils) resolve profile information from 
top-level pom.
if we change activeByDefault true for hadoop-2 in top-level pom.xml, it works. 

tried couple of possible workaround, but no luck so far.


Repository: oozie-git


Description
-------

WIP, still rough and not fully functional, sharing for early review.

mvn compile works for hadoop-1, hadoop-2, hadoop-0.23
mvn package works for hadoop-1, but not for hadoop-2 and 23.

also org.apache.maven.plugins definition added to all version of poms 
repeatedly, wonder how to remove redundancy, but  without this doens't work


Diffs (updated)
-----

  client/pom.xml 73f7ef5 
  core/pom.xml c62556c 
  hadooplibs/hadoop-auth-0.23/pom.xml 5769f66 
  hadooplibs/hadoop-auth-1/pom.xml ac36798 
  hadooplibs/hadoop-auth-2/pom.xml 977d49c 
  hadooplibs/hadoop-distcp-0.23/pom.xml c13b78d 
  hadooplibs/hadoop-distcp-1/pom.xml 5b4f96f 
  hadooplibs/hadoop-distcp-2/pom.xml 4097cc4 
  hadooplibs/hadoop-distcp-3/pom.xml 8d8180d 
  hadooplibs/hadoop-utils-0.23/pom.xml 1bd243e 
  hadooplibs/hadoop-utils-1/pom.xml 48d97b0 
  hadooplibs/hadoop-utils-2/pom.xml 832cf5b 
  hadooplibs/hadoop-utils-3/pom.xml e7df53b 
  pom.xml ea9ccef 
  sharelib/distcp/pom.xml a329b7b 
  sharelib/hive/pom.xml 3da0bdc 
  sharelib/hive2/pom.xml 41eade9 
  sharelib/oozie/pom.xml 484fb45 
  sharelib/pig/pom.xml fd3cd66 
  sharelib/sqoop/pom.xml 5308bd5 

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


Testing
-------


Thanks,

Ryota Egashira

Reply via email to