
hive
nywsp
这个作者很懒,什么都没留下…
展开
-
hive 元数据为mysql安装
安装mysql 并且在hive/lib文件中加入mysql链接驱动 建立数据库hive •create database hive •创建hive用户,并授权 •grant all on hive.* to hive@'%' identified by 'hive'; •flush privileges; 安装Hive原创 2014-03-18 17:29:58 · 1190 阅读 · 0 评论 -
hive 命令
导入hdfs数据load data inpath 'hdfs://master:54310/user/root/cite.txt' overwrite into table cite; 导入本地 oad data local inpath '/usr/local/hadoop/hive/cite.txt' overwrite into table cite; // 这个是本地文档。。在服原创 2014-03-19 21:26:12 · 628 阅读 · 0 评论