gpt4 book ai didi

org.apache.samza.job.yarn.YarnAppState类的使用及代码示例

转载 作者:知者 更新时间:2024-03-20 18:58:31 27 4
gpt4 key购买 nike

本文整理了Java中org.apache.samza.job.yarn.YarnAppState类的一些代码示例,展示了YarnAppState类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YarnAppState类的具体详情如下:
包路径:org.apache.samza.job.yarn.YarnAppState
类名称:YarnAppState

YarnAppState介绍

[英]YarnAppState encapsulates Yarn specific state variables that are Yarn specific. This class is useful for information to display in the UI. TODO: make these variables private, provide thread-safe accessors. Saving making changes to variables in YarnAppState because it is used by the UI, and changes to variable names, data structure etc. will require changes to the UI scaml templates too. This is tracked as a part of SAMZA-902
[中]YarnapState封装特定于纱线的状态变量。此类用于在UI中显示信息。TODO:使这些变量私有,提供线程安全的访问器。保存对YarnapState中变量的更改,因为它被UI使用,并且对变量名称、数据结构等的更改也需要对UI scaml模板进行更改。这是SAMZA-902的一部分

代码示例

代码示例来源:origin: org.apache.samza/samza-yarn

this.state = new YarnAppState(-1, containerId, nodeHostString, nodePort, nodeHttpPort);
log.info("Initialized YarnAppState: {}", state.toString());
this.service = new SamzaYarnAppMasterService(config, samzaAppState, this.state, registry, yarnConfiguration);

代码示例来源:origin: org.apache.samza/samza-yarn_2.11

this.state = new YarnAppState(-1, containerId, nodeHostString, nodePort, nodeHttpPort);
log.info("Initialized YarnAppState: {}", state.toString());
this.service = new SamzaYarnAppMasterService(config, samzaAppState, this.state, registry, yarnConfiguration);

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com