public class YarnServiceUtils extends Object
Constructor and Description |
---|
YarnServiceUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addQuicklink(org.apache.hadoop.yarn.service.api.records.Service serviceSpec,
String label,
String link) |
static org.apache.hadoop.yarn.service.client.ServiceClient |
createServiceClient(org.apache.hadoop.conf.Configuration yarnConfiguration) |
static String |
getDNSName(String serviceName,
String componentInstanceName,
String userName,
String domain,
int port) |
static String |
getTFConfigEnv(String curCommponentName,
int nWorkers,
int nPs,
String serviceName,
String userName,
String domain) |
static void |
setStubServiceClient(org.apache.hadoop.yarn.service.client.ServiceClient stubServiceClient) |
public static org.apache.hadoop.yarn.service.client.ServiceClient createServiceClient(org.apache.hadoop.conf.Configuration yarnConfiguration)
public static void setStubServiceClient(org.apache.hadoop.yarn.service.client.ServiceClient stubServiceClient)
public static String getDNSName(String serviceName, String componentInstanceName, String userName, String domain, int port)
public static String getTFConfigEnv(String curCommponentName, int nWorkers, int nPs, String serviceName, String userName, String domain)
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.