hive> SET hive.execution.engine=mr;
Hive-on-MR is deprecated in Hive 2 and may not be available in the future versions. Consider using a different execution engine (i.e. tez, spark) or using Hive 1.X releases.
hive> SET hive.execution.engine=MR;
This warning seems to be generated only with small letter 'mr' wand not with capital letter "MR".
generateMrDeprecationWarning() seem to be displaying this warning and is being called in different classes.