accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-2781) Unit tests should reuse forks by default
Date Fri, 10 Apr 2015 21:04:12 GMT


Christopher Tubbs commented on ACCUMULO-2781:

The stack trace is:

{code:java} Can't get Master Kerberos principal for use as renewer
	at org.apache.hadoop.mapreduce.lib.output.FileOutputFormat.checkOutputSpecs(
	at org.apache.hadoop.mapreduce.JobSubmitter.checkSpecs(
	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(
	at org.apache.hadoop.mapreduce.Job$
	at org.apache.hadoop.mapreduce.Job$
	at Method)
	at org.apache.hadoop.mapreduce.Job.submit(
	at org.apache.hadoop.mapreduce.Job.waitForCompletion(
	at org.apache.accumulo.core.client.mapreduce.AccumuloFileOutputFormatTest$
	at org.apache.accumulo.core.client.mapreduce.AccumuloFileOutputFormatTest$MRTester.main(
	at org.apache.accumulo.core.client.mapreduce.AccumuloFileOutputFormatTest.writeBadVisibility(

> Unit tests should reuse forks by default
> ----------------------------------------
>                 Key: ACCUMULO-2781
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 1.6.0
>            Reporter: Christopher Tubbs
>             Fix For: 1.8.0
> The default value for maven-surefire-plugin's reuseForks is true. This is set to false
in our pom.xml in order to keep ITs independent. This inadvertently affects unit tests also,
and causes unit tests to create a new JVM for each test class.
> These should be separated, and the default for unit tests (maven-surefire-plugin's execution)
should be {{reuseForks=true}}, and the default for ITs (maven-failsafe-plugin's execution)
should be {{reuseForks=false}} (as it is now).

This message was sent by Atlassian JIRA

View raw message