YARN-5474. Typo mistake in AMRMClient#getRegisteredTimeineClient API. Contributed by Naganarasimha G R.

This commit is contained in:
Rohith Sharma K S 2016-08-09 22:28:20 +05:30
parent b10c936020
commit 3cd386bd97
3 changed files with 4 additions and 4 deletions

View File

@ -473,7 +473,7 @@ public void registerTimelineClient(TimelineClient client) {
* 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;
} }

View File

@ -306,8 +306,8 @@ public void registerTimelineClient(TimelineClient timelineClient) {
* 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();
} }
/** /**

View File

@ -329,7 +329,7 @@ public void run() {
} }
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