TEZ-1886. remove deprecation warnings for tez-ui on the console. (Prakash Ramachandran via hitesh)

(cherry picked from commit 174b11bb067231a27744ba05f791b61e90364103)