set mapper output key class and mapper output val class appropriately