public class RegisterApplicationMasterResponseReflector$ extends Object
RegisterApplicationMasterResponse
.
Only Hadoop versions (>= 2.4.0) support
RegisterApplicationMasterResponse#getContainersFromPreviousAttempts
. Therefore, it's checked
at runtime whether the RegisterApplicationMasterResponse supports this method. If not, then an
empty Seq[Container] is returned upon calling getContainersFromPreviousAttempts.
Modifier and Type | Field and Description |
---|---|
static RegisterApplicationMasterResponseReflector$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
RegisterApplicationMasterResponseReflector$() |
Modifier and Type | Method and Description |
---|---|
scala.collection.Seq<org.apache.hadoop.yarn.api.records.Container> |
getContainersFromPreviousAttempts(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse response) |
grizzled.slf4j.Logger |
log() |
scala.Option<Method> |
methodOption() |
public static final RegisterApplicationMasterResponseReflector$ MODULE$
public RegisterApplicationMasterResponseReflector$()
public grizzled.slf4j.Logger log()
public scala.Option<Method> methodOption()
public scala.collection.Seq<org.apache.hadoop.yarn.api.records.Container> getContainersFromPreviousAttempts(org.apache.hadoop.yarn.api.protocolrecords.RegisterApplicationMasterResponse response)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.