You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Surendra Singh Lilhore (JIRA)" <ji...@apache.org> on 2018/08/16 03:57:00 UTC

[jira] [Created] (HADOOP-15678) TestNativeIO#testStat fails when SELinux permissions is set on file

Surendra Singh Lilhore created HADOOP-15678:
-----------------------------------------------

             Summary: TestNativeIO#testStat fails when SELinux permissions is set on file
                 Key: HADOOP-15678
                 URL: https://issues.apache.org/jira/browse/HADOOP-15678
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 3.1.1
            Reporter: Surendra Singh Lilhore


{code}
java.lang.IllegalArgumentException: length != 10(unixSymbolicPermission=-rw-r--r--.)
	at org.apache.hadoop.fs.permission.FsPermission.valueOf(FsPermission.java:417)
	at org.apache.hadoop.test.StatUtils.getPermissionFromProcess(StatUtils.java:81)
	at org.apache.hadoop.io.nativeio.TestNativeIO.doStatTest(TestNativeIO.java:209)
	at org.apache.hadoop.io.nativeio.TestNativeIO.testStat(TestNativeIO.java:186)
	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:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74)
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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