Class LocalizationStatus
java.lang.Object
org.apache.hadoop.yarn.service.api.records.LocalizationStatus
- All Implemented Interfaces:
Serializable
The status of localization.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the destination file and returns the localization status.diagnostics(String diag) Sets the diagnostics and returns the localization status.Destination file.Diagnostics.org.apache.hadoop.yarn.api.records.LocalizationStategetState()Localization state.voidsetDestFile(String destFile) Sets the destination file.voidsetDiagnostics(String diag) Sets the diagnostics.voidsetState(org.apache.hadoop.yarn.api.records.LocalizationState localizationState) Sets the localization state.state(org.apache.hadoop.yarn.api.records.LocalizationState localizationState) Sets the localization state and returns the localization status.
-
Constructor Details
-
LocalizationStatus
public LocalizationStatus()
-
-
Method Details
-
getDestFile
Destination file. -
setDestFile
Sets the destination file.- Parameters:
destFile- destination file
-
destFile
Sets the destination file and returns the localization status.- Parameters:
fileName- destination file
-
getState
public org.apache.hadoop.yarn.api.records.LocalizationState getState()Localization state. -
setState
public void setState(org.apache.hadoop.yarn.api.records.LocalizationState localizationState) Sets the localization state.- Parameters:
localizationState- localization state
-
state
public LocalizationStatus state(org.apache.hadoop.yarn.api.records.LocalizationState localizationState) Sets the localization state and returns the localization status.- Parameters:
localizationState- localization state
-
getDiagnostics
Diagnostics. -
setDiagnostics
Sets the diagnostics.- Parameters:
diag- diagnostics
-
diagnostics
Sets the diagnostics and returns the localization status.- Parameters:
diag- diagnostics
-