Skip to content

romainr/PigEditor

Repository files navigation

PigEditor


Note
====
The project has been moved to Hue, which now offers a Web editor for editing and submitting Pig scripts: http://gethue.com
The new editor has more functionalities and I recommend it instead of the Eclipse plugin.

Hue is open source and also offers many more other editors and makes Hadoop easier to use. Feel free to email https://groups.google.com/a/cloudera.org/group/hue-user/ for any questions.



Webpage: http://romainr.github.com/PigEditor/

Eclipse update site: http://romainr.github.com/PigEditor/updates/ (shows 404 but works when adding it as a repository in Eclipse)

Goal: I have been using the nice lightweight Pig Eclipse plugin on http://wiki.apache.org/pig/PigTools 
(and not so much the "heavy weight" PigPen) but was wondering if it was possible to do something 
more similar to what Eclipse is doing with Java:

   * automatic error highlighting 
   * check alias name existence 
   * auto complete 
   * outline 
   * ...
 
There is still a lot to improve and there might be some false positive errors highlighted
(trying to be in sync with Pig 0.10 without Macros and Python UDF for now), but feel free to send me your 
feedback/scripts/pull requests.

For using:
Eclipse 3.6 Helios with Xtext 2.2.1 (bottom line to check)
Eclipse 3.7 Indigo

For building:
Eclipse Helios 3.7 
Xtext 2.0+ http://www.eclipse.org/Xtext/

Most important file is the Xtext grammar in org.apache.pigeditor/src: org.apache.pigeditor.Pig.xtext
https://github.com/romainr/PigEditor/blob/master/org.apache.pigeditor/src/org/apache/pigeditor/Pig.xtext

Releases

No releases published

Packages

No packages published