大数据基础---Hadoop常用命令

官网参考 

常用命令:

hdfs dfs -put text.txt /opt/user/root/text.txt  //将文件进行上传(-put 本地路径   hdfs路径)

hadoop fs -get /test/test1.har  /data/test//将文件下载到本地 (-get hdfs路径 本地路径)

posted @ 2020-07-02 11:31  数据驱动  阅读(309)  评论(0编辑  收藏  举报