coderplay/dragon — pull request #35 by flyicewolf (2012-05-31 09:33:12+00:00)
Title: Add the ContainerAllocator service between RM and AM

1) Create ServiceProvider between ResourceManager and ApplicationMaster .
(ContainerAllocator.java
ContainerAllocatorEvent.java
ContainerFailedEvent.java
ContainerRequestEvent.java
RMCommunicator.java
RmContainerAllocator.java
RmContainerRequestor.java)
2) Refresh DragonAppMaster.java with using RMContainerAllocator to communicate RM.
3) Modify the JobState transfer procedure to JobState.NEW -> JobState.START -> JobState.RUNNING -> JobState.SUCCESSED.

Signed-off-by: Ji Jiannan