bigtop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jay vyas <jayunit100.apa...@gmail.com>
Subject Re: Errors building big pet store
Date Thu, 09 Apr 2015 12:43:08 GMT
hi ! looks like you ran "clean" which indeed would remove the jar file.

I havent seen the pig build ever fail.  Don't worry, we will see why.

Last time I ran it definetly was working....

On Wed, Apr 8, 2015 at 11:11 PM, Bob Metelsky <bob.metelsky@gmail.com>
wrote:

> ok it built cleanly from the mapreduce directory and I have the jar file
>  in build/lib
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> org.apache.bigtop.bigpetstore.docs.TestDocs > testGraphViz PASSED
> :check
> :build
>
> BUILD SUCCESSFUL
>
> Total time: 2 mins 17.781 secs
> root
> nn111.rack1.lab/home/robert/bigtop/bigtop-bigpetstore/bigpetstore-mapreduce
>  l build/libs/
> total 84K
> -rw-r--r-- 1 root root 84K Apr  8 22:58 *BigPetStore-1.0.0-SNAPSHOT.jar*
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Then I run gradle clean integrationTest -P ITProfile=pig
> and get this error @ 93% complete...
>
> 1 test completed, 1 failed
> :integrationTest FAILED
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':integrationTest'.
> > There were failing tests. See the report at:
> file:///home/robert/bigtop/bigtop-bigpetstore/bigpetstore-mapreduce/build/reports/tests/index.html
>
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or
> --debug option to get more log output.
>
> BUILD FAILED
>
> Total time: 2 mins 46.248 secs
>
>
> https://sites.google.com/site/developtroubleshooting/big-pet-store-implement/asd
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> But even weirder... after running the integration *test the jar and lib
> directory are gone!* Is that supposed to happen?? I did this twice just
> to be sure I wasn't seeing things...
>
> root
> nn111.rack1.lab/home/robert/bigtop/bigtop-bigpetstore/bigpetstore-mapreduce
> l build
> total 24K
> drwxr-xr-x 2 root root 4.0K Apr  8 23:02 dependency-cache
> drwxr-xr-x 3 root root 4.0K Apr  8 23:02 resources
> drwxr-xr-x 6 root root 4.0K Apr  8 23:02 classes
> drwxr-xr-x 3 root root 4.0K Apr  8 23:02 reports
> drwxr-xr-x 9 root root 4.0K Apr  8 23:02 tmp
> drwxr-xr-x 3 root root 4.0K Apr  8 23:03 test-results
>
> NO LIB dir or jar file!!
>
> WTF???
>
>
>
>
>
>
> On Wed, Apr 8, 2015 at 5:16 PM, Bob <bob.metelsky@gmail.com> wrote:
>
>> Cos I have to build in the map reduce dir will try later today
>>
>> Sent from my iPhone
>>
>> > On Apr 8, 2015, at 4:15 PM, Konstantin Boudnik <cos@apache.org> wrote:
>> >
>> > I can not reproduce the test failure in the itest-common either. Are
>> you at
>> > the current trunk or on the branch-0.8?
>> >
>> > Cos
>> >
>> >> On Tue, Apr 07, 2015 at 09:45PM, Bob Metelsky wrote:
>> >> Guys - attempting to use bps physical 4 node cluster, centos 6.5
>> recently
>> >> upgraded bigtop to 8
>> >>
>> >> unzipped gradle into /usr/bin/gradle
>> >> GRADLE_HOME=/usr/bin/gradle-2.3
>> >>
>> >> following the  readme
>> >>
>> >> You'll need to have version 2.0 of gradle
>> >> <http://www.gradle.org/downloads> installed
>> >> and set-up correctly in order to follow along these instructions. We
>> could
>> >> have used the gradle-wrapper
>> >> <http://www.gradle.org/docs/current/userguide/gradle_wrapper.html>
to
>> avoid
>> >> having to install gradle, but the bigtop project includes all
>> >> gradle*directories
>> >> in .gitignore. So, that's not going to work.
>> >> <
>> https://github.com/apache/bigtop/blob/master/bigtop-bigpetstore/bigpetstore-mapreduce/README.md#build-the-jar
>> >Build
>> >> the JAR
>> >>
>> >> *gradle clean build* will build the bigpetstore jar. The jar will be
>> >> located in the build\libs directory.
>> >>
>> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> >>
>> >> getting the following error
>> >>
>> >> :itest-common:testClasses
>> >> :itest-common:test
>> >>
>> >> org.apache.bigtop.itest.shell.ShellTest > regularUserShell FAILED
>> >>    java.lang.AssertionError at ShellTest.groovy:34
>> >>
>> >> 44 tests completed, 1 failed, 5 skipped
>> >> :itest-common:test FAILED
>> >>
>> >> FAILURE: Build failed with an exception.
>> >>
>> >> * What went wrong:
>> >> Execution failed for task ':itest-common:test'.
>> >>> There were failing tests. See the report at:
>> >>
>> file:///home/robert/bigtop/bigtop-test-framework/build/reports/tests/index.html
>> >>
>> >> * Try:
>> >> Run with --stacktrace option to get the stack trace. Run with --info or
>> >> --debug option to get more log output.
>> >>
>> >> BUILD FAILED
>> >>
>> >> Total time: 1 mins 43.399 secs
>> >>
>> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> >>
>> >> html file above and full build log are here...
>> >>
>> >>
>> https://sites.google.com/site/developtroubleshooting/big-pet-store-implement
>> >
>>
>
>


-- 
jay vyas

Mime
View raw message