Il 27/08/2013 22:04, puntogil@libero.it ha scritto:
Il 27/08/2013 21:07, Matthew Farrellee ha scritto:
I'm starting to package glusterfs-hadoop, a shim on top of GlusterFS that allows applications written for HDFS to run on GlusterFS.

The SRPM and spec are -

http://matt.fedorapeople.org/pkg/0/glusterfs-hadoop-2.1.2-1.src.rpm
http://matt.fedorapeople.org/pkg/0/glusterfs-hadoop.spec

I'm trying to get it to build in an F20 mock environment before submitting a review request. However, I'm running into a problem...

[ERROR] Failed to execute goal on project glusterfs: Could not resolve dependencies for project org.apache.hadoop.fs.glusterfs:glusterfs:jar:2.0-SNAPSHOT: Could not find artifact com.sun:tools:jar:1.6 at specified path /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25-2.3.12.3.fc20.x86_64/jre/../lib/tools.jar -> [Help 1]

com.sun:tools is coming in from...

[DEBUG] Loading depmap file: /usr/share/maven-fragments/javapackages-depmap.xml
[DEBUG] Added mapping [com.sun:tools] => [JAVA_HOME:../lib/tools]
...
[DEBUG] org.apache.hadoop:hadoop-annotations:jar:2.0.5-alpha:compile
[DEBUG]          com.sun:tools:jar:1.6:system

can try to change, in hadoop-annotations pom file, 1.6 with 1.7
or remove profiles and add com.sun:tools directly as dep

%pom_xpath_remove"pom:project/pom:profiles" hadoop-common-project/hadoop-annotations
%pom_xpath_inject "pom:project/pom:dependencies" '
<dependency>
   <groupId>com.sun</groupId>
   <artifactId>tools</artifactId>
   <version>1.6</version>
   <scope>system</scope>
   <systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>'  hadoop-common-project/hadoop-annotations

regards
The javapackages tools is 2.0.1-1.fc20 and xmvn is 0.5.1-4.fc20.

Has anyone seen this before, or have suggestions on getting past it?

Best,


matt
_______________________________________________
bigdata mailing list
bigdata@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/bigdata
hi
check if the pom file java vendor is different by Oracle Corporation
if isnt like this one change vendor name in pom file

available mina-ftpserver in my repo ... forgot rhbz numeber ...

#  mvn(org.apache.ftpserver:ftplet-api)
#  mvn(org.apache.ftpserver:ftpserver-core)
#  mvn(org.apache.ftpserver:ftpserver-deprecated)

regards
gil




_______________________________________________
bigdata mailing list
bigdata@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/bigdata