hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Kiss (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-13513) Java 1.7 support for org.apache.hadoop.fs.azure testcases
Date Thu, 18 Aug 2016 07:56:20 GMT
Tibor Kiss created HADOOP-13513:
-----------------------------------

             Summary: Java 1.7 support for org.apache.hadoop.fs.azure testcases
                 Key: HADOOP-13513
                 URL: https://issues.apache.org/jira/browse/HADOOP-13513
             Project: Hadoop Common
          Issue Type: Bug
          Components: azure
    Affects Versions: 2.9.0
            Reporter: Tibor Kiss
            Assignee: Tibor Kiss
            Priority: Minor
             Fix For: 2.9.0


Recent improvement on AzureNativeFileSystem rename/delete performance (HADOOP-13403) yielded
a test change  (HADOOP-13459) which is incompatible with Java 1.7. 

If one tries to include those patches in a Java 1.7 compatible Hadoop tree (e.g. 2.7.x) the
following error occurs during test run:
{code}
initializationError(org.apache.hadoop.fs.azure.TestNativeAzureFileSystemClientLogging)  Time
elapsed: 0.001 sec  <<< ERROR!
java.lang.Exception: Class org.apache.hadoop.fs.azure.AbstractWasbTestBase should be public
	at org.junit.runners.model.FrameworkMethod.validatePublicVoid(FrameworkMethod.java:91)
	at org.junit.runners.model.FrameworkMethod.validatePublicVoidNoArg(FrameworkMethod.java:70)
	at org.junit.runners.ParentRunner.validatePublicVoidNoArgMethods(ParentRunner.java:133)
	at org.junit.runners.BlockJUnit4ClassRunner.validateInstanceMethods(BlockJUnit4ClassRunner.java:165)
	at org.junit.runners.BlockJUnit4ClassRunner.collectInitializationErrors(BlockJUnit4ClassRunner.java:104)
	at org.junit.runners.ParentRunner.validate(ParentRunner.java:355)
	at org.junit.runners.ParentRunner.<init>(ParentRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.<init>(BlockJUnit4ClassRunner.java:57)
	at org.junit.internal.builders.JUnit4Builder.runnerForClass(JUnit4Builder.java:10)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
	at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
	at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
	at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:26)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:262)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
{code}

The problem can be resolved by setting {{AbstractWasbTestBase}} to {{public}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message