YARN-7153. Remove duplicated code in AMRMClientAsyncImpl.java. Contributed by Sen Zhao.

This commit is contained in:
Akira Ajisaka 2017-09-26 02:03:30 +09:00
parent 3a10367a17
commit e928ee583c
No known key found for this signature in database
GPG Key ID: C1EDBB9CA400FD50

View File

@ -142,11 +142,7 @@ protected void serviceStop() throws Exception {
handlerThread.interrupt();
super.serviceStop();
}
public void setHeartbeatInterval(int interval) {
heartbeatIntervalMs.set(interval);
}
public List<? extends Collection<T>> getMatchingRequests(
Priority priority,
String resourceName,