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 void registerTimelineClient(TimelineClient client) {
|
||||
* Get registered timeline client.
|
||||
* @return the registered timeline client
|
||||
*/
|
||||
public TimelineClient getRegisteredTimeineClient() {
|
||||
public TimelineClient getRegisteredTimelineClient() {
|
||||
return this.timelineClient;
|
||||
}
|
||||
|
||||
|
@ -306,8 +306,8 @@ public void registerTimelineClient(TimelineClient timelineClient) {
|
||||
* 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 @@ public void run() {
|
||||
}
|
||||
|
||||
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
Block a user