IPython-notebooks
IPython-notebooks copied to clipboard
Pig script not running?
Hello,
I followed the direction for the pig script and try to run it in ipython but it didn't output anything?
When I used
%%bash --err pig_out --bg pig -f preprocess1.pig
It did say that a job was starting in a separate thread but when I used
while True: ....: line = pig_out.readline() ....: if not line: ....: break ....: sys.stdout.write("%s" % line) ....: sys.stdout.flush()
I did not output anything and just get to a new In [] line? Is my script running at all?
Thanks for your help! I really need the feature matrices for my model.
Note I skipped the plotting because there was a errno 2 file not found with my hdfs.ls() . Not sure if that matters.