Skip to content

Commit

Permalink
streamis-job-launcher-base - refactor YarnAppVo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexkun committed Jun 20, 2023
1 parent 4bc3fc2 commit 1d08d39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class YarnAppVo {

private String applicationState;

private String appicationName;
private String applicationName;

private String yarnAppType;

Expand Down Expand Up @@ -48,12 +48,12 @@ public void setApplicationState(String applicationState) {
this.applicationState = applicationState;
}

public String getAppicationName() {
return appicationName;
public String getApplicationName() {
return applicationName;
}

public void setAppicationName(String appicationName) {
this.appicationName = appicationName;
public void setApplicationName(String applicationName) {
this.applicationName = applicationName;
}

public String getYarnAppType() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ object LinkisFlinkManagerJobClient extends Logging {
val rsList = JsonUtils.jackson.readValue(rsListStr, classOf[util.List[util.Map[String, String]]])
rsList.asScala.foreach(map => {
val tmpVo = new YarnAppVo()
tmpVo.setAppicationName(map.getOrDefault(ECConstants.YARN_APP_NAME_KEY, null))
tmpVo.setApplicationName(map.getOrDefault(ECConstants.YARN_APP_NAME_KEY, null))
tmpVo.setApplicationState(map.getOrDefault(ECConstants.NODE_STATUS_KEY, null))
tmpVo.setYarnAppType(map.getOrDefault(ECConstants.YARN_APP_TYPE_KEY, null))
tmpVo.setApplicationId(map.getOrDefault(ECConstants.YARN_APPID_NAME_KEY, null))
Expand Down

0 comments on commit 1d08d39

Please sign in to comment.