Merge pull request #177 from arpitgupta/working

Add logs to oozie util, handle npe