allocateRequest = Records.newRecord(AllocateRequest.class);
allocateRequest.setApplicationAttemptId(applicationAttemptId);
Assert.assertFalse(rmClient.allocate(allocateRequest).getAMResponse()
.getReboot());
} finally {
rm.stop();
}
}
private AMRMProtocol createRMClient(final MockRM rm,
final Configuration conf, final YarnRPC rpc,