Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Install Pig

Shulou Source: shulou.com Published: 2022-06-03 01:24:24 10月01日 Update

Installing Pig is a very simple task, except that downloading is a bit slow

1. Install hadoop 2.x

(slightly)

2. Install pig

Wget http://apache.dataguru.cn/pig/latest/pig-0.15.0.tar.gz

Tar zxvf pig-0.15.0.tar.gz-C / home/hadoop

Mv / home/hadoop/pig-0.15.0 / home/hadoop/pig

3. Environment configuration

Vim / etc/bashrc

Export PIG_INSTALL=/home/hadoop/pig

Export PATH=$PATH:$PIG_INSTALL/bin

4. Test

Pig-help

Tags: Environment install work test configure Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Docker Shulou Information OPPO Reno Xiaomi