Search

hadoop fs -chown

The hadoop chown command is used to change the ownership of files. The -R option can be used to recursively change the owner of a directory structure. The usage is shown below:
hadoop fs -chown [-R] <NewOwnerName>[:NewGroupName] <file or directory name>