欢迎投稿

今日深度:

Hadoop Shell Command,hadoopshell

Hadoop Shell Command,hadoopshell


  • Run DFS file system:  hadoop fsck – /

  • Check version of Hadoop: Hadoop version

  • View file listings:  hadoop fs -ls hdfs :/

  • Check memory status:  hadoop fs -df hdfs :/

  • Count of Directories, Files and Bytes inspecified path and file pattern:  hadoop fs -count hdfs :/

  • Move file from one location to another: hadoop fs -mv hdfs:/file hdfs:/dest_file

  • Copy file from source to destination : hadoop fs -cp <src> <dst>

  • Put file from the Local file system toHadoop Distributed File System: hadoop fs  -put <localsrc> … <dst>

  • Copy file from Local to HDFS: hadoop fs  -copyFromLocal <localsrc> …<dst>

  • Format the namenode: hadoop namenode –format

  • Starting Secondary namenode:  hadoop secondrynamenode

  • Run namenode :  hadoop namenode

  • Run data node: hadoop datanode

  • Cluster Balancing: hadoop balance

  • Run MapReduce job tracker node: hadoop jobtracker

  • Run MapReduce task tracker node: hadoop tasktracker


www.htsjk.Com true http://www.htsjk.com/Hadoop/32286.html NewsArticle Hadoop Shell Command,hadoopshell Run DFS file system:   hadoop fsck – / Check version of Hadoop:  Hadoop version View file listings:   hadoop fs -ls hdfs :/ Check memory status:    hadoop fs -df hdfs :/ Count of Directories, Files...
相关文章
    暂无相关文章
评论暂时关闭