hadoop 命令
hadoop 命令
hdfs:
查看hdfs
hadoop fs -ls /
hadoop fs -lsr /
创建目录
hadoop fs -mkdir /user/hive
删除目录文件
hadoop fs -rm /user/hive/file
hadoop fs -rmr /user/hive
上传文件
hadoop fs -put /home/admin/newfile /user/hive/createfile
下载文件
hadoop fs -get /user/hive/jobfile /home/admin/downloadfile
查看文件
hadoop fs -cat /user/admin/jobfile
job
运行jar
hadoop jar /home/hadoop/job.ar
查看job的list
hadoop job -list
kill job
hadoop job -kill jobid
hive命令
查看目录! ls / ; !ls /home/hadoop;
相关推荐
changjiang 2020-11-16
minerd 2020-10-28
WeiHHH 2020-09-23
Aleks 2020-08-19
WeiHHH 2020-08-17
飞鸿踏雪0 2020-07-26
tomli 2020-07-26
deyu 2020-07-21
strongyoung 2020-07-19
eternityzzy 2020-07-19
Elmo 2020-07-19
飞鸿踏雪0 2020-07-09
飞鸿踏雪0 2020-07-04
xieting 2020-07-04
WeiHHH 2020-06-28
genshengxiao 2020-06-26
Hhanwen 2020-06-25