Return-Path: X-Original-To: apmail-bigtop-user-archive@www.apache.org Delivered-To: apmail-bigtop-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C9C81778A for ; Thu, 9 Apr 2015 12:43:35 +0000 (UTC) Received: (qmail 26386 invoked by uid 500); 9 Apr 2015 12:43:34 -0000 Delivered-To: apmail-bigtop-user-archive@bigtop.apache.org Received: (qmail 26318 invoked by uid 500); 9 Apr 2015 12:43:34 -0000 Mailing-List: contact user-help@bigtop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@bigtop.apache.org Delivered-To: mailing list user@bigtop.apache.org Received: (qmail 26308 invoked by uid 99); 9 Apr 2015 12:43:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 12:43:34 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jayunit100.apache@gmail.com designates 209.85.212.181 as permitted sender) Received: from [209.85.212.181] (HELO mail-wi0-f181.google.com) (209.85.212.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Apr 2015 12:43:09 +0000 Received: by wiun10 with SMTP id n10so96428554wiu.1 for ; Thu, 09 Apr 2015 05:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OBI3OBB7opMSCPpNDZ2333DRBQ1LF/EI8xLhUs11xrw=; b=JfN7R6soypcVA2MJhHRPIYfiwh9k8DeiwYtWu8K8q2ELyzTbcbymQcI5CFqqcoWvSt lvo/Tp6a5d+fZ4IgbPb7ySNtO10IpX9WTbjFRa+3k3+k9IMwDvXw+O93jo+0T2l6b8dC R+Yw1cZMjII6jyylIlgWddfZBaEXjoq++ngbwzXHrSg5jkkS/WrVycCVtMKilSZaR2yX ts1ynrSuRZ3ONq7CTrSfQcZTJoshIc5BzXZdjLwDL82pia2VMr4vXqYXf7CUGe4WHyxD WVMdzPVw2xUGXJ7LsIYIQm48S1mMhCnl63rlAu+wTRjCcreiZbzNoHWMZi81T7/Lvitf s0mQ== MIME-Version: 1.0 X-Received: by 10.194.60.43 with SMTP id e11mr50953999wjr.36.1428583388260; Thu, 09 Apr 2015 05:43:08 -0700 (PDT) Received: by 10.27.178.66 with HTTP; Thu, 9 Apr 2015 05:43:08 -0700 (PDT) In-Reply-To: References: <20150408201522.GL1657@boudnik.org> Date: Thu, 9 Apr 2015 08:43:08 -0400 Message-ID: Subject: Re: Errors building big pet store From: jay vyas To: "user@bigtop.apache.org" Content-Type: multipart/alternative; boundary=047d7b86de8663b000051349fdb7 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b86de8663b000051349fdb7 Content-Type: text/plain; charset=UTF-8 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 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 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 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 >> >> installed >> >> and set-up correctly in order to follow along these instructions. We >> could >> >> have used the gradle-wrapper >> >> 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 --047d7b86de8663b000051349fdb7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
hi ! looks like you ran "clean" which indee= d would remove the jar file.

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

Last time I ran= it definetly was working....=C2=A0
On Wed, Apr 8, 2015 at 11:11 PM, Bob Metelsky <= span dir=3D"ltr"><bob.metelsky@gmail.com> wrote:
ok it built cleanly from the mapreduce directory= and I have the jar file =C2=A0in build/lib
~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~
org.apache.bigtop.bigpetstore.docs.TestDocs > = testGraphViz PASSED
:check
:build

<= div>BUILD SUCCESSFUL

Total time: 2 mins 17.781 sec= s
root nn111.rack1.lab/home/robert/bigtop/bigtop-bigpetstore/bigp= etstore-mapreduce =C2=A0l build/libs/
total 84K
-rw-r--= r-- 1 root root 84K Apr =C2=A08 22:58 BigPetStore-1.0.0-SNAPSHOT.jar=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Then I run=C2=A0gradle clean integrationTest -P ITProfile=3Dpig
and get this error @ 93% complete..= .
<= div>
1= test completed, 1 failed
:integrationTest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':integra= tionTest'.
> There were failing tests. See the report at: fil= e:///home/robert/bigtop/bigtop-bigpetstore/bigpetstore-mapreduce/build/repo= rts/tests/index.html

<= font face=3D"Consolas, Liberation Mono, Menlo, Courier, monospace" color=3D= "#333333">* 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

<= /div>
~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~

<= /span>
But=C2=A0even=C2=A0w= eirder... after running the integration test the jar and lib directory are gone! Is that supposed to happen?? I did this tw= ice just to be sure I=C2=A0wasn't=C2=A0seeing things...
<= div>root nn111.rack1.lab/home/robert/bigtop/bigtop-bigpetstore/= bigpetstore-mapreduce l build
total 24K=
drwxr-xr-x 2 root root 4.0K Apr =C2=A0= 8 23:02 dependency-cache
drwxr-xr-x 3 r= oot root 4.0K Apr =C2=A08 23:02 resources
drwxr-xr-x 6 root root 4.0K Apr =C2=A08 23:02 classes
drwxr-xr-x 3 root root 4.0K Apr =C2=A08 23:02 reports
drwxr-xr-x 9 root root 4.0K Apr =C2=A08 23= :02 tmp
drwxr-xr-x 3 root root 4.0K Apr= =C2=A08 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 i= n 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 y= ou 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 r= ecently
>> upgraded bigtop to 8
>>
>> unzipped gradle into /usr/bin/gradle
>> GRADLE_HOME=3D/usr/bin/gradle-2.3
>>
>> following the=C2=A0 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/usergui= de/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/bigpetst= ore-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 FAIL= ED
>>=C2=A0 =C2=A0 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/tes= ts/index.html
>>
>> * Try:
>> Run with --stacktrace option to get the stack trace. Run with --in= fo 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/deve= loptroubleshooting/big-pet-store-implement
>




--
jay vyas
--047d7b86de8663b000051349fdb7--