Feb 24, 2016

Feb 18, 2016

How to work with Apache Pig Eval Functions?

How to work with Apache Pig Eval Functions? In this post I am focussing on the following Eval Functions. The examples shown are developed Pig v.0.15.0 as the latest binary available. Eval Functions Data: Department file: Employees file: ______________________________________________________________________________ EVAL...

Feb 17, 2016

Feb 15, 2016

Apache Pig Exercises: 22. List total sales per departmental store wise and consumer wise

In this post the sample Apache Pig script will display the total sales with respect to either departmental stores or with consumers. The examples and exercise scripts are created using Apache Pig current version r0.14.0. @ Test data structure and sample data: person,  dstore, spent A,...

Feb 13, 2016

Feb 6, 2016

Cannot locate pig-core-h2.jar. do 'ant -Dhadoopversion=23 jar', and try again

Error: While running Pig (in local mode from command line) if we may come across the following error" Cannot locate pig-core-h2.jar. do 'ant -Dhadoopversion=23 jar', and try again. Solution: Please make sure in your .bash_profile or .bashrc you have following environment variables:  export...