hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mice <mice1...@gmail.com>
Subject Re: Customized InputFormat Problem
Date Tue, 11 Nov 2008 08:34:41 GMT
in your next(key,value) method:

replace
value=dbRecordAndOpList.get((int)offset);

with
value.set(....)

your value object is created by MapRunner and passed to your next(key
,value ) as an argument, which will be used later in your mapper. you
wont change the reference to an argument inside a method.

2008/11/11 Sharad Agarwal <sharadag@yahoo-inc.com>:
>
>
>> But when I run , It will throw the exception in DbRecordReader.next()
>> method, Although  I have Logged in it, I can't still see anything, and don't
>> know where I shoud to check, who can help me where I can get the real
>> excution status, so I can where the error is ! Thansks!
>>
>>
> Check the logs in the tasktracker node under userlogs. Also you can see
> the logs via jobtracker web ui.
>



-- 
http://www.hadoopchina.com

Mime
View raw message