Steps to reproduce
1. Create a empty Pig Script.
2. Click on "Execute" button
1. Execute button must be disabled for empty script.
2. Empty script is sent for execution. From log it took 8 second to run the script but UI is displaying more than 1 minute for the complete job.