You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (Jira)" <ji...@apache.org> on 2020/01/24 14:32:00 UTC
[jira] [Comment Edited] (HADOOP-16827)
TestHarFileSystem.testInheritedMethodsImplemented broken
[ https://issues.apache.org/jira/browse/HADOOP-16827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022981#comment-17022981 ]
Steve Loughran edited comment on HADOOP-16827 at 1/24/20 2:31 PM:
------------------------------------------------------------------
{code:java}
2 methods were not overridden correctly - see log
Stacktrace
java.lang.AssertionError: 2 methods were not overridden correctly - see log
at org.apache.hadoop.fs.TestHarFileSystem.testInheritedMethodsImplemented(TestHarFileSystem.java:400)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
Standard Output
2020-01-24 09:59:32,793 ERROR fs.TestHarFileSystem (TestHarFileSystem.java:testInheritedMethodsImplemented(392)) - HarFileSystem MUST implement protected java.util.concurrent.CompletableFuture org.apache.hadoop.fs.FileSystem.openFileWithOptions(org.apache.hadoop.fs.PathHandle,org.apache.hadoop.fs.impl.OpenFileParameters) throws java.io.IOException
2020-01-24 09:59:32,793 ERROR fs.TestHarFileSystem (TestHarFileSystem.java:testInheritedMethodsImplemented(392)) - HarFileSystem MUST implement protected java.util.concurrent.CompletableFuture org.apache.hadoop.fs.FileSystem.openFileWithOptions(org.apache.hadoop.fs.Path,org.apache.hadoop.fs.impl.OpenFileParameters) throws java.io.IOException
{code}
was (Author: stevel@apache.org):
{code:java}
{code}
> TestHarFileSystem.testInheritedMethodsImplemented broken
> --------------------------------------------------------
>
> Key: HADOOP-16827
> URL: https://issues.apache.org/jira/browse/HADOOP-16827
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs, test
> Affects Versions: 3.3.0
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Major
>
> caused by HADOOP-16759.
> I'm surprised this didn't surface earlier -or embarrassed that if it did, somehow I missed it. Will fix.
>
> will also review the checksum FS to make sure it's gone through there too.
>
> Given I was using the IDE to refactor, it should have all been automatic
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org