Blog Archives

3. Apache Pig: XPath for XML

This extends the tutorial 1. Apache Pig Getting started and 2. Apache Pig: Regex (Regular expressions). Input Data scores.xml in folder:/Users/arulk/projects representing marks of 4 students in 3 subjects:

Step 1: Start pig in local file system mode.

Step 2: Extract the “Subjects” from the input XML file.

Read more ›

Posted in Apache Pig Tutorials

2. Apache Pig: Regex (Regular expressions)

This extends the tutorial 1. Apache Pig Getting started. Input Data scores.xml in folder:/Users/arulk/projects representing marks of 4 students in 3 subjects:

Step 1: Start pig in local file system mode.

Step 2: Extract the “Subjects” from the input XML file.

Dump the output:

Step

Read more ›

Posted in Apache Pig Tutorials

1. Apache Pig Getting started

Input Data scores.data in folder:/Users/arulk/projects representing marks of 4 students in 3 subjects:

Calculate the max mark for each subject. Step 1: Download Apache Pig from http://apache.mirror.digitalpacific.com.au/pig/ and extract the tar file.

Step 2: Set up PIG_HOME and add $PIG_HOME/bin to the path via .profile or .bashrc.

Read more ›

Posted in Apache Pig Tutorials

800+ Interview Q&As – ♥ Free | ♦ FAQs

open all | close all

Pressed for time? 200+ Quick Prep

open all | close all

16 Technical Key Areas to be a top-notch

open all | close all

100+ Java Tutorials – Step by step

open all | close all

100+ Java Coding Exercises

open all | close all

How good are your

open all | close all