
pig/hive
qq_26182553
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Pig简介和安装
Pig和Hive对比Apache PigHiveApache Pig uses a language called Pig Latin. It was originally created atYahoo.Hive uses a language called HiveQL. It was originally created at Facebook.Pig Latin原创 2017-07-13 11:35:06 · 459 阅读 · 0 评论 -
Hive基本操作
1. create table hive> CREATE TABLE IF NOT EXISTS employee ( eid int, name String,salary String, destination String)COMMENT ‘Employee details’ROW FORMAT DELIMITEDFIELDS TERMINATED BY ‘\t’LI原创 2017-07-13 11:33:09 · 242 阅读 · 0 评论 -
安装Hive
1. download apache-hive-2.1.0-bin.tar.gz, copy this file to /usr/localcd /usr/localtar -zxvf apache-hive-2.1.0-bin.tar.gzmv apache-hive-2.1.0-bin hive 2. config pathvi ~/.bashrcexport HI原创 2017-07-13 11:33:02 · 184 阅读 · 0 评论