public class LogVersions extends Object implements WorkerObserver, MasterObserver
| Constructor and Description |
|---|
LogVersions() |
| Modifier and Type | Method and Description |
|---|---|
void |
applicationFailed(Exception e)
If there is an error during the application.
|
ImmutableClassesGiraphConfiguration |
getConf()
Return the configuration used by this object.
|
void |
postApplication()
Finalize the observer.
|
void |
postSave()
Finalize the observer.
|
void |
postSuperstep(long superstep)
Execute the observer.
|
void |
preApplication()
Initialize the observer.
|
void |
preLoad()
Initialize the observer.
|
void |
preSuperstep(long superstep)
Execute the observer.
|
void |
setConf(ImmutableClassesGiraphConfiguration configuration)
Set the configuration to be used by this object.
|
void |
superstepMetricsUpdate(long superstep,
AggregatedMetrics aggregatedMetrics,
List<PartitionStats> partitionStatsList)
Called after each superstep with aggregated metrics from workers
|
public void applicationFailed(Exception e)
MasterObserverapplicationFailed in interface MasterObservere - Exception that caused failure. May be null.public void setConf(ImmutableClassesGiraphConfiguration configuration)
GiraphConfigurationSettablesetConf in interface GiraphConfigurationSettableconfiguration - Set configurationpublic ImmutableClassesGiraphConfiguration getConf()
ImmutableClassesGiraphConfigurablegetConf in interface ImmutableClassesGiraphConfigurablepublic void preLoad()
WorkerObserverpreLoad in interface WorkerObserverpublic void postSave()
WorkerObserverpostSave in interface WorkerObserverpublic void preApplication()
WorkerObserverpreApplication in interface MasterObserverpreApplication in interface WorkerObserverpublic void postApplication()
WorkerObserverpostApplication in interface MasterObserverpostApplication in interface WorkerObserverpublic void preSuperstep(long superstep)
WorkerObserverpreSuperstep in interface MasterObserverpreSuperstep in interface WorkerObserversuperstep - number of supersteppublic void postSuperstep(long superstep)
WorkerObserverpostSuperstep in interface MasterObserverpostSuperstep in interface WorkerObserversuperstep - number of supersteppublic void superstepMetricsUpdate(long superstep,
AggregatedMetrics aggregatedMetrics,
List<PartitionStats> partitionStatsList)
MasterObserversuperstepMetricsUpdate in interface MasterObserversuperstep - Supsertep numberaggregatedMetrics - MetricspartitionStatsList - List of partition statsCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.