[EDP] Improve Java type compatibility

Currently, EDP MapReduce (Java type) examples must add modifications
to be able to use from a java action in an Oozie workflow.

This bp aims that users can migrate from other Hadoop cluster to Sahara
without any modifications into their applications.

Change-Id: Iff6ff72439406b0cd454d6b1c5575f7b3e45a15c
Blueprint: edp-improve-compatibility
Merge "[EDP] Improve Java type compatibility"