yeah I actually just commented out the rest of the code that wasn't being used.  The jira references if fixed in hadoop 2.0.2-alpha but not in a 0.23 line.  I can look at pulling it into the 0.23 line if it applies.  Honestly I don't understand what the code is trying to do here. Do you know?  otherwise I'll talk to Mridul.  I don't know why it is linking the number of cores to a yarn config for the  minimum resource capability. This config is somewhat arbitrary as to what your cluster is configured just based on what the cluster admin wants the minimum memory increment to be.

For now I moved the comment up a bit and I'll look into it separately.