hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Valderrama (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-1519) HDFS build is broken, ivy-resolve-common does not find hadoop-common
Date Wed, 16 Feb 2011 18:07:24 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12995421#comment-12995421
] 

Tony Valderrama commented on HDFS-1519:
---------------------------------------

I was building thriftfs, and got all of hdfs to rebuild with the following modifications.
 This was mostly just bumping around in config files until it worked, so somebody who knows
the build system should make an actual patch.  I also had to manually run 'mkdir hdfs/lib'
because ant was complaining that it didn't exist.

{noformat}
hdfs/ivy.xml
---     <dependency org="org.apache.hadoop" name="hadoop-common" rev="${hadoop-common.version}"
conf="common->default"/>
+++     <dependency org="org.apache.hadoop" name="hadoop-common" rev="${hadoop-common.version}-SNAPSHOT"
conf="common->default"/>
{noformat}

{noformat}
hdfs/src/contrib/hdfsproxy/ivy.xml
       <dependency org="org.apache.hadoop"
         name="hadoop-common"
---      rev="${hadoop-common.version}"
+++      rev="${hadoop-common.version}-SNAPSHOT"
         conf="common->default"/>
       <dependency org="org.apache.hadoop"
         name="hadoop-common-test"
---      rev="${hadoop-common.version}"
+++      rev="${hadoop-common.version}-SNAPSHOT"
         conf="common->default"/>
{noformat}


{noformat}
hdfs/src/contrib/thriftfs/ivy.xml
       <dependency org="org.apache.hadoop"
         name="hadoop-common"
---      rev="${hadoop-common.version}"
+++      rev="${hadoop-common.version}-SNAPSHOT"
         conf="common->default"/>
{noformat}


> HDFS build is broken, ivy-resolve-common does not find hadoop-common
> --------------------------------------------------------------------
>
>                 Key: HDFS-1519
>                 URL: https://issues.apache.org/jira/browse/HDFS-1519
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.21.0
>         Environment: openSUSE 11.1, Linux roisin 2.6.27.48-0.2-default #1 SMP 2010-07-29
20:06:52 +0200 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: Jon Wilson
>
> HADOOP_DIR/hdfs$ ant ivy-resolve-common
> Buildfile: build.xml
> ivy-download:
>       [get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
>       [get] To: /usr/products/hadoop/v0_21_0/ANY/hdfs/ivy/ivy-2.1.0.jar
>       [get] Not modified - so not downloaded
> ivy-init-dirs:
> ivy-probe-antlib:
> ivy-init-antlib:
> ivy-init:
> [ivy:configure] :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
> [ivy:configure] :: loading settings :: file = /usr/products/hadoop/v0_21_0/ANY/hdfs/ivy/ivysettings.xml
> ivy-resolve-common:
> [ivy:resolve] 
> [ivy:resolve] :: problems summary ::
> [ivy:resolve] :::: WARNINGS
> [ivy:resolve] 		module not found: org.apache.hadoop#hadoop-common;0.21.0
> [ivy:resolve] 	==== apache-snapshot: tried
> [ivy:resolve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.21.0/hadoop-common-0.21.0.pom
> [ivy:resolve] 	  -- artifact org.apache.hadoop#hadoop-common;0.21.0!hadoop-common.jar:
> [ivy:resolve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.21.0/hadoop-common-0.21.0.jar
> [ivy:resolve] 	==== maven2: tried
> [ivy:resolve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/0.21.0/hadoop-common-0.21.0.pom
> [ivy:resolve] 	  -- artifact org.apache.hadoop#hadoop-common;0.21.0!hadoop-common.jar:
> [ivy:resolve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/0.21.0/hadoop-common-0.21.0.jar
> [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] 		::          UNRESOLVED DEPENDENCIES         ::
> [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] 		:: org.apache.hadoop#hadoop-common;0.21.0: not found
> [ivy:resolve] 		::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] 
> [ivy:resolve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
> BUILD FAILED
> /usr/products/hadoop/v0_21_0/ANY/hdfs/build.xml:1549: impossible to resolve dependencies:
> 	resolve failed - see output for details
> Total time: 3 seconds

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message