<html><body>
<p><font size="2" face="sans-serif">Thanks for your reply Robert,</font><br>
<font size="2" face="sans-serif">I have zookeeper version 3.4.5 installed and yes had deleted .m2 few times.</font><br>
<font size="2" face="sans-serif">Anyway, I just switched to branch fedora-2.2.0-test and it built fine the first time , running the testcases. </font><br>
<font size="2" face="sans-serif"><br>
Best Regards<br>
Amir Sanjar<br>
<br>
PowerLinux Open Source Hadoop Architect<br>
IBM Senior Software Engineer <br>
Phone# 512-286-8393<br>
Fax# 512-838-8858<br>
<br>
</font><br>
<br>
<img width="16" height="16" src="cid:1__=08BBF69DDFC49EE38f9e8a93df938@us.ibm.com" border="0" alt="Inactive hide details for Robert Rati ---10/24/2013 10:42:31 AM---You shouldn't need to make that change either. When Hadoop w"><font size="2" color="#424282" face="sans-serif">Robert Rati ---10/24/2013 10:42:31 AM---You shouldn't need to make that change either. When Hadoop was first packaged for Fedora we needed</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:        </font><font size="1" face="sans-serif">Robert Rati <rrati@redhat.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif">Fedora Big Data SIG <bigdata@lists.fedoraproject.org></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:        </font><font size="1" face="sans-serif">10/24/2013 10:42 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:        </font><font size="1" face="sans-serif">Re: xmvn build issue</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by:        </font><font size="1" face="sans-serif">bigdata-bounces@lists.fedoraproject.org</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<tt><font size="2">You shouldn't need to make that change either. When Hadoop was first <br>
packaged for Fedora we needed to change the aid for the zookeeper test <br>
jar so it would properly resolve in the xmvn build. Newer xmvn builds <br>
should properly handle test jars, but this was not the case in F19. I'm <br>
still doing the zookeeper-test manipulation in the hadoop spec and not <br>
having issues building on F20 or rawhide related to this change. Have <br>
you tried cleaning out your .m2 cache and building again with the <br>
original change set? What version of zookeeper do you have installed?<br>
<br>
Rob<br>
<br>
On 10/24/2013 10:48 AM, Amir Sanjar wrote:<br>
> Thanks Robert, it worked, but should -o option be a default setting for<br>
> xmvn?!<br>
> I have found another issue with the same branch:<br>
><br>
> [ERROR] Failed to execute goal on project hadoop-hdfs: Could not resolve<br>
> dependencies for project org.apache.hadoop:hadoop-hdfs:jar:2.0.5-alpha:<br>
> Cannot access apache.snapshots.https<br>
> (</font></tt><tt><font size="2"><a href="https://repository.apache.org/content/repositories/snapshots">https://repository.apache.org/content/repositories/snapshots</a></font></tt><tt><font size="2">) in<br>
> offline mode and the artifact<br>
> org.apache.zookeeper:zookeeper-test:jar:tests:3.4.5 has not been<br>
> downloaded from it before. -> [Help 1]<br>
> same error exists in hadoop-common, I have fixed both errors by making<br>
> bellow changes into respective pom.xmls. There is no need to define<br>
> zookeeper-test while type is test-jar.<br>
> <dependency><br>
> <groupId>org.apache.zookeeper</groupId><br>
> - <artifactId>zookeeper-test</artifactId><br>
> + <artifactId>zookeeper</artifactId><br>
> <version>3.4.5</version><br>
> <type>test-jar</type><br>
> <scope>test</scope><br>
><br>
> Best Regards<br>
> Amir Sanjar<br>
><br>
> PowerLinux Open Source Hadoop Architect<br>
> IBM Senior Software Engineer<br>
> Phone# 512-286-8393<br>
> Fax# 512-838-8858<br>
><br>
><br>
><br>
> Inactive hide details for Robert Rati ---10/24/2013 09:13:47 AM---Try<br>
> doing 'xmvn -o -DskipTests -DskipIT clean package'. WithRobert Rati<br>
> ---10/24/2013 09:13:47 AM---Try doing 'xmvn -o -DskipTests -DskipIT<br>
> clean package'. Without the -o you are allowing xmvn to d/<br>
><br>
> From: Robert Rati <rrati@redhat.com><br>
> To: Fedora Big Data SIG <bigdata@lists.fedoraproject.org><br>
> Date: 10/24/2013 09:13 AM<br>
> Subject: Re: xmvn build issue<br>
> Sent by: bigdata-bounces@lists.fedoraproject.org<br>
><br>
> ------------------------------------------------------------------------<br>
><br>
><br>
><br>
> Try doing 'xmvn -o -DskipTests -DskipIT clean package'. Without the -o<br>
> you are allowing xmvn to d/l from maven respositories and use already<br>
> downloaded jars. You could be running into a version issue with tools.jar.<br>
><br>
> Rob<br>
><br>
> On 10/24/2013 10:07 AM, Amir Sanjar wrote:<br>
> > xmvn -DskipTests -DskipIT clean package<br>
> ><br>
> > Best Regards<br>
> > Amir Sanjar<br>
> ><br>
> > PowerLinux Open Source Hadoop Architect<br>
> > IBM Senior Software Engineer<br>
> > Phone# 512-286-8393<br>
> > Fax# 512-838-8858<br>
> ><br>
> ><br>
> ><br>
> > Inactive hide details for Robert Rati ---10/24/2013 07:42:10 AM---What<br>
> > is your build command? RobRobert Rati ---10/24/2013 07:42:10 AM---What<br>
> > is your build command? Rob<br>
> ><br>
> > From: Robert Rati <rrati@redhat.com><br>
> > To: bigdata@lists.fedoraproject.org<br>
> > Date: 10/24/2013 07:42 AM<br>
> > Subject: Re: xmvn build issue<br>
> > Sent by: bigdata-bounces@lists.fedoraproject.org<br>
> ><br>
> > ------------------------------------------------------------------------<br>
> ><br>
> ><br>
> ><br>
> > What is your build command?<br>
> ><br>
> > Rob<br>
> ><br>
> > On 10/23/2013 04:56 PM, Amir Sanjar wrote:<br>
> > > fedora19-2.0.5-alpha-test<br>
> > ><br>
> > > Best Regards<br>
> > > Amir Sanjar<br>
> > ><br>
> > > PowerLinux Open Source Hadoop Architect<br>
> > > IBM Senior Software Engineer<br>
> > > Phone# 512-286-8393<br>
> > > Fax# 512-838-8858<br>
> > ><br>
> > ><br>
> > ><br>
> > > Inactive hide details for Robert Rati ---10/23/2013 02:45:49 PM---You<br>
> > > should not need to add scope or the path to tools.jar. DRobert Rati<br>
> > > ---10/23/2013 02:45:49 PM---You should not need to add scope or<br>
> the path<br>
> > > to tools.jar. Doing so on fedora will cause issues wh<br>
> > ><br>
> > > From: Robert Rati <rrati@redhat.com><br>
> > > To: bigdata@lists.fedoraproject.org<br>
> > > Date: 10/23/2013 02:45 PM<br>
> > > Subject: Re: xmvn build issue<br>
> > > Sent by: bigdata-bounces@lists.fedoraproject.org<br>
> > ><br>
> > ><br>
> ------------------------------------------------------------------------<br>
> > ><br>
> > ><br>
> > ><br>
> > > You should not need to add scope or the path to tools.jar. Doing<br>
> so on<br>
> > > fedora will cause issues when another projects wants to use a jar from<br>
> > > that build. What branch are you building off of and what is your xmvn<br>
> > > command line?<br>
> > ><br>
> > > Rob<br>
> > ><br>
> > > On 10/22/2013 03:38 PM, Amir Sanjar wrote:<br>
> > > > I used xmv.<br>
> > > ><br>
> > > > Best Regards<br>
> > > > Amir Sanjar<br>
> > > ><br>
> > > > PowerLinux Open Source Hadoop Architect<br>
> > > > IBM Senior Software Engineer<br>
> > > > Phone# 512-286-8393<br>
> > > > Fax# 512-838-8858<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > Inactive hide details for "puntogil@libero.it" ---10/22/2013<br>
> 01:53:25<br>
> > > > PM---Il 22/10/2013 20:45, Amir Sanjar ha scritto:<br>
> > >"puntogil@libero.it"<br>
> > > > ---10/22/2013 01:53:25 PM---Il 22/10/2013 20:45, Amir Sanjar ha<br>
> > > scritto: ><br>
> > > ><br>
> > > > From: "puntogil@libero.it" <puntogil@libero.it><br>
> > > > To: bigdata@lists.fedoraproject.org<br>
> > > > Date: 10/22/2013 01:53 PM<br>
> > > > Subject: Re: xmvn build issue<br>
> > > > Sent by: bigdata-bounces@lists.fedoraproject.org<br>
> > > ><br>
> > > ><br>
> > ------------------------------------------------------------------------<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > Il 22/10/2013 20:45, Amir Sanjar ha scritto:<br>
> > > ><br>
> > > ><br>
> > > > Update:<br>
> > > > if I add <scope> and hardcode the path to tools.jar using<br>
> > > > <systemPath>, it fixes the issue !!!<br>
> > > ><br>
> > > > <dependency><br>
> > > > <groupId>com.sun</groupId><br>
> > > > <artifactId>tools</artifactId><br>
> > > > */ <scope>system</scope> <<added<br>
> > > ><br>
> > > ><br>
> > ><br>
> ><br>
> <systemPath>/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.9.fc20.x86_64/lib/tools.jar</systemPath><br>
> > > > <<added/*<br>
> > > > </dependency><br>
> > > ><br>
> > > ><br>
> > > > but in Fedora isn't correct<br>
> > > > which command use for build hadoop<br>
> > > > use the macro? %mvn_build .... ?<br>
> > > > regards<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > ><br>
> ><br>
> ================================================================================================================================<br>
> > > ><br>
> > > > with fedora maven build 3.1.1-2<br>
> > > ><br>
> > > > Build error:<br>
> > > > [ERROR] Failed to execute goal on project hadoop-annotations:<br>
> > Could<br>
> > > > not resolve dependencies for project<br>
> > > > org.apache.hadoop:hadoop-annotations:jar:2.0.5-alpha: Failed to<br>
> > > > collect dependencies at com.sun:tools:jar:SYSTEM: Failed to<br>
> read<br>
> > > > artifact descriptor for com.sun:tools:jar:SYSTEM: Could not<br>
> > transfer<br>
> > > > artifact com.sun:tools:pom:SYSTEM from/to<br>
> apache.snapshots.https<br>
> > > ><br>
> > (_https://repository.apache.org/content/repositories/snapshots_): No<br>
> > > > connector factories available -> [Help 1]<br>
> > > ><br>
> > > ><br>
> > > > [xxxxx@localhost hadoop-common]$ mvn -v<br>
> > > > Apache Maven 3.1.1 (NON-CANONICAL_2013-10-22_09-01_mockbuild;<br>
> > > > 2013-10-22 04:01:59-0500)<br>
> > > > Maven home: /usr/share/maven<br>
> > > > Java version: 1.7.0_40, vendor: Oracle Corporation<br>
> > > > Java home:<br>
> > > ><br>
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.9.fc20.x86_64/jre<br>
> > > > Default locale: en_US, platform encoding: UTF-8<br>
> > > > OS name: "linux", version: "3.11.5-302.fc20.x86_64", arch:<br>
> > "amd64",<br>
> > > > family: "unix"<br>
> > > ><br>
> > > > >>>>> xmvn -v<br>
> > > > Apache Maven 3.1.1 (NON-CANONICAL_2013-10-22_09-01_mockbuild;<br>
> > > > 2013-10-22 04:01:59-0500)<br>
> > > > Maven home: /usr/share/xmvn<br>
> > > > Java version: 1.7.0_40, vendor: Oracle Corporation<br>
> > > > Java home:<br>
> > > ><br>
> /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.2.9.fc20.x86_64/jre<br>
> > > > Default locale: en_US, platform encoding: UTF-8<br>
> > > > OS name: "linux", version: "3.11.5-302.fc20.x86_64", arch:<br>
> > "amd64",<br>
> > > > family: "unix"<br>
> > > ><br>
> > > > Best Regards<br>
> > > > Amir Sanjar<br>
> > > ><br>
> > > > PowerLinux Open Source Hadoop Architect<br>
> > > > IBM Senior Software Engineer<br>
> > > > Phone# 512-286-8393<br>
> > > > Fax# 512-838-8858<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > Inactive hide details for Mikolaj Izdebski ---10/22/2013<br>
> 10:23:16<br>
> > > > AM---On 10/22/2013 05:19 PM, Amir Sanjar wrote: >Mikolaj<br>
> Izdebski<br>
> > > > ---10/22/2013 10:23:16 AM---On 10/22/2013 05:19 PM, Amir Sanjar<br>
> > > wrote: ><br>
> > > ><br>
> > > > From: Mikolaj Izdebski _<mizdebsk@redhat.com>_<br>
> > > > <</font></tt><tt><font size="2"><a href="mailto:mizdebsk@redhat.com">mailto:mizdebsk@redhat.com</a></font></tt><tt><font size="2">><br>
> > > > To: _bigdata@lists.fedoraproject.org_<br>
> > > > <</font></tt><tt><font size="2"><a href="mailto:bigdata@lists.fedoraproject.org">mailto:bigdata@lists.fedoraproject.org</a></font></tt><tt><font size="2">><br>
> > > > Date: 10/22/2013 10:23 AM<br>
> > > > Subject: Re: xmvn build issue<br>
> > > > Sent by: _bigdata-bounces@lists.fedoraproject.org_<br>
> > > > <</font></tt><tt><font size="2"><a href="mailto:bigdata-bounces@lists.fedoraproject.org">mailto:bigdata-bounces@lists.fedoraproject.org</a></font></tt><tt><font size="2">><br>
> > > ><br>
> > > ><br>
> > ><br>
> ------------------------------------------------------------------------<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > On 10/22/2013 05:19 PM, Amir Sanjar wrote:<br>
> > > > ><br>
> > > > > downloaded the latest mvn from<br>
> > > > > _http://maven.apache.org/docs/3.1.1/release-notes.html_<br>
> > > ><br>
> > > > I meant Fedora build of Maven, packaged as RPM. Available in<br>
> > > rawhide:_<br>
> > > > __http://kojipkgs.fedoraproject.org/repos/rawhide/latest/_<br>
> > > ><br>
> > > > --<br>
> > > > Mikolaj Izdebski<br>
> > > > IRC: mizdebsk<br>
> > > > _______________________________________________<br>
> > > > bigdata mailing list_<br>
> > > > __bigdata@lists.fedoraproject.org_<br>
> > > > <</font></tt><tt><font size="2"><a href="mailto:bigdata@lists.fedoraproject.org">mailto:bigdata@lists.fedoraproject.org</a></font></tt><tt><font size="2">>_<br>
> > > > __https://admin.fedoraproject.org/mailman/listinfo/bigdata_<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > bigdata mailing list<br>
> > > > _bigdata@lists.fedoraproject.org_<br>
> > > > <</font></tt><tt><font size="2"><a href="mailto:bigdata@lists.fedoraproject.org">mailto:bigdata@lists.fedoraproject.org</a></font></tt><tt><font size="2">><br>
> > > > _https://admin.fedoraproject.org/mailman/listinfo/bigdata_<br>
> > > ><br>
> > > > [attachment "puntogil.vcf" deleted by Amir Sanjar/Austin/IBM]<br>
> > > > _______________________________________________<br>
> > > > bigdata mailing list<br>
> > > > bigdata@lists.fedoraproject.org<br>
> > > > </font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > _______________________________________________<br>
> > > > bigdata mailing list<br>
> > > > bigdata@lists.fedoraproject.org<br>
> > > > </font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
> > > ><br>
> > > _______________________________________________<br>
> > > bigdata mailing list<br>
> > > bigdata@lists.fedoraproject.org<br>
> > > </font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
> > ><br>
> > ><br>
> > ><br>
> > > _______________________________________________<br>
> > > bigdata mailing list<br>
> > > bigdata@lists.fedoraproject.org<br>
> > > </font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
> > ><br>
> > _______________________________________________<br>
> > bigdata mailing list<br>
> > bigdata@lists.fedoraproject.org<br>
> > </font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > bigdata mailing list<br>
> > bigdata@lists.fedoraproject.org<br>
> > </font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
> ><br>
> _______________________________________________<br>
> bigdata mailing list<br>
> bigdata@lists.fedoraproject.org<br>
> </font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
><br>
><br>
><br>
> _______________________________________________<br>
> bigdata mailing list<br>
> bigdata@lists.fedoraproject.org<br>
> </font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
><br>
_______________________________________________<br>
bigdata mailing list<br>
bigdata@lists.fedoraproject.org<br>
</font></tt><tt><font size="2"><a href="https://admin.fedoraproject.org/mailman/listinfo/bigdata">https://admin.fedoraproject.org/mailman/listinfo/bigdata</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>