Pig Textmate Bundle

I have been working with Pig as a more productive layer against Hadoop. Definitely check it out if you need to use map reduce. Textmate is my primary editor so I made a little bundle for syntax highlighting and script running. I’ll add snippets in the future.

Check it out at the github project page

Pig is a language designed to process large datasets. The execution layer runs uses Hadoop’s MapReduce framework.

This textmate bundle gives you syntax highlighting and the ability to run Pig scripts from Textmate.

Install:

mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
git clone git://github.com/tc/pig-latin-tmbundle.git "PigLatin.tmbundle"
osascript -e 'tell app "TextMate" to reload bundles'

To run Pig scripts from Textmate:
Add the pig bin directory to your path env variable.
ex.

export PATH="/Users/tc/bin/pig-0.3.0/bin:$PATH"

Then, you can just press “Apple-R” to execute the active pig script in Textmate.

5 thoughts on “Pig Textmate Bundle

  1. Pingback: SNA Projects Blog : When Pigs Fly: Apache Pig, Open Source and Understanding Systems

  2. Pingback: When Pigs Fly: Apache Pig, Open Source and Understanding Systems | Weez.com

  3. Pingback: The LinkedIn Blog » Blog Archive LinkedIn, Apache Pig, and Open Source «

  4. Pingback: LinkedIn, Apache Pig, and Open Source | CITI Recruitment

  5. Alvin850

    May i say that bundles compositied of PIG-0.3.0. how is work of bigData .It's a script of Latin ISO. Can change it by Windows OS of NT worksation. What's metafile of PIG-0.3.0?

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s