hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2999) Offline build is not working
Date Wed, 05 Sep 2012 22:01:08 GMT

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

Ashutosh Chauhan commented on HIVE-2999:
----------------------------------------

Navis,
You are not alone. I am also the one :) I tested your patch, but still cant build with -Doffline=true.
Attaching the log. There are few build related changes recently, that might have affected
this. If you update your patch, I will try to get this in.
{code}
init:
     [echo] Project: serde

ivy-init-settings:
     [echo] Project: serde

ivy-resolve:

ivy-retrieve:
     [echo] Project: serde
[ivy:retrieve] :: loading settings :: file = /Users/ashutosh/workspace/hive-trunk/ivy/ivysettings.xml
[ivy:retrieve] 
[ivy:retrieve] :: problems summary ::
[ivy:retrieve] :::: WARNINGS
[ivy:retrieve] 		module not found: org.apache.hadoop#hadoop-common;0.20.2
[ivy:retrieve] 	==== local: tried
[ivy:retrieve] 	  /Users/ashutosh/.ivy2/local/org.apache.hadoop/hadoop-common/0.20.2/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar(tests):
[ivy:retrieve] 	  /Users/ashutosh/.ivy2/local/org.apache.hadoop/hadoop-common/0.20.2/testss/hadoop-common.jar
[ivy:retrieve] 	==== apache-snapshot: tried
[ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2.pom
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar(tests):
[ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2-tests.jar
[ivy:retrieve] 	==== maven2: tried
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2.pom
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar(tests):
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2-tests.jar
[ivy:retrieve] 	==== datanucleus-repo: tried
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar(tests):
[ivy:retrieve] 	  http://www.datanucleus.org/downloads/maven2/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2.jar
[ivy:retrieve] 	==== sourceforge: tried
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar(tests):
[ivy:retrieve] 	  http://www.sourceforge.net/projects/hadoop-common/files/hadoop-common//hadoop-common-0.20.2.jar
[ivy:retrieve] 		module not found: org.apache.hadoop#hadoop-hdfs;0.20.2
[ivy:retrieve] 	==== local: tried
[ivy:retrieve] 	  /Users/ashutosh/.ivy2/local/org.apache.hadoop/hadoop-hdfs/0.20.2/ivys/ivy.xml
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-hdfs;0.20.2!hadoop-hdfs.jar(tests):
[ivy:retrieve] 	  /Users/ashutosh/.ivy2/local/org.apache.hadoop/hadoop-hdfs/0.20.2/testss/hadoop-hdfs.jar
[ivy:retrieve] 	==== apache-snapshot: tried
[ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-hdfs/0.20.2/hadoop-hdfs-0.20.2.pom
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-hdfs;0.20.2!hadoop-hdfs.jar(tests):
[ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-hdfs/0.20.2/hadoop-hdfs-0.20.2-tests.jar
[ivy:retrieve] 	==== maven2: tried
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-hdfs/0.20.2/hadoop-hdfs-0.20.2.pom
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-hdfs;0.20.2!hadoop-hdfs.jar(tests):
[ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-hdfs/0.20.2/hadoop-hdfs-0.20.2-tests.jar
[ivy:retrieve] 	==== datanucleus-repo: tried
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-hdfs;0.20.2!hadoop-hdfs.jar(tests):
[ivy:retrieve] 	  http://www.datanucleus.org/downloads/maven2/org/apache/hadoop/hadoop-hdfs/0.20.2/hadoop-hdfs-0.20.2.jar
[ivy:retrieve] 	==== sourceforge: tried
[ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-hdfs;0.20.2!hadoop-hdfs.jar(tests):
[ivy:retrieve] 	  http://www.sourceforge.net/projects/hadoop-hdfs/files/hadoop-hdfs//hadoop-hdfs-0.20.2.jar
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 		::          UNRESOLVED DEPENDENCIES         ::
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 		:: org.apache.hadoop#hadoop-common;0.20.2: not found
[ivy:retrieve] 		:: org.apache.hadoop#hadoop-hdfs;0.20.2: not found
[ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
[ivy:retrieve] 
[ivy:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED

{code}
                
> Offline build is not working
> ----------------------------
>
>                 Key: HIVE-2999
>                 URL: https://issues.apache.org/jira/browse/HIVE-2999
>             Project: Hive
>          Issue Type: Bug
>          Components: Build Infrastructure
>    Affects Versions: 0.10.0
>            Reporter: Navis
>         Attachments: HIVE-2999.1.patch.txt
>
>
> It's fine without -Doffline=true option. But with offline option (ant -Doffline=true
clean package), it's failing with error message like this.
> {noformat}
> ivy-retrieve:
>      [echo] Project: common
> [ivy:retrieve] :: loading settings :: file = /home/navis/apache/oss-hive/ivy/ivysettings.xml
> [ivy:retrieve] 
> [ivy:retrieve] :: problems summary ::
> [ivy:retrieve] :::: WARNINGS
> [ivy:retrieve] 		module not found: org.apache.hadoop#hadoop-common;0.20.2
> [ivy:retrieve] 	==== local: tried
> [ivy:retrieve] 	  /home/navis/.ivy2/local/org.apache.hadoop/hadoop-common/0.20.2/ivys/ivy.xml
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar:
> [ivy:retrieve] 	  /home/navis/.ivy2/local/org.apache.hadoop/hadoop-common/0.20.2/jars/hadoop-common.jar
> [ivy:retrieve] 	==== apache-snapshot: tried
> [ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2.pom
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar:
> [ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2.jar
> [ivy:retrieve] 	==== maven2: tried
> [ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2.pom
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar:
> [ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2.jar
> [ivy:retrieve] 	==== datanucleus-repo: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar:
> [ivy:retrieve] 	  http://www.datanucleus.org/downloads/maven2/org/apache/hadoop/hadoop-common/0.20.2/hadoop-common-0.20.2.jar
> [ivy:retrieve] 	==== hadoop-source: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar:
> [ivy:retrieve] 	  http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hadoop-common-0.20.2/hadoop-common-0.20.2.jar
> [ivy:retrieve] 	==== hadoop-source2: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-common;0.20.2!hadoop-common.jar:
> [ivy:retrieve] 	  http://archive.cloudera.com/hive-deps/hadoop/core/hadoop-common-0.20.2/hadoop-common-0.20.2.jar
> [ivy:retrieve] 		module not found: org.apache.hadoop#hadoop-auth;0.20.2
> [ivy:retrieve] 	==== local: tried
> [ivy:retrieve] 	  /home/navis/.ivy2/local/org.apache.hadoop/hadoop-auth/0.20.2/ivys/ivy.xml
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-auth;0.20.2!hadoop-auth.jar:
> [ivy:retrieve] 	  /home/navis/.ivy2/local/org.apache.hadoop/hadoop-auth/0.20.2/jars/hadoop-auth.jar
> [ivy:retrieve] 	==== apache-snapshot: tried
> [ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-auth/0.20.2/hadoop-auth-0.20.2.pom
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-auth;0.20.2!hadoop-auth.jar:
> [ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-auth/0.20.2/hadoop-auth-0.20.2.jar
> [ivy:retrieve] 	==== maven2: tried
> [ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-auth/0.20.2/hadoop-auth-0.20.2.pom
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-auth;0.20.2!hadoop-auth.jar:
> [ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-auth/0.20.2/hadoop-auth-0.20.2.jar
> [ivy:retrieve] 	==== datanucleus-repo: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-auth;0.20.2!hadoop-auth.jar:
> [ivy:retrieve] 	  http://www.datanucleus.org/downloads/maven2/org/apache/hadoop/hadoop-auth/0.20.2/hadoop-auth-0.20.2.jar
> [ivy:retrieve] 	==== hadoop-source: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-auth;0.20.2!hadoop-auth.jar:
> [ivy:retrieve] 	  http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hadoop-auth-0.20.2/hadoop-auth-0.20.2.jar
> [ivy:retrieve] 	==== hadoop-source2: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-auth;0.20.2!hadoop-auth.jar:
> [ivy:retrieve] 	  http://archive.cloudera.com/hive-deps/hadoop/core/hadoop-auth-0.20.2/hadoop-auth-0.20.2.jar
> [ivy:retrieve] 		module not found: org.apache.hadoop#hadoop-mapreduce-client-core;0.20.2
> [ivy:retrieve] 	==== local: tried
> [ivy:retrieve] 	  /home/navis/.ivy2/local/org.apache.hadoop/hadoop-mapreduce-client-core/0.20.2/ivys/ivy.xml
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-mapreduce-client-core;0.20.2!hadoop-mapreduce-client-core.jar:
> [ivy:retrieve] 	  /home/navis/.ivy2/local/org.apache.hadoop/hadoop-mapreduce-client-core/0.20.2/jars/hadoop-mapreduce-client-core.jar
> [ivy:retrieve] 	==== apache-snapshot: tried
> [ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-mapreduce-client-core/0.20.2/hadoop-mapreduce-client-core-0.20.2.pom
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-mapreduce-client-core;0.20.2!hadoop-mapreduce-client-core.jar:
> [ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-mapreduce-client-core/0.20.2/hadoop-mapreduce-client-core-0.20.2.jar
> [ivy:retrieve] 	==== maven2: tried
> [ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-mapreduce-client-core/0.20.2/hadoop-mapreduce-client-core-0.20.2.pom
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-mapreduce-client-core;0.20.2!hadoop-mapreduce-client-core.jar:
> [ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-mapreduce-client-core/0.20.2/hadoop-mapreduce-client-core-0.20.2.jar
> [ivy:retrieve] 	==== datanucleus-repo: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-mapreduce-client-core;0.20.2!hadoop-mapreduce-client-core.jar:
> [ivy:retrieve] 	  http://www.datanucleus.org/downloads/maven2/org/apache/hadoop/hadoop-mapreduce-client-core/0.20.2/hadoop-mapreduce-client-core-0.20.2.jar
> [ivy:retrieve] 	==== hadoop-source: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-mapreduce-client-core;0.20.2!hadoop-mapreduce-client-core.jar:
> [ivy:retrieve] 	  http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hadoop-mapreduce-client-core-0.20.2/hadoop-mapreduce-client-core-0.20.2.jar
> [ivy:retrieve] 	==== hadoop-source2: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-mapreduce-client-core;0.20.2!hadoop-mapreduce-client-core.jar:
> [ivy:retrieve] 	  http://archive.cloudera.com/hive-deps/hadoop/core/hadoop-mapreduce-client-core-0.20.2/hadoop-mapreduce-client-core-0.20.2.jar
> [ivy:retrieve] 		module not found: org.apache.hadoop#hadoop-archives;0.20.2
> [ivy:retrieve] 	==== local: tried
> [ivy:retrieve] 	  /home/navis/.ivy2/local/org.apache.hadoop/hadoop-archives/0.20.2/ivys/ivy.xml
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-archives;0.20.2!hadoop-archives.jar:
> [ivy:retrieve] 	  /home/navis/.ivy2/local/org.apache.hadoop/hadoop-archives/0.20.2/jars/hadoop-archives.jar
> [ivy:retrieve] 	==== apache-snapshot: tried
> [ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-archives/0.20.2/hadoop-archives-0.20.2.pom
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-archives;0.20.2!hadoop-archives.jar:
> [ivy:retrieve] 	  https://repository.apache.org/content/repositories/snapshots/org/apache/hadoop/hadoop-archives/0.20.2/hadoop-archives-0.20.2.jar
> [ivy:retrieve] 	==== maven2: tried
> [ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-archives/0.20.2/hadoop-archives-0.20.2.pom
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-archives;0.20.2!hadoop-archives.jar:
> [ivy:retrieve] 	  http://repo1.maven.org/maven2/org/apache/hadoop/hadoop-archives/0.20.2/hadoop-archives-0.20.2.jar
> [ivy:retrieve] 	==== datanucleus-repo: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-archives;0.20.2!hadoop-archives.jar:
> [ivy:retrieve] 	  http://www.datanucleus.org/downloads/maven2/org/apache/hadoop/hadoop-archives/0.20.2/hadoop-archives-0.20.2.jar
> [ivy:retrieve] 	==== hadoop-source: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-archives;0.20.2!hadoop-archives.jar:
> [ivy:retrieve] 	  http://mirror.facebook.net/facebook/hive-deps/hadoop/core/hadoop-archives-0.20.2/hadoop-archives-0.20.2.jar
> [ivy:retrieve] 	==== hadoop-source2: tried
> [ivy:retrieve] 	  -- artifact org.apache.hadoop#hadoop-archives;0.20.2!hadoop-archives.jar:
> [ivy:retrieve] 	  http://archive.cloudera.com/hive-deps/hadoop/core/hadoop-archives-0.20.2/hadoop-archives-0.20.2.jar
> [ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] 		::          UNRESOLVED DEPENDENCIES         ::
> [ivy:retrieve] 		::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:retrieve] 		:: org.apache.hadoop#hadoop-common;0.20.2: not found
> {noformat}
> At first I thought it's my problem(ivy cache or something). But log above shows that
ivy is searching for non-existing artifacts in hadoop-0.20.2, which seemed to be a bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message