Hadoop Streaming - running a jar file

2008-11-11 Thread Amit_Gupta
Hi I have a jar file which takes input from stdin and writes something on stdout. i.e. When I run java -jar A.jar < input It prints the required output. However, when I run it as a mapper in hadoop streaming using the command $HADOOP_HOME/bin/hadoop jar streaming.jar -input .. -output .

How to input a hdfs file inside a mapper?

2008-09-26 Thread Amit_Gupta
How can I get an Input stream on a file stored in HDFS inside a mapper or a reducer? thanks Amit -- View this message in context: http://www.nabble.com/How-to-input-a-hdfs-file-inside-a-mapper--tp19687785p19687785.html Sent from the Hadoop core-user mailing list archive at Nabble.com.