Hive命令操作

Hive命令操作(一)

怎甘沉沦 提交于 2019-12-07 00:33:26
1、准备文本文件,启动hadoop [root@hadoop0 ~]# cat /opt/test.txt JieJie MengMeng NingNing JingJing FengJie [root@hadoop0 ~]# start-all.sh Warning: $HADOOP_HOME is deprecated. starting namenode, logging to /opt/hadoop/libexec/../logs/hadoop-root-namenode-hadoop0.out localhost: starting datanode, logging to /opt/hadoop/libexec/../logs/hadoop-root-datanode-hadoop0.out localhost: starting secondarynamenode, logging to /opt/hadoop/libexec/../logs/hadoop-root-secondarynamenode-hadoop0.out starting jobtracker, logging to /opt/hadoop/libexec/../logs/hadoop-root-jobtracker-hadoop0.out localhost: starting