sonalgoyal / hiho

Hadoop Data Integration with various databases, ftp servers, salesforce. Incremental update, dedup, append, merge your data on Hadoop.
www.nubetech.co/products
Apache License 2.0
91 stars 32 forks source link

The packaged download .tar.gz does not compile #1

Open sonalgoyal opened 13 years ago

sonalgoyal commented 13 years ago

We are not including the ant-contrib in the packaged .tar.gz download. Running ant on the downloaded package fails.

anujsrc commented 13 years ago

Just downloaded the tar file. Build shows this error-

[ivy:resolve] :: problems summary :: [ivy:resolve] :::: WARNINGS [ivy:resolve] module not found: org.apache.hive#hive;0.6.0 [ivy:resolve] ==== hadoop-resolver: tried [ivy:resolve] -- artifact org.apache.hive#hive;0.6.0!hive.tar.gz(jar): [ivy:resolve] http://www.trieuvan.com/apache//hadoop/core/hive-0.6.0/hive-0.6.0.tar.gz [ivy:resolve] ==== hive-resolver: tried [ivy:resolve] -- artifact org.apache.hive#hive;0.6.0!hive.tar.gz(jar): [ivy:resolve] http://www.trieuvan.com/apache//hive/hive-0.6.0/hive-0.6.0.tar.gz [ivy:resolve] ==== pig-resolver: tried [ivy:resolve] -- artifact org.apache.hive#hive;0.6.0!hive.tar.gz(jar): [ivy:resolve] http://www.trieuvan.com/apache//pig/hive/0.6.0/hive-0.6.0.jar [ivy:resolve] ==== avro-resolver: tried [ivy:resolve] -- artifact org.apache.hive#hive;0.6.0!hive.tar.gz(jar): [ivy:resolve] http://www.trieuvan.com/apache//avro/hive-0.6.0/java/hive-0.6.0.jar [ivy:resolve] ==== apache-snapshot: tried [ivy:resolve] https://archive.apache.org/dist/org/apache/hive/hive/0.6.0/hive-0.6.0.pom [ivy:resolve] -- artifact org.apache.hive#hive;0.6.0!hive.tar.gz(jar): [ivy:resolve] https://archive.apache.org/dist/org/apache/hive/hive/0.6.0/hive-0.6.0.tar.gz [ivy:resolve] ==== maven2: tried [ivy:resolve] http://repo1.maven.org/maven2/org/apache/hive/hive/0.6.0/hive-0.6.0.pom [ivy:resolve] -- artifact org.apache.hive#hive;0.6.0!hive.tar.gz(jar): [ivy:resolve] http://repo1.maven.org/maven2/org/apache/hive/hive/0.6.0/hive-0.6.0.tar.gz [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :: UNRESOLVED DEPENDENCIES :: [ivy:resolve] :::::::::::::::::::::::::::::::::::::::::::::: [ivy:resolve] :: org.apache.hive#hive;0.6.0: not found [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::

anujsrc commented 13 years ago

To build it successfully, I have bumped up the hive version in ivy/library.properties to 0.7.1. Now it builds successfully-

compile: [mkdir] Created dir: /home/anuj/Documents/tools/hiho/build/classes [echo] Class path is [echo] compile.classpath [javac] /home/anuj/Documents/tools/hiho/build.xml:229: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 92 source files to /home/anuj/Documents/tools/hiho/build/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details.

compileTest: [javac] /home/anuj/Documents/tools/hiho/build.xml:240: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 48 source files to /home/anuj/Documents/tools/hiho/build/classes [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details.

jar: [jar] Building jar: /home/anuj/Documents/tools/hiho/build/hiho-0.5.0.jar

BUILD SUCCESSFUL Total time: 1 minute 52 seconds

Does it make sense to commit this change?