Hadoop Pig 安装
2013-11-25 15:32
225 查看
1 从http://pig.apache.org/ 下载安装包
2 解压
tar xvf pig-0.12.0.tar.gz
3 配置环境变量
export PIG_CLASSPATH=$HADOOP_INSTALL/conf/
export PATH=$PATH:/home/nathan/hadoop/pig-0.12.0/bin
4 Pig 分为2中运行模式
本地运行:
nathan@ubuntu:~$ pig -x local
2013-11-25 15:10:22,779 [main] INFO org.apache.pig.Main - Apache Pig version 0.12.0 (r1529718) compiled Oct 07 2013, 12:20:14
2013-11-25 15:10:22,780 [main] INFO org.apache.pig.Main - Logging error messages to: /home/nathan/pig_1385363422777.log
2013-11-25 15:10:22,803 [main] INFO org.apache.pig.impl.util.Utils - Default bootup file /home/nathan/.pigbootup not found
2013-11-25 15:10:23,028 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
grunt>
集群运行:
nathan@ubuntu:~$ pig
2 解压
tar xvf pig-0.12.0.tar.gz
3 配置环境变量
export PIG_CLASSPATH=$HADOOP_INSTALL/conf/
export PATH=$PATH:/home/nathan/hadoop/pig-0.12.0/bin
4 Pig 分为2中运行模式
本地运行:
nathan@ubuntu:~$ pig -x local
2013-11-25 15:10:22,779 [main] INFO org.apache.pig.Main - Apache Pig version 0.12.0 (r1529718) compiled Oct 07 2013, 12:20:14
2013-11-25 15:10:22,780 [main] INFO org.apache.pig.Main - Logging error messages to: /home/nathan/pig_1385363422777.log
2013-11-25 15:10:22,803 [main] INFO org.apache.pig.impl.util.Utils - Default bootup file /home/nathan/.pigbootup not found
2013-11-25 15:10:23,028 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: file:///
grunt>
集群运行:
nathan@ubuntu:~$ pig
相关文章推荐
- Hadoop入门进阶课程7--Pig介绍、安装与应用案例
- Hadoop入门进阶课程7--Pig介绍、安装与应用案例
- Hadoop入门进阶课程7--Pig介绍、安装与应用案例
- [hadoop系列]Pig的安装和简单演示样例
- Hadoop之Pig安装
- 基于hadoop2.6安装hive与pig的问题
- Alex 的 Hadoop 菜鸟教程: 第16课 Pig 安装使用教程
- Hadoop Pig简介、安装、试用
- Hadoop 2.2.0下Pig安装及Pig的基础使用
- Pig安装及简单使用(pig版本0.13.0,Hadoop版本2.5.0)
- Hadoop Pig简介、安装
- Hadoop Pig简介、安装、试用
- Pig-0.9.2的安装过程(Hadoop0.20.2)
- hadoop(十二) - pig安装与使用
- Hadoop-2.2.0、pig-0.13.0安装测试
- pig0.15+hadoop2.x安装 (注意版本匹配)
- hadoop-2.5.0,hbase,hive,pig,sqoop,zookeeper 集群安装
- [hadoop系列]Pig的安装和简单演示样例
- [hadoop系列]Pig的安装和简单示例
- PIG之 Hadoop 2.7.4 + pig-0.17.0 安装