1 2 3 | String Input_Parameter_Value = "Value_send_to_Mapper" ; Configuration conf = HBaseConfiguration.create(); conf.set( "Input_Parameter_Name" ,Input_Parameter_Value); |
In Mapper, I access this value in setup function
1 2 | String value = context.getConfiguration().get( "Input_Parameter_Name" ); System.out.print( "Value: " +value); |
No comments:
Post a Comment