YARN-5474. Typo mistake in AMRMClient#getRegisteredTimeineClient API. Contributed by Naganarasimha G R.
This commit is contained in:
parent
b10c936020
commit
3cd386bd97
|
@ -473,7 +473,7 @@ public abstract class AMRMClient<T extends AMRMClient.ContainerRequest> extends
|
||||||
* Get registered timeline client.
|
* Get registered timeline client.
|
||||||
* @return the registered timeline client
|
* @return the registered timeline client
|
||||||
*/
|
*/
|
||||||
public TimelineClient getRegisteredTimeineClient() {
|
public TimelineClient getRegisteredTimelineClient() {
|
||||||
return this.timelineClient;
|
return this.timelineClient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -306,8 +306,8 @@ extends AbstractService {
|
||||||
* Get registered timeline client.
|
* Get registered timeline client.
|
||||||
* @return the registered timeline client
|
* @return the registered timeline client
|
||||||
*/
|
*/
|
||||||
public TimelineClient getRegisteredTimeineClient() {
|
public TimelineClient getRegisteredTimelineClient() {
|
||||||
return client.getRegisteredTimeineClient();
|
return client.getRegisteredTimelineClient();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -329,7 +329,7 @@ extends AMRMClientAsync<T> {
|
||||||
}
|
}
|
||||||
|
|
||||||
String collectorAddress = response.getCollectorAddr();
|
String collectorAddress = response.getCollectorAddr();
|
||||||
TimelineClient timelineClient = client.getRegisteredTimeineClient();
|
TimelineClient timelineClient = client.getRegisteredTimelineClient();
|
||||||
if (timelineClient != null && collectorAddress != null
|
if (timelineClient != null && collectorAddress != null
|
||||||
&& !collectorAddress.isEmpty()) {
|
&& !collectorAddress.isEmpty()) {
|
||||||
if (collectorAddr == null
|
if (collectorAddr == null
|
||||||
|
|
Loading…
Reference in New Issue