Modified pom
YarnRemoteException -> YarnException
AMRMProtocol -> ApplicationMasterProtocol
AMResponse -> AllocateResponse
ClientRMProtocol -> ApplicationClientProtocol
Clock: new package location
AbstractService: new package location
SystemClock: new package location
YarnException: new pakcage location
CompositeService: new package location
ContainerManager->ContainerManagementProtocol
AbstractService: new package location
Container.setState: commented off
ResourceRequest: setHostName->newInstance
AllocateRequest: setters->newInstance
Commented off log4j function
Handle IOException
RPC -> HadoopYarnProtoRPC
Handle IOException
Hardcode those not appeared in new ApplicationConstants.

Sure to result in disaster.