On 01/26/2011 05:43 AM, Joan wrote:
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
The object needs to be a String or something that is easily convertible to a String (e.g., integer). This is so it can be serialized and sent across the cluster.
DR
