Infosys Interview Question

Optimization techniques in spark ,How you fix the pipeline