Hog is an interactive development environment that was created to assist analysts and developers with Apache Pig script creation requiring minimal knowledge of the language. The web application that was constructed provides a resource for script generation, analyzing output as well as archiving scripts. Using the Simple environment, users have drag and drop capabilities to generate scripts. The Complex side of the application provides a development environment that lets developers create, save and analyze output of their scripts.
brew install pig
brew install apache piglatin
git clone hog
cd hog
You will need to install node_modules and bower_conponents (If prompted to choose a version choose the option that coorisponds to hog)
npm run build
gulp migrate
mv /path/to/hog/server/api/pig/pig.data.db.mig /path/to/hog/server/api/pig/pig.data.db
mv /path/to/hog/server/api/settings/settings.data.db.mig /path/to/hog/server/api/settings/settings.data.db
Move others as needed.
Open a second terminal
cd /path/to/hog
npm start
A tab in your browser will automatically open to 'localhost:9000' with the script running. We find the program runs best using a Chrome web browser.