![]() Usage: hadoop fs -chown ] URI Example: hadoop fs -chmod -R hadoop/user/hadoop/ The user of the command must be a super user. Using -R will make changes recursively under the directory structure. ![]() Usage: hadoop fs -chmod URI Example: hadoop fs -chmod -R 744/user/hadoop/Ĥ, chown Description: Change the file owner. The user of the command must be the owner or super user of the file. Usage: hadoop fs -chgrp GROUP URI Example: hadoop fs -chgrp -R hadoop/user/hadoop/ģ, chmod Description: Change the file permissions. Ģ, chgrp Description: Change the file belongs to the group. Usage: hadoop fs -cat URI Example: hadoop fs -cat hdfs://host1:port1/file1 hdfs://host2:port2/file2 hadoop fs -cat file:///file3/user/hadoop/File4 return value: return 0 on success, return -1 on failure. 1, CAT Description: Specifies the path to the contents of the output file to stdout. All FS shell commands use the URI path as a parameter. Note: The file system (FS) Shell command should be in the form of bin/hadoop fs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |