public class JobProgressTrackerClientNoOp extends Object implements JobProgressTrackerClient
| Constructor and Description | 
|---|
JobProgressTrackerClientNoOp()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
cleanup()
Close the connections if any 
 | 
void | 
init(GiraphConfiguration conf)
Initialize the client. 
 | 
void | 
logError(String logLine,
        byte[] exByteArray)
Call this when you want to log an error line and exception
 object from any mapper to command line
 KryoWritableWrapper.convertFromByteArray can be used to
 get exception object back 
 | 
void | 
logFailure(String reason)
Notify that job is failing 
 | 
void | 
logInfo(String logLine)
Call this when you want to log an info line from any mapper to command line 
 | 
void | 
mapperStarted()
Notify JobProgressTracker that mapper started 
 | 
void | 
sendMasterCounters(GiraphCountersThriftStruct giraphCounters)
Master should call this method after all supersteps are finished,
 and send the aggregated counters to the job client 
 | 
void | 
updateMasterProgress(MasterProgress masterProgress)
Master should call this method to update its progress 
 | 
void | 
updateProgress(WorkerProgress workerProgress)
Workers should call this method to update their progress 
 | 
public void cleanup()
JobProgressTrackerClientcleanup in interface JobProgressTrackerClientpublic void init(GiraphConfiguration conf)
JobProgressTrackerClientinit in interface JobProgressTrackerClientconf - Job configurationpublic void mapperStarted()
JobProgressTrackermapperStarted in interface JobProgressTrackerpublic void logInfo(String logLine)
JobProgressTrackerlogInfo in interface JobProgressTrackerlogLine - Line to logpublic void logError(String logLine, byte[] exByteArray)
JobProgressTrackerlogError in interface JobProgressTrackerlogLine - Line to logexByteArray - Exception byte arraypublic void logFailure(String reason)
JobProgressTrackerlogFailure in interface JobProgressTrackerreason - Reason for failurepublic void updateProgress(WorkerProgress workerProgress)
JobProgressTrackerupdateProgress in interface JobProgressTrackerworkerProgress - Progress of the workerpublic void updateMasterProgress(MasterProgress masterProgress)
JobProgressTrackerupdateMasterProgress in interface JobProgressTrackermasterProgress - Progress of the masterpublic void sendMasterCounters(GiraphCountersThriftStruct giraphCounters)
JobProgressTrackersendMasterCounters in interface JobProgressTrackergiraphCounters - Giraph-based countersCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.