[
https://issues.apache.org/jira/browse/BIGTOP-1524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14209166#comment-14209166
]
jay vyas edited comment on BIGTOP-1524 at 11/13/14 3:06 AM:
------------------------------------------------------------
- fixed comment (removed it)
- clean up changes to srcDir
- kept the FailureVars* import - seems to be required. (In any case, its the
right thing to explicit import)
tested in VMs, compile phase now passes w no errors and mapred tests work.
{noformat}
Executing task ':mapreduce:compileTestGroovy' (up-to-date check took 0.939
secs) due to:
Output file
/bigtop-home/bigtop-tests/smoke-tests/mapreduce/build/classes/test has changed.
Output file
/bigtop-home/bigtop-tests/smoke-tests/mapreduce/build/classes/test/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples.class
has been removed.
Output file
/bigtop-home/bigtop-tests/smoke-tests/mapreduce/build/classes/test/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples$_generateTests_closure1.class
has been removed.
Executing org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@5efaa81f in
compiler daemon.
Successfully executed
org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@5efaa81f in compiler
daemon.
:mapreduce:compileTestGroovy (Thread[main,5,main]) completed. Took 1.606 secs.
:mapreduce:processTestResources (Thread[main,5,main]) started.
:mapreduce:processTestResources
Skipping task ':mapreduce:processTestResources' as it has no source files.
:mapreduce:processTestResources UP-TO-DATE
:mapreduce:processTestResources (Thread[main,5,main]) completed. Took 0.003
secs.
:mapreduce:testClasses (Thread[main,5,main]) started.
:mapreduce:testClasses
Skipping task ':mapreduce:testClasses' as it has no actions.
:mapreduce:testClasses (Thread[main,5,main]) completed. Took 0.001 secs.
:mapreduce:test (Thread[main,5,main]) started.
:mapreduce:test
Executing task ':mapreduce:test' (up-to-date check took 0.453 secs) due to:
No history is available.
ENV VARIABLE: HADOOP_CONF_DIR = /etc/hadoop/conf/
Starting process 'Gradle Test Executor 2'. Working directory:
/bigtop-home/bigtop-tests/smoke-tests/mapreduce Command:
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/bin/java
-Djava.security.manager=jarjar.org.gradle.process.internal.child.BootstrapSecurityManager
-Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea
-cp /root/.gradle/caches/2.1/workerMain/gradle-worker.jar
jarjar.org.gradle.process.internal.launcher.GradleWorkerMain 'Gradle Test
Executor 2'
Successfully started process 'Gradle Test Executor 2'
Gradle Test Executor 2 started executing tests.
org.apache.bigtop.itest.hadoop.mapreduce.TestHadoopExamples STANDARD_ERROR
log4j:WARN No appenders could be found for logger (java.lang.Object).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
> Building 73% > :mapreduce:tes
{noformat}
let me know if this is okay to commit, would like to get it in asap so that the
vagrant recipes in head are fixed. thanks!
was (Author: jayunit100):
- fixed comment (removed it)
- clean up changes to srcDir
- kept the FailureVars* import - seems to be required. (In any case, its the
right thing to explicit import)
tested in VMs, compile phase no passes w no errors and mapred tests work.
{noformat}
Executing task ':mapreduce:compileTestGroovy' (up-to-date check took 0.939
secs) due to:
Output file
/bigtop-home/bigtop-tests/smoke-tests/mapreduce/build/classes/test has changed.
Output file
/bigtop-home/bigtop-tests/smoke-tests/mapreduce/build/classes/test/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples.class
has been removed.
Output file
/bigtop-home/bigtop-tests/smoke-tests/mapreduce/build/classes/test/org/apache/bigtop/itest/hadoop/mapreduce/TestHadoopExamples$_generateTests_closure1.class
has been removed.
Executing org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@5efaa81f in
compiler daemon.
Successfully executed
org.gradle.api.internal.tasks.compile.ApiGroovyCompiler@5efaa81f in compiler
daemon.
:mapreduce:compileTestGroovy (Thread[main,5,main]) completed. Took 1.606 secs.
:mapreduce:processTestResources (Thread[main,5,main]) started.
:mapreduce:processTestResources
Skipping task ':mapreduce:processTestResources' as it has no source files.
:mapreduce:processTestResources UP-TO-DATE
:mapreduce:processTestResources (Thread[main,5,main]) completed. Took 0.003
secs.
:mapreduce:testClasses (Thread[main,5,main]) started.
:mapreduce:testClasses
Skipping task ':mapreduce:testClasses' as it has no actions.
:mapreduce:testClasses (Thread[main,5,main]) completed. Took 0.001 secs.
:mapreduce:test (Thread[main,5,main]) started.
:mapreduce:test
Executing task ':mapreduce:test' (up-to-date check took 0.453 secs) due to:
No history is available.
ENV VARIABLE: HADOOP_CONF_DIR = /etc/hadoop/conf/
Starting process 'Gradle Test Executor 2'. Working directory:
/bigtop-home/bigtop-tests/smoke-tests/mapreduce Command:
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71.x86_64/bin/java
-Djava.security.manager=jarjar.org.gradle.process.internal.child.BootstrapSecurityManager
-Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -ea
-cp /root/.gradle/caches/2.1/workerMain/gradle-worker.jar
jarjar.org.gradle.process.internal.launcher.GradleWorkerMain 'Gradle Test
Executor 2'
Successfully started process 'Gradle Test Executor 2'
Gradle Test Executor 2 started executing tests.
org.apache.bigtop.itest.hadoop.mapreduce.TestHadoopExamples STANDARD_ERROR
log4j:WARN No appenders could be found for logger (java.lang.Object).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.
> Building 73% > :mapreduce:tes
{noformat}
let me know if this is okay to commit, would like to get it in asap so that the
vagrant recipes in head are fixed. thanks!
> FailureExecutor breaks smoke tests : Smoke tests should run from source
> ------------------------------------------------------------------------
>
> Key: BIGTOP-1524
> URL: https://issues.apache.org/jira/browse/BIGTOP-1524
> Project: Bigtop
> Issue Type: Bug
> Components: tests
> Affects Versions: 0.8.0
> Reporter: jay vyas
> Assignee: jay vyas
> Priority: Blocker
> Fix For: 0.9.0
>
> Attachments: BIGTOP-1524.patch, BIGTOP-1524.patch
>
>
> Duh : By adding a hard requirement on itest-snapshot-0.9.0, we now break the
> existing mapreduce smoke tests.
> Maybe i can add ITest as a compiled, rather than jar file, dependency for
> {{smoke-tests}} . let me look into it
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)