-----Original Message----- From: Paula Logan <pmlin...@verizon.net> To: u...@hadoop.apache.org <u...@hadoop.apache.org> Sent: Mon, Sep 27, 2021 5:21 pm Subject: SELinux Compatibility All, Is Hadoop 3.3.1 compatible with SELinux? I was running the Hadoop tests for this release and got this error message for one of the NativeIO tests: <testcase name="testStat" classname="org.apache.hadoop.io.nativeio.TestNativeIO" time="2.038"> <error message="length != 10(unixSymbolicPermission=-rw-r--r--.)" type="java.lang.IllegalArgumentException">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:207) at org.apache.hadoop.io.nativeio.TestNativeIO.testStat(TestNativeIO.java:185) 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.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:288) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:282) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:748) The dot (.) at the end of the permissions would make the character count 11 not 10. Wasn't sure if this is just an error in the testStat() test case within NativeIO or a hadoop incompatibility with SELinux. Is there anything that needs to be configuredto make hadoop work with SELinux configured as "Enforcing"? NativeIO Test Case testMultiThreadedStat also has the same issue. Paula