Trying to set some extended file attributes for a file in the MFS with the command
hadoop fs -setfattr -n trusted.myattr -v 'my attribute' /hdfs/path/to/file
as documented here (Apache Hadoop 3.1.0 – Extended Attributes in HDFS ). This works when I am the mapr user, but when I am any other user, I cannot see anything when using
hadoop fs -getattr -d /hdfs/path/to/file
and attempting to set extended attributes in the trusted namespace raises permission denied errors (even when the user is part of the mapr group). Note that the permissions for this file are set to 1775. What exactly is meant in the documentation in "The trusted namespace is available only to HDFS superusers." (ie. what is being considered as a superuser)? Does anyone know why this is happening and what can be done to work around / fix this (ie. be able to access the trusted namespace without having the mapr uid (but having the mapr gid))? Thanks.