programmingpig
programmingpig copied to clipboard
Data and example code for Programming Pig, by Alan F. Gates
I just tried the PageRank example from Chapter 9, but it gets stuck in the reduce phase of a process on the 5th iteration of the algorithm. Digging a little...
fix was to change `dividends = load 'NYSE_dividends' as (exchange, symbol, date, dividend);` to `dividends = load '../../data/NYSE_dividends' as (exchange, symbol, date, dividend);`
Had to explicitly import pig class to make this work (see https://pig.apache.org/docs/r0.9.0/cont.html#invocation-basics)