bigtop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Boudnik <...@apache.org>
Subject Re: Build question
Date Wed, 15 Apr 2015 15:32:45 GMT
On Wed, Apr 15, 2015 at 08:27AM, Andrew Musselman wrote:
>    Ubuntu 12.04 with open jdk 1.7; I didn't use gradlew, just gradle, could
>    that be an issue.

Did it work correct with gradlew? And what version of gradle you system has?
The one from toolchain?

Cos

>    On Wednesday, April 15, 2015, Evans Ye <evansye@apache.org> wrote:
> 
>      I tested this on centos6.4, fedora20, ubuntu14.04 container with
>      openjdk7. It works well.
>      docker run -ti --rm -v `pwd`:/bigtop bigtop/slaves:fedora-20 bash -l
>      bash-4.2# ./gradlew realclean
>      ...
>      :tachyon_vardefines
>      :tachyon-clean
>      :tez_vardefines
>      :tez-clean
>      :zookeeper_vardefines
>      :zookeeper-clean
>      :clean
>      :allclean
>      :realclean
>      BUILD SUCCESSFUL
>      Total time: 1 mins 5.383 secs
>      I'm wondering what's your environment?
>      2015-04-14 23:21 GMT+08:00 Konstantin Boudnik <cos@apache.org>:
> 
>        I believe I have seen this error once - I am vague on the details, but
>        I think
>        it was some kind of environment issue... I'll report back here if I
>        can
>        manage to recall how I fixed it.
> 
>        Cos
> 
>        On Mon, Apr 13, 2015 at 02:07PM, Andrew Musselman wrote:
>        >A  A  Am I missing something here?AA  I cloned from github and
>        checked out HEAD;
>        >A  A  is that still valid?
>        >A  A  $ pwd
>        >A  A  /home/akm/bigtop
>        >A  A  $ gradle realclean
>        >A  A  :buildSrc:clean
>        >A  A  :buildSrc:compileJava UP-TO-DATE
>        >A  A  :buildSrc:compileGroovy
>        >A  A  :buildSrc:processResources UP-TO-DATE
>        >A  A  :buildSrc:classes
>        >A  A  :buildSrc:jar
>        >A  A  :buildSrc:assemble
>        >A  A  :buildSrc:compileTestJava UP-TO-DATE
>        >A  A  :buildSrc:compileTestGroovy
>        >A  A  [ant:groovyc]
>        >A  A  org.codehaus.groovy.control.MultipleCompilationErrorsException:
>        startup
>        >A  A  failed:
>        >A  A  [ant:groovyc]
>        >A  A 
>        /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
>        >A  A  21: unable to resolve class org.junit.Test
>        >A  A  [ant:groovyc] A @ line 21, column 1.
>        >A  A  [ant:groovyc] AA  A import org.junit.Test
>        >A  A  [ant:groovyc] AA  A ^
>        >A  A  [ant:groovyc]A
>        >A  A  [ant:groovyc]
>        >A  A 
>        /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy:
>        >A  A  20: unable to resolve class org.junit.Assert
>        >A  A  [ant:groovyc] A @ line 20, column 1.
>        >A  A  [ant:groovyc] AA  A import org.junit.Assert
>        >A  A  [ant:groovyc] AA  A ^
>        >A  A  [ant:groovyc]A
>        >A  A  [ant:groovyc]
>        >A  A 
>        /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
>        >A  A  21: unable to resolve class org.junit.Test
>        >A  A  [ant:groovyc] A @ line 21, column 1.
>        >A  A  [ant:groovyc] AA  A import org.junit.Test
>        >A  A  [ant:groovyc] AA  A ^
>        >A  A  [ant:groovyc]A
>        >A  A  [ant:groovyc]
>        >A  A 
>        /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy:
>        >A  A  20: unable to resolve class org.junit.Assert
>        >A  A  [ant:groovyc] A @ line 20, column 1.
>        >A  A  [ant:groovyc] AA  A import org.junit.Assert
>        >A  A  [ant:groovyc] AA  A ^
>        >A  A  [ant:groovyc]A
>        >A  A  [ant:groovyc] 4 errors
>        >A  A  [ant:groovyc]A
>        >A  A  FAILURE: Build failed with an exception.
>        >A  A  * What went wrong:
>        >A  A  Execution failed for task ':compileTestGroovy'.
>        >A  A  Cause: Forked groovyc returned error code: 1
>        >A  A  * Try:
>        >A  A  Run with --stacktrace option to get the stack trace. Run with
>        --info or
>        >A  A  --debug option to get more log output.
>        >A  A  BUILD FAILED
>        >A  A  Total time: 8.291 secs
>        >A  A  On Mon, Apr 13, 2015 at 2:05 PM, Andrew Musselman
>        >A  A  <andrew.musselman@gmail.com> wrote:
>        >
>        >A  A  A  Thanks Jonathan
>        >A  A  A  On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan
>        <jonathak@amazon.com>
>        >A  A  A  wrote:
>        >
>        >A  A  A  A  The top of that page you linked says that it is
>        deprecated, and it
>        >A  A  A  A  links to another page that unfortunately looks a little
>        thin on
>        >A  A  A  A  details. What you want though is "gradle realclean"
>        instead of "make
>        >A  A  A  A  realclean".
>        >
>        >A  A  A  A  ~ Jonathan Kelly
>        >
>        >A  A  A  A  Sent from Nine
>        >A  A  A  A  From: Andrew Musselman <andrew.musselman@gmail.com>
>        >A  A  A  A  Sent: Apr 13, 2015 3:47 PM
>        >A  A  A  A  To: user@bigtop.apache.org
>        >A  A  A  A  Subject: Build question
>        >A  A  A  A  I'm following the build instructions below but am stuck
>        on the `make
>        >A  A  A  A  realclean` step; what am I missing?
>        >A  A  A  A  $ make realclean
>        >A  A  A  A  make: *** No rule to make target `realclean'.AA  Stop.
>        >A  A  A  A  FromA
>        https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu
>        >A  A  A  A  Thanks!

Mime
View raw message