[oozie] Refactored redundant code
[oozie] Support for node move