AnsweredAssumed Answered

Special priviledges required to do setOwner?

Question asked by tjblank on Feb 28, 2018
Latest reply on Mar 20, 2018 by maprcommunity

I am seeing the following exception my services log when it attempts to do a setOwner on a folder in the MaprFilesystem:

java.io.IOException: Could not set owner/group admin/null for path /user/as_user/analytic-root/analytic-workspace/qaconsumer-zhenliu/.users/admin
at com.mapr.fs.MapRFileSystem.setOwner(MapRFileSystem.java:2030)
at com.spss.ae.filesystem.hdfs.impl.HdfsFileSystemProvider.setOwner(HdfsFileSystemProvider.java:1303)
at com.spss.ae.client.local.ExecutionContext.createUserOwnedFolderInHdfs(ExecutionContext.java:296)
at com.spss.ae.client.local.ExecutionContext.<init>(ExecutionContext.java:183)
at com.spss.ae.client.local.ExecutionContext.<init>(ExecutionContext.java:153)
at com.spss.ae.clusterservice.impl.ClusterAnalyticApi.submitExecution(ClusterAnalyticApi.java:229)
at com.spss.ae.restanalyticapi.executors.SubmitAslExecution.startExecution(SubmitAslExecution.java:225)
at com.spss.ae.restanalyticapi.executors.SubmitAslExecution.execute(SubmitAslExecution.java:134)

 

This cluster is kerberos enabled and our service does impersonation, are there any additional administrative privileges required for our services service user to be able to perform files administrative tasks such as setOwner?

 

Regards, Tim

Outcomes