No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V300R006C00 File System Feature Guide 12

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
User hdfs Created During Cloudera Hadoop Installation Have Insufficient Permissions

User hdfs Created During Cloudera Hadoop Installation Have Insufficient Permissions

User hdfs created during Cloudera Hadoop installation do not have sufficient permissions to perform some operations.

Symptom

User hdfs do not have sufficient permissions to perform some operations. For example:

node1:~ # su - hdfs
hdfs@node1:~> hadoop fs -ls nas:/
...
drwxr-xr-x  - abc  root     4096  2015-11-26 09:09 nas:///test
...
hdfs@node1:~> hadoop fs -chown abc:abc nas:/test
chown: changing ownership of 'nas:///test': User 'hdfs' does not belong to supergroup

Possible Causes

After Cloudera Hadoop is interconnected with OceanStor 9000, user hdfs do not belong to supergroup by default.

Procedure

  1. Log in to the node as user root and run groupadd supergroup.

    If the system prompts that supergroup exists, ignore it and proceed with operations.

  2. Run usermod -A supergroup hdfs.
Translation
Download
Updated: 2019-06-27

Document ID: EDOC1000122519

Views: 74756

Downloads: 145

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next