wordcount-input.txt for wordcount.pig?



0

Where do i find wordcount-input.txt?  It is being used by wordcount.pig script.

pig /home/cloudera/class5/wordcount.pig

lines = LOAD '/user/cloudera/class3/wc-input/wordcount-input.txt' AS (line:chararray);
 

 

 


1 Answer(s)


0

Hi Sohail, You may use any text file as input. I used the data1.txt, present in Module 4 folder.

Regards, Sri