On 03/20/2012 09:13 PM, Ron Bogdanoff wrote:
> I tried building/testing RC1 today.  Question, I am probably doing
> something wrong here, not sure...
> 
> Build was ok, can run PI test.
> 
> I am trying to run the smoke tests in bigtop-tests/test-artifacts.  I
> needed to add a <repository> to the pom for
> http://repository.cloudera.comso the dependency for itest will
> download.  It does download (along with
> other jars it looks like) but I am getting these messages from mvn
> 
> INFO]
> [INFO] bigtop-smokes ..................................... SUCCESS [6.724s]
> [INFO] hadoopsmoke ....................................... FAILURE [2.136s]
> [INFO] hivesmoke ......................................... SKIPPED
> [INFO] packagesmoke ...................................... SKIPPED
> [INFO] ooziesmoke ........................................ SKIPPED
> [INFO] hbasesmoke ........................................ SKIPPED
> [INFO] flumesmoke ........................................ SKIPPED
> [INFO] sqoop-integration ................................. SKIPPED
> [INFO] mahoutsmoke ....................................... SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 9.964s
> [INFO] Finished at: Wed Mar 21 03:44:00 UTC 2012
> [INFO] Final Memory: 10M/58M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
> (default-compile) on project hadoop-smoke: Compilation failure: Compilation
> failure:
> [ERROR] error: error reading
> /home/ubuntu/.m2/repository/org/apache/hadoop/hadoop-core/
> 0.20.205.0/hadoop-core-0.20.205.0.jar; error in opening zip file
> [ERROR] error: error reading
> /home/ubuntu/.m2/repository/org/apache/hadoop/hadoop-test/
> 0.20.205.0/hadoop-test-0.20.205.0.jar; error in opening zip file
> [ERROR] error: error reading
> /home/ubuntu/.m2/repository/org/apache/bigtop/itest/itest-common/0.3.0-incubating/itest-common-0.3.0-incubating.jar;
> error in opening zip file
> 
> 
> Seems these jar files that were downloaded into my .m2 repository are
> corrupt.  For example, itest-common-0.3.0-incubating.jar is only 392 bytes
> 
> ubuntu@ip-10-168-178-138:~/.m2/repository/org/apache/bigtop/itest/itest-common/0.3.0-incubating$
> ls -l
> total 20
> -rw-r--r-- 1 ubuntu ubuntu 392 2012-03-21 03:38
> itest-common-0.3.0-incubating.jar
> -rw-r--r-- 1 ubuntu ubuntu 282 2012-03-21 03:38
> itest-common-0.3.0-incubating.jar.lastUpdated
> -rw-r--r-- 1 ubuntu ubuntu 392 2012-03-21 03:38
> itest-common-0.3.0-incubating.pom
> -rw-r--r-- 1 ubuntu ubuntu 282 2012-03-21 03:38
> itest-common-0.3.0-incubating.pom.lastUpdated
> -rw-r--r-- 1 ubuntu ubuntu 214 2012-03-21 03:38 _maven.repositories
> ubuntu@ip-10-168-178-138:~/.m2/repository/org/apache/bigtop/itest/itest-common/0.3.0-incubating$
> 
> 
> if I try to unzip manually I get...
> 
> ubuntu@ip-10-168-178-138:~/.m2/repository/org/apache/bigtop/itest/itest-common/0.3.0-incubating$
> unzip itest-common-0.3.0-incubating.jar
> Archive:  itest-common-0.3.0-incubating.jar
>   End-of-central-directory signature not found.  Either this file is not
>   a zipfile, or it constitutes one disk of a multi-part archive.  In the
>   latter case the central directory and zipfile comment will be found on
>   the last disk(s) of this archive.
> unzip:  cannot find zipfile directory in one of
> itest-common-0.3.0-incubating.jar or
>         itest-common-0.3.0-incubating.jar.zip, and cannot find
> itest-common-0.3.0-incubating.jar.ZIP, period.
> 
> 
> Any advice would be appreciated
> 
> Regards
> Ron
> 
> 
> 

Hi Ron,

Could you look into the content of these files?
It's probably maven (or something along the way) encountering some
issues but still saving the output of what it gets into that file.

Could you try also to do a "mvn install -DskipTests" from
bigtop-test-framework/ directory. That's what produce the itest-common
artefact, and given that the release process is still underway, I cannot
see how maven would be able to download the 0.3.0-incubating version yet
from any external maven repository since it does not officially exist yet.

Thanks,
Bruno

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org

Reply via email to