Professional Documents
Culture Documents
HDFS Hands On Update
HDFS Hands On Update
hadoop
fsck - /
run a DFS filesystem checking
utility
balancer
run a cluster balancing utility
version
print the Hadoop version
hadoop fs
-ls hdfs:/
listing of hdfs
-df hdfs:/
reports the amount of space used
and available on currently mounted
filesystems
-count hdfs:/
Count the number of directories,
files and bytes under the paths
that match the specified file
pattern
-cat <src>
viewing file in HDFS.
-rm <path>
deleting a file from hdfs