YARN-742. Log aggregation causes a lot of redundant setPermission calls. Contributed by Jason Lowe.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489596 13f79535-47bb-0310-9956-ffa450edef68
YARN-756. Remnants from moving Preemption* records to yarn.api where they really belong. Contributed by Jian He.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489614 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4840. ReplicationMonitor gets NPE during shutdown. Contributed by Kihwal Lee.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489634 13f79535-47bb-0310-9956-ffa450edef68
YARN-753. Added individual factory methods for all api protocol records and converted the records to be abstract classes. Contributed by Jian He.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489644 13f79535-47bb-0310-9956-ffa450edef68
YARN-724. Moved ProtoBase from api.records to api.records.impl.pb. Contributed by Jian He.
MAPREDUCE-5303. Changed MR app after moving ProtoBase to package impl.pb via YARN-724. Contributed by Jian He.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489658 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4815. TestRBWBlockInvalidation: Double call countReplicas() to fetch corruptReplicas and liveReplicas is not needed. Contributed by Tian Hong Wang.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489668 13f79535-47bb-0310-9956-ffa450edef68
HDFS-4876. Fix the javadoc of FileWithSnapshot and move FileDiffList to FileWithSnapshot.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1489708 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