怎样用shell命令查看hdfs上是否存在某个文件(查询hdfs文件中包含的某个字符)

怎样用shell命令查看hdfs上是否存在某个文件(查询hdfs文件中包含的某个字符)

首页维修大全综合更新时间:2024-06-17 15:19:51

怎样用shell命令查看hdfs上是否存在某个文件

使用方法:hadoop fs -chgrp [-R] GROUP URI [URI …] Change group association of

files. With -R, make the change recursively through the directory

structure. The user must be the owner of files, or else a super-user.

Additional information is in the Permissions User

Guide. –>

改变文件所属的组。使用-R将使改变在目录结构下递归进行。命令的使用者必须是文件的所有者或者超级用户。更多的信息请参见HDFS权限用户指南。

大家还看了
也许喜欢
更多栏目

© 2021 3dmxku.com,All Rights Reserved.