Patch ephemeral and persistent for hadoop 2.4.0