Pig-0.9.2 pseudo distribution configuration in Ubuntu

Source: Internet
Author: User
Bytes ~ /. Bashrc and restart the terminal exportPIG_HOME =/home/ckl/ha

Http://mirror.bit.edu.cn/apache/pig/pig-0.9.2/pig-0.9.2.tar.gz

1. decompress the package to a directory. Here I am tar xzvf pig-0.9.2.tar.gz $ Hadoop_INSTALL/

2. Rename mv pig-0.9.2 pig

3. Configuration ~ /. Bashrc and restart the terminal

Export PIG_HOME =/home/ckl/hadoop-0.20.2/pig
Export PIG_CLASSPATH =/home/ckl/hadoop-0.20.2/conf
Export PATH = $ PATH: $ PIG_HOME/bin

4. Test the local mode.

Pig-x local

5. Input pig and ls

6. Pig command advanced http://www.linuxidc.com/Linux/2013-02/794562htm

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.