Hive小练习实现单词统计

su -l hadoop #输入密码 vi word.txt #新建一个word.txt文档,作为我们的数据文件 输入一些词汇,以"  "为分隔符 hello world  hello terese hello myfriend hello everyone esc :wq保存退出 hive#回到hive命令行中 create table text (line string);#创建一个text表
相关文章
相关标签/搜索