You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Fateh Singh (Jira)" <ji...@apache.org> on 2024/03/24 04:12:00 UTC
[jira] [Created] (HDFS-17439) Improve NNThroughputBenchmark to allow non super user to use the tool
Fateh Singh created HDFS-17439:
----------------------------------
Summary: Improve NNThroughputBenchmark to allow non super user to use the tool
Key: HDFS-17439
URL: https://issues.apache.org/jira/browse/HDFS-17439
Project: Hadoop HDFS
Issue Type: Improvement
Components: benchmarks, namenode
Reporter: Fateh Singh
The NNThroughputBenchmark can only be used with hdfs user or any user with super user privileges since entering/exiting safemode is a privileged operation. However, when using super user, ACL checks are skipped. Hence it renders the tool to be useless when testing namenode performance along with authorization frameworks such as Apache Ranger / any other authorization frameworks.
An optional argument such as -nonSuperUser can be used to skip the statements such as entering / exiting safemode. This optional argument makes the tool useful for incorporating authorization frameworks into the performance estimation flows.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org