hive hadoop jar files conflicts for custom UDF/Serde

hive hadoop jar files conflicts for custom UDF/Serde

I have faced this problem very often and it take long time figure to resolve libraries conflicts.
As Hadoop Map reduce libraries gets preferences when you launch Mapreduce job or hive lanuch mapreduce job and suppose your custom library required latest version of jars whose older version is already present in Hadoop class path. Even you add your jars hive class path or auxiliary class path this issue still occur.
Steps to resolve such libraries conflicts.