-Re: Am i crazy? - question about hadoop streaming
Mark Kerzner 2011-09-15, 04:48
Thank you, Prashant, it seems so. I already verified this by refactoring the
code to use 0.20 API as well as 0.21 API in two different packages, and
streaming happily works with 0.20.
On Wed, Sep 14, 2011 at 11:46 PM, Prashant <[EMAIL PROTECTED]> wrote:
> On 09/15/2011 08:18 AM, Mark Kerzner wrote:
>> I am using the latest Cloudera distribution, and with that I am able to
>> the latest Hadoop API, which I believe is 0.21, for such things as
>> import org.apache.hadoop.mapreduce.**Reducer;
>> So I am using mapreduce, not mapred, and everything works fine.
>> However, in a small streaming job, trying it out with Java classes first,
>> get this error
>> Exception in thread "main" java.lang.RuntimeException: class mypackage.Map
>> not org.apache.hadoop.mapred.**Mapper -- which it really is not, it is a
>> So it seems that Cloudera backports some of the advances but for streaming
>> it is still the old API.
>> So it is me or the world?
>> Thank you,
>> The world!