An Error Is Reported When the dfs -put Command Is Executed on the Beeline Client
Symptom
Run the following command:
dfs -put /opt/kv1.txt /tmp/kv1.txt
The following error is reported:
Permission denied. Principal [name=admin, type=USER] does not have following privileges onObject[type=COMMAND_PARAMS,name=[-put, /opt/kv1.txt, /tmp/kv1.txt]] for operation DFS : [ADMIN PRIVILEGE] (state=,code=1)
Cause Analysis
The current login user does not have the permissions to run the command.
Solution
If the current user has the admin role, run the set role admin command to switch to the admin role. If the user does not have the admin role, bind the user with the permissions of the corresponding role on the Manager page.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.