You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by jian yi <ey...@gmail.com> on 2010/02/10 16:06:08 UTC

Build latest hive failed

Hi all,

Updated today. See below:



Buildfile: D:\hadoop\src\hive\build.xml

jar:

create-dirs:

compile-ant-tasks:

create-dirs:

init:

compile:
        [echo] Compiling: anttasks
       [javac] Compiling 1 source file to
D:\hadoop\src\hive\build\anttasks\classes
       [javac]
注意:D:\hadoop\src\hive\ant\src\org\apache\hadoop\hive\ant\QTestGenTask.java
使用或覆盖了已过时的 API。
       [javac] 注意:要了解详细信息,请使用 -Xlint:deprecation 重新编译。

deploy-ant-tasks:

create-dirs:

init:

compile:
        [echo] Compiling: anttasks

jar:
         [jar] Building jar:
D:\hadoop\src\hive\build\anttasks\hive-anttasks-0.6.0.jar

init:

compile:

ivy-init-dirs:
       [mkdir] Created dir: D:\hadoop\src\hive\build\ivy
       [mkdir] Created dir: D:\hadoop\src\hive\build\ivy\lib
       [mkdir] Created dir: D:\hadoop\src\hive\build\ivy\report
       [mkdir] Created dir: D:\hadoop\src\hive\build\ivy\maven

ivy-download:
         [get] Getting:
http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
         [get] To: D:\hadoop\src\hive\build\ivy\lib\ivy-2.1.0.jar

ivy-probe-antlib:

ivy-init-antlib:

ivy-init:

ivy-retrieve-hadoop-source:
[ivy:retrieve] :: Ivy 2.0.0-rc2 - 20081028224207 ::
http://ant.apache.org/ivy/ ::
:: loading settings :: file = D:\hadoop\src\hive\ivy\ivysettings.xml

BUILD FAILED
D:\hadoop\src\hive\build.xml:148: The following error occurred while
executing this line:
D:\hadoop\src\hive\build.xml:93: The following error occurred while
executing this line:
D:\hadoop\src\hive\shims\build.xml:55: The following error occurred while
executing this line:
D:\hadoop\src\hive\build-common.xml:180: impossible to configure
ivy:settings with given file: D:\hadoop\src\hive\ivy\ivysettings.xml :
java.text.ParseException: failed to load settings from
file:/D:/hadoop/src/hive/ivy/ivysettings.xml: impossible to set defaultTTL
to eternal on class org.apache.ivy.core.cache.DefaultRepositoryCacheManager

Total time: 12 seconds

Re: Build latest hive failed

Posted by John Sichi <js...@facebook.com>.
Please see the message I sent to this list recently regarding cleaning  
out your .ant directory for the ivy upgrade.

JVS

On Feb 10, 2010, at 7:06 AM, "jian yi" <ey...@gmail.com> wrote:

> Hi all,
>
> Updated today. See below:
>
>
>
> Buildfile: D:\hadoop\src\hive\build.xml
>
> jar:
>
> create-dirs:
>
> compile-ant-tasks:
>
> create-dirs:
>
> init:
>
> compile:
>        [echo] Compiling: anttasks
>       [javac] Compiling 1 source file to
> D:\hadoop\src\hive\build\anttasks\classes
>       [javac]
> 注意:D:\hadoop\src\hive\ant\src\org\apache\hadoop\hive\ant 
> \QTestGenTask.java
> 使用或覆盖了已过时的 API。
>       [javac] 注意:要了解详细信息,请使用 - 
> Xlint:deprecation 重新编译。
>
> deploy-ant-tasks:
>
> create-dirs:
>
> init:
>
> compile:
>        [echo] Compiling: anttasks
>
> jar:
>         [jar] Building jar:
> D:\hadoop\src\hive\build\anttasks\hive-anttasks-0.6.0.jar
>
> init:
>
> compile:
>
> ivy-init-dirs:
>       [mkdir] Created dir: D:\hadoop\src\hive\build\ivy
>       [mkdir] Created dir: D:\hadoop\src\hive\build\ivy\lib
>       [mkdir] Created dir: D:\hadoop\src\hive\build\ivy\report
>       [mkdir] Created dir: D:\hadoop\src\hive\build\ivy\maven
>
> ivy-download:
>         [get] Getting:
> http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.1.0/ivy-2.1.0.jar
>         [get] To: D:\hadoop\src\hive\build\ivy\lib\ivy-2.1.0.jar
>
> ivy-probe-antlib:
>
> ivy-init-antlib:
>
> ivy-init:
>
> ivy-retrieve-hadoop-source:
> [ivy:retrieve] :: Ivy 2.0.0-rc2 - 20081028224207 ::
> http://ant.apache.org/ivy/ ::
> :: loading settings :: file = D:\hadoop\src\hive\ivy\ivysettings.xml
>
> BUILD FAILED
> D:\hadoop\src\hive\build.xml:148: The following error occurred while
> executing this line:
> D:\hadoop\src\hive\build.xml:93: The following error occurred while
> executing this line:
> D:\hadoop\src\hive\shims\build.xml:55: The following error occurred  
> while
> executing this line:
> D:\hadoop\src\hive\build-common.xml:180: impossible to configure
> ivy:settings with given file: D:\hadoop\src\hive\ivy\ivysettings.xml :
> java.text.ParseException: failed to load settings from
> file:/D:/hadoop/src/hive/ivy/ivysettings.xml: impossible to set  
> defaultTTL
> to eternal on class  
> org.apache.ivy.core.cache.DefaultRepositoryCacheManager
>
> Total time: 12 seconds