File manipulation command of hadoop
Hadoop file upload
Sudo-u hdfs hadoop fs-put 20171204 /
View Fil
Hadoop fs-ls /
Go to the hadoop configuration file and view
Vi / etc/hadoop/conf/hdfs-site.xml
Find the path to hdfs
Dfs/nn
Entry path
Cd / dfs/nn
View the file information of name
Ls