https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-common/FileSystemShell.html#Overview

 

hdfs fs -ls

  • hadoop fs -put localfile /user/hadoop/hadoopfile
  • hadoop fs -put localfile1 localfile2 /user/hadoop/hadoopdir
  • hadoop fs -put localfile hdfs://nn.example.com/hadoop/hadoopfile
  • hadoop fs -put - hdfs://nn.example.com/hadoop/hadoopfile Reads the input from stdin.

相关文章:

  • 2021-11-23
  • 2021-05-08
  • 2022-12-23
  • 2021-11-23
  • 2021-04-08
  • 2021-12-30
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2021-12-10
  • 2021-12-20
  • 2021-08-18
  • 2021-11-20
相关资源
相似解决方案