public class YarnWorkerResourceSpecFactory extends WorkerResourceSpecFactory
WorkerResourceSpecFactory
for Yarn deployments.Modifier and Type | Field and Description |
---|---|
static YarnWorkerResourceSpecFactory |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
WorkerResourceSpec |
createDefaultWorkerResourceSpec(Configuration configuration) |
workerResourceSpecFromConfigAndCpu
public static final YarnWorkerResourceSpecFactory INSTANCE
public WorkerResourceSpec createDefaultWorkerResourceSpec(Configuration configuration)
createDefaultWorkerResourceSpec
in class WorkerResourceSpecFactory
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.