Quantcast
Channel: AkbarAhmed.com » hadoop
Viewing all articles
Browse latest Browse all 10

Install Pig 0.9.2 for CDH4 on Ubuntu 12.04 LTS x64

$
0
0

Introduction

Installing Pig is drop dead simple.

Installation

sudo apt-get install pig

Check the Pig version.

pig --version

Setup the Environment

We’re going to set the environment variables system-wide for Pig programming.

sudo vi /etc/environment

Paste the following environment variables into the environment file.

HADOOP_MAPRED_HOME="/usr/lib/hadoop-mapreduce"
PIG_CONF_DIR="/etc/pig/conf"
source  /etc/environment

That’s it. You can now start to write and run pig jobs.



Viewing all articles
Browse latest Browse all 10

Trending Articles