Home > Software > BIGDATA > HADOOP
Interview Questions   Tutorials   Discussions   Programs   Videos   Discussion   

HADOOP - How will you write a custom partitioner for a Hadoop job?




470
views
asked SRVMTrainings March 14, 2013 05:52 AM  

How will you write a custom partitioner for a Hadoop job?


           

1 Answers



 
answered By Digbijayee   0  
During Initialization the Hadoop Framework will create an instance of your custom partitioner, when hadoop's reflection utilities instatiate a class,they check to see if that class is configurable. If it is,setconf() is called immedietely after creation. The private configuration will be initialized before the first call to get partition.
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert