In my own parcel, I was trying to extend some client jar library into hadoop java classpath.
First, I extend my jar path to "HADOOP_CLASSPATH";
I found even my jar can be shown in "hadoop classpath", when running MR jobs, my jars can't be found;
Then, I manually put my jar into "/opt/cloudera/parcels/CDH-5.1.0-1.cdh5.1.0.p0.53/lib/hadoop-mapreduce"
it works. So I tried to extend jar path to "CDH_MR2_HOME" variable in my parcel.jason
Then I realized that for each service restart,
"CDH_MR2_HOME" variable was first setup by my parcel and then overriden by CDH parcel. It turned out that such enviornment variable path can't be extended in this way.
For MR2, is there any enviornment variables, that can be extended for MR jobs? especially using parcel?