gpt4 book ai didi

com.dremio.provision.yarn.YarnController.getTwillService()方法的使用及代码示例

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

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

YarnController.getTwillService介绍

暂无

代码示例

代码示例来源:origin: dremio/dremio-oss

private TwillRunnerService getTwillService(Cluster cluster) {
 TwillRunnerService twillService = yarnController.getTwillService(cluster.getId());
 if (twillService == null) {
  // possibly DremioMaster restarted, start TwillRunner
  YarnConfiguration yarnConfig = new YarnConfiguration();
  updateYarnConfiguration(cluster, yarnConfig);
  yarnController.startTwillRunner(yarnConfig);
 }
 return yarnController.getTwillService(cluster.getId());
}

代码示例来源:origin: dremio/dremio-oss

when(controller.getTwillService(cluster.getId())).thenReturn(twillRunnerService);
when(twillController.getRunId()).thenReturn(runId);
when(resourceReport.getRunnableResources(DacDaemonYarnApplication.YARN_RUNNABLE_NAME)).thenReturn(resources);

代码示例来源:origin: dremio/dremio-oss

when(twillController.getRunId()).thenReturn(runId);
when(twillController.getResourceReport()).thenReturn(resourceReport);
when(controller.getTwillService(cluster.getId())).thenReturn(twillRunnerService);
when(twillRunnerService.lookup(DacDaemonYarnApplication.YARN_APPLICATION_NAME_DEFAULT, runId)).thenReturn(twillController);

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