You can use the Chown command. This command is used to change the owner and group of a file. This command is similar to the shell’s chown command with a few exceptions. If only the owner of the group is specified then only the owner of the group is modified via this command. The owner and group names may only consist of digits, alphabets, and any of the characters mentioned here [-_./@a-zA-Z0-9]. The names thus specified are case sensitive as well. You can see the below syntax.
$ hadoop fs -chown [-R] [OWNER][:[GROUP]] PATH