This looks like a debug statement.  Not sure why you'd output this line and then output line 80, if RETVAL is 0.  If you want to give the user the return value of the hadoop command, it would make more sense to make that part of the if statement below.