Problem with Hadoop Streaming -file option for Java class files

2011-07-22 Thread Shrish
I am struggling with a issue in hadoop streaming in the "-file" option. First I tried the very basic example in streaming: hadoop@ubuntu:/usr/local/hadoop$ bin/hadoop jar contrib/streaming/hadoop-streaming-0.20.203.0.jar -mapper org.apache.hadoop.mapred.lib.IdentityMapper \ -reducer /bin/wc -in

Re: Problem with Hadoop Streaming -file option for Java class files

2011-07-22 Thread Robert Evans
>From a practical standpoint if you just leave off the -mapper you will get an >IdentityMapper being run in streaming. I don't believe that -mapper will >understand something.class as a class file that should be loaded and used as >the mapper. I think you need to specify the class, including t