[
https://issues.apache.org/jira/browse/HADOOP-17936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17421397#comment-17421397
]
Steve Loughran commented on HADOOP-17936:
-----------------------------------------
{code}
org.apache.hadoop.fs.TestLocalFSCopyFromLocal.testDestinationFileIsToParentDirectory
java.lang.AssertionError: Expected an exception of type class
org.apache.hadoop.fs.PathOperationException
at
org.apache.hadoop.test.LambdaTestUtils.intercept(LambdaTestUtils.java:409)
at
org.apache.hadoop.fs.TestLocalFSCopyFromLocal.testDestinationFileIsToParentDirectory(TestLocalFSCopyFromLocal.java:46)
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:59)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.rules.TestWatcher$1.evaluate(TestWatcher.java:61)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
Standard Output
2021-09-27 13:13:24,197 INFO contract.AbstractFSContractTestBase
(AbstractFSContractTestBase.java:setup(196)) - Test filesystem = file:///
implemented by org.apache.hadoop.fs.LocalFileSystem@67e7f7a7
2021-09-27 13:13:24,224 INFO contract.AbstractFSContractTestBase
(AbstractFSContractTestBase.java:describe(280)) - Source is a file and
destination is its own parent directory
{code}
> Fix test failure after reverting HADOOP-16878
> ---------------------------------------------
>
> Key: HADOOP-17936
> URL: https://issues.apache.org/jira/browse/HADOOP-17936
> Project: Hadoop Common
> Issue Type: Test
> Reporter: Chao Sun
> Assignee: Chao Sun
> Priority: Major
> Labels: pull-request-available
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> After reverting HADOOP-16878 from branch-3.3, test
> {{TestLocalFSCopyFromLocal.testDestinationFileIsToParentDirectory}} started
> to fail because it expects an exception but the copying succeeded.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]