[
https://issues.apache.org/jira/browse/HADOOP-16669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16959080#comment-16959080
]
Steve Loughran commented on HADOOP-16669:
-----------------------------------------
{code}
[INFO] Running org.apache.hadoop.fs.TestRawLocalFileSystemContract
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.753 s
<<< FAILURE! - in org.apache.hadoop.fs.TestRawLocalFileSystemContract
[ERROR] testPermission(org.apache.hadoop.fs.TestRawLocalFileSystemContract)
Time elapsed: 0.578 s <<< ERROR!
java.lang.UnsatisfiedLinkError:
org.apache.hadoop.io.nativeio.NativeIO$POSIX.stat(Ljava/lang/String;)Lorg/apache/hadoop/io/nativeio/NativeIO$POSIX$Stat;
at org.apache.hadoop.io.nativeio.NativeIO$POSIX.stat(Native Method)
at
org.apache.hadoop.io.nativeio.NativeIO$POSIX.getStat(NativeIO.java:601)
at
org.apache.hadoop.fs.RawLocalFileSystem$DeprecatedRawLocalFileStatus.loadPermissionInfoByNativeIO(RawLocalFileSystem.java:823)
at
org.apache.hadoop.fs.TestRawLocalFileSystemContract.testPermission(TestRawLocalFileSystemContract.java:148)
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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:298)
at
org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:292)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
{code}
> TestRawLocalFileSystemContract.testPermission fails if no native library
> ------------------------------------------------------------------------
>
> Key: HADOOP-16669
> URL: https://issues.apache.org/jira/browse/HADOOP-16669
> Project: Hadoop Common
> Issue Type: Bug
> Components: common, test
> Affects Versions: 3.2.2
> Reporter: Steve Loughran
> Priority: Major
>
> if you don't have the native libs, commons tests fail in
> TestRawLocalFileSystemContract.testPermission.
> See also HADOOP-15716
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]