I am trying to set an object in Configuration
conf.set("test",myobject)
But it doesnt exist.
How to set an object in Configuration and retrieve the same object value in Mapper?
You cannot directly set objects in hadoop configuration. You need to serialize the object, convert it into a string and then set it in the hadoop configuration object. Only then you can make it available for the mappers to use it.
This custom configuration was already discussed here.custom hadoop configuration