use of com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.base.parameter.stack.YarnStackV4Parameters in project cloudbreak by hortonworks.
the class DistroXParameterConverter method convert.
public YarnStackV4Parameters convert(YarnDistroXV1Parameters source) {
YarnStackV4Parameters response = new YarnStackV4Parameters();
response.setYarnQueue(source.getYarnQueue());
response.setLifetime(source.getLifetime());
return response;
}
use of com.sequenceiq.cloudbreak.api.endpoint.v4.stacks.base.parameter.stack.YarnStackV4Parameters in project cloudbreak by hortonworks.
the class DistroXParameterConverter method convert.
public YarnStackV4Parameters convert(EnvironmentNetworkYarnParams environmentNetworkYarnParams) {
YarnStackV4Parameters response = new YarnStackV4Parameters();
response.setYarnQueue(environmentNetworkYarnParams.getQueue());
response.setLifetime(environmentNetworkYarnParams.getLifetime());
return response;
}
Aggregations