Python code. The following actions: read the table and display it on the screen
import csv import sys input = sys.stdin for row in csv.reader(input): print row The table itself is located on hdfs, path: /user/username/table.csv .
I tried to configure the following:
<property> <name>mapred.input.dir</name> <value>/user/username/table.csv</value> </property> but in the log infinitely gives:
Heart beat Heart beat Heart beat Heart beat Question: how to set table.csv for input in oozie workflow?