YARN-392. Make it possible to specify hard locality constraints in resource requests. (sandyr via tucu)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1488326 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5275. Bring back a couple of APIs in mapreduce.security.TokenCache for binary compatibility with 1.x mapreduce APIs. Contributed by Mayank Bansal.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1488369 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5231. Bring back a constructor in mapred's DBInputFormat.DBRecordReader for binary compatibility with 1.x mapred APIs. Contributed by Zhijie Shen.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1488436 13f79535-47bb-0310-9956-ffa450edef68
YARN-735. Make ApplicationAttemptId, ContainerId and NodeId immutable. Contributed by Jian He.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1488439 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5273. Bring back a couple of protected variables in mapred and mapreduce CombineFileRecordReader for binary compatibility with 1.x APIs. Contributed by Mayank Bansal.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1488442 13f79535-47bb-0310-9956-ffa450edef68
MAPREDUCE-5280. Bring back removed constructor and a method in mapreduce ClusterMetrics for binary compatibility with 1.x APIs. Contributed by Mayank Bansal.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1488458 13f79535-47bb-0310-9956-ffa450edef68
YARN-660. Improve AMRMClient with matching requests (bikas)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1488485 13f79535-47bb-0310-9956-ffa450edef68
YARN-117 service model
Tests for the service lifecycle adapted to handle the new ServiceStateException & the more rigorous state model.
FilterService moves to new model by relaying some more methods
CompositeService and associated test
remaining Service implementations in yarn-common
StopQuietly adds an override that logs it; uses this in the init() & start() entries to ensure that services that don't impl AbstractService still fail well
Add the {{Block}} class -and about to remove it-
add block notion to services
bringing hadoop-yarn-service and hadoop-mapreduce into the lifecycle (main classes first, not tests). Doing the least amount of changes
1. new entry points
2. fix up super calls to -> inner() methods.
3. review innerStop() code for best-effort shutdown irrespective of state
fix up all subclasses of AbstractService to compile with the new innerXYX throws Exception() calls.
Some review of innerStop() methods to make more robust against null values -but not a complete review
HADOOP-9447 Configuration to include name of failing file/resource when wrapping an XML parser exception
AMRMClient adopts new lifecycle methods
Service name passed to ServiceStateModel, and then used in exceptions