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
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。