[ 
https://issues.apache.org/jira/browse/HADOOP-15678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17313238#comment-17313238
 ] 

Ravuri Sushma sree commented on HADOOP-15678:
---------------------------------------------

Hi [~surendralilhore] ,  Thank you for reporting this issue.

I have submitted a patch, can you please review

> 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
>            Priority: Major
>         Attachments: HADOOP-15678.001.patch
>
>
> {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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to