hadoop常用的命令
2017-08-02 14:24
218 查看
hdfs dfs -mkdir -p /user/centos/hadoop
hdfs dfs -ls /user
hdfs dfs -ls -R /user 递归查看
hdfs dfs -help put
hdfs dfs -put index.html /user/centos/hadoop上传
index.html到hadoop上
查看
hdfs dfs -lsr
下载到本地
hdfs dfs -get /user/centos/index.html
删除
hdfs dfs -rm -r -f /user/centos/hadoop
$>su root
$>xcall.sh "service firewalld stop"
$>xcall.sh "systemctl disable firewalld"
hdfs dfs -ls /user
hdfs dfs -ls -R /user 递归查看
hdfs dfs -help put
hdfs dfs -put index.html /user/centos/hadoop上传
index.html到hadoop上
查看
hdfs dfs -lsr
下载到本地
hdfs dfs -get /user/centos/index.html
删除
hdfs dfs -rm -r -f /user/centos/hadoop
注意一定要关闭防火墙
关闭防火墙。$>su root
$>xcall.sh "service firewalld stop"
$>xcall.sh "systemctl disable firewalld"
相关文章推荐
- Hadoop集群(第10期副刊)_常用MySQL数据库命令
- hadoop常用命令
- 常用HADOOP命令
- Hbase&Hadoop常用命令
- Hadoop常用命令(三)
- hadoop常用命令
- hadoop的常用shell命令
- hadoop 常用命令
- Hadoop中HDFS常用命令
- hadoop hdfs常用命令
- hadoop HDFS常用文件操作命令
- Hadoop常用的操作命令(2)
- hadoop 创建用户及hdfs权限,hdfs操作等常用shell命令
- hadoop常用命令
- hadoop常用命令
- hadoop 常用命令
- Hadoop中HDFS常用命令
- 【原创】Hadoop 常用命令集锦
- hadoop HDFS常用文件操作命令
- hadoop hdfs 常用命令