Change permissions of a file in HDFS.

Big Data Hadoop

Hi Guys,

I have uploaded files to HDFS Cluster. I want to change the permissions of this file. How can I do that? 


If you want to unleash your potential in this competitive field, please visit the Big Data Hadoop course page for more information, where you can find the Big Data Hadoop tutorials and Big Data Hadoop frequently asked interview questions and answers as well.

1
Answers

Replies

You can use the Chmod command to change the permissions of a file in HDFS.  This command will help you in completing your task and is similar to the Linux shell command. The syntax is represented below:


$ hadoop fs -chmod [-R] PATH

 
 

This topic has been locked/unapproved. No replies allowed

Login to participate in this discussion.

Leave a reply

Before proceeding, please check your email for a verification link. If you did not receive the email, click here to request another.
WhatsApp
To Top