Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

File manipulation command of hadoop

Shulou Source: shulou.com Published: 2022-06-03 05:51:37 11月23日 Update

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

Tags: Files paths information configurations commands Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi Shulou Technology Linux macOS Shulou Tech Info