hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wangxu <wan...@souchang.com>
Subject Re: about jobConf.set(String,Object)
Date Tue, 03 Apr 2007 16:03:53 GMT
I switched to use job.setObject(..,...),
but job.get get Null in return
wangxu wrote:
> I am using hadoop-0.10.1
> wangxu wrote:
>> Can I set an Object other than "String" Class in a job's context?
>> like I call
>>    job.set("test",new SomeOtherClass());
>> and get it from
>>    job.getObject("test");
>> ??
>>
>> I did so ,but always comes out the ClassCastException.
>> thanks.
>>
>>
>
>
>


Mime
View raw message