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 <[email protected]>: > 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: > > Am I missing something here?A I cloned from github and checked out > HEAD; > > is that still valid? > > $ pwd > > /home/akm/bigtop > > $ gradle realclean > > :buildSrc:clean > > :buildSrc:compileJava UP-TO-DATE > > :buildSrc:compileGroovy > > :buildSrc:processResources UP-TO-DATE > > :buildSrc:classes > > :buildSrc:jar > > :buildSrc:assemble > > :buildSrc:compileTestJava UP-TO-DATE > > :buildSrc:compileTestGroovy > > [ant:groovyc] > > org.codehaus.groovy.control.MultipleCompilationErrorsException: > startup > > failed: > > [ant:groovyc] > > > /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy: > > 21: unable to resolve class org.junit.Test > > [ant:groovyc] A @ line 21, column 1. > > [ant:groovyc] A A import org.junit.Test > > [ant:groovyc] A A ^ > > [ant:groovyc]A > > [ant:groovyc] > > > /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestBuildUtils.groovy: > > 20: unable to resolve class org.junit.Assert > > [ant:groovyc] A @ line 20, column 1. > > [ant:groovyc] A A import org.junit.Assert > > [ant:groovyc] A A ^ > > [ant:groovyc]A > > [ant:groovyc] > > > /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy: > > 21: unable to resolve class org.junit.Test > > [ant:groovyc] A @ line 21, column 1. > > [ant:groovyc] A A import org.junit.Test > > [ant:groovyc] A A ^ > > [ant:groovyc]A > > [ant:groovyc] > > > /home/akm/bigtop/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy: > > 20: unable to resolve class org.junit.Assert > > [ant:groovyc] A @ line 20, column 1. > > [ant:groovyc] A A import org.junit.Assert > > [ant:groovyc] A A ^ > > [ant:groovyc]A > > [ant:groovyc] 4 errors > > [ant:groovyc]A > > FAILURE: Build failed with an exception. > > * What went wrong: > > Execution failed for task ':compileTestGroovy'. > > Cause: Forked groovyc returned error code: 1 > > * 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: 8.291 secs > > On Mon, Apr 13, 2015 at 2:05 PM, Andrew Musselman > > <[email protected]> wrote: > > > > Thanks Jonathan > > On Mon, Apr 13, 2015 at 2:00 PM, Kelly, Jonathan < > [email protected]> > > wrote: > > > > The top of that page you linked says that it is deprecated, and it > > links to another page that unfortunately looks a little thin on > > details. What you want though is "gradle realclean" instead of > "make > > realclean". > > > > ~ Jonathan Kelly > > > > Sent from Nine > > From: Andrew Musselman <[email protected]> > > Sent: Apr 13, 2015 3:47 PM > > To: [email protected] > > Subject: Build question > > I'm following the build instructions below but am stuck on the > `make > > realclean` step; what am I missing? > > $ make realclean > > make: *** No rule to make target `realclean'.A Stop. > > FromA > https://cwiki.apache.org/confluence/display/BIGTOP/Building+Bigtop+on+Ubuntu > > Thanks! >
