hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joan <joan.monp...@gmail.com>
Subject How to set object in Configuration
Date Wed, 26 Jan 2011 10:43:43 GMT
Hi,

I'm trying set Object into Hadoop's configuration but I don't know how to.

I'm want to do:

org.apache.hadoop.conf.Configuration conf = new
org.apache.hadoop.conf.Configuration();

conf.set("txt",myObject);

But It doesn't exist method like: conf.set(String,Object)

Someone know how to set custom objet into hadoop configuration?

Thanks

Joan

Mime
View raw message