Hadoop综合大作业

启动hadooop

start-all.sh

jps查看服务是否启动

把本地文件传上数据库

hdfs dfs -put ./wc/w.txt /user/hadoop/input
hdfs dfs -ls input

启动hive建表

hive
create table text(line string);

使用select命令查看结果

posted @ 2018-05-25 20:52  177黄南龙  阅读(120)  评论(0编辑  收藏  举报