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.
|
||||
* @return the registered timeline client
|
||||
*/
|
||||
public TimelineClient getRegisteredTimeineClient() {
|
||||
public TimelineClient getRegisteredTimelineClient() {
|
||||
return this.timelineClient;
|
||||
}
|
||||
|
||||
|
|
|
@ -306,8 +306,8 @@ extends AbstractService {
|
|||
* Get registered timeline client.
|
||||
* @return the registered timeline client
|
||||
*/
|
||||
public TimelineClient getRegisteredTimeineClient() {
|
||||
return client.getRegisteredTimeineClient();
|
||||
public TimelineClient getRegisteredTimelineClient() {
|
||||
return client.getRegisteredTimelineClient();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -329,7 +329,7 @@ extends AMRMClientAsync<T> {
|
|||
}
|
||||
|
||||
String collectorAddress = response.getCollectorAddr();
|
||||
TimelineClient timelineClient = client.getRegisteredTimeineClient();
|
||||
TimelineClient timelineClient = client.getRegisteredTimelineClient();
|
||||
if (timelineClient != null && collectorAddress != null
|
||||
&& !collectorAddress.isEmpty()) {
|
||||
if (collectorAddr == null
|
||||
|
|
Loading…
Reference in New Issue