public abstract class HadoopJob
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static long |
TIME_BETWEEN_CHECKS
Time between checking if a job has ended in the asynchronous version
|
| Constructor and Description |
|---|
HadoopJob() |
| Modifier and Type | Method and Description |
|---|---|
protected static int |
getCurrentJobStatus(RemoteConnectionManager ssh_manager,
java.lang.String stderr_path)
Returns the completed percentage of the map phase since it is the most time-consuming one
|
protected static boolean |
isJobFinished(RemoteConnectionManager ssh_manager,
java.lang.String pid)
Return true if the job is finished.
|
protected static final long TIME_BETWEEN_CHECKS
protected static int getCurrentJobStatus(RemoteConnectionManager ssh_manager, java.lang.String stderr_path)
ssh_manager - Connection manager able to check if the job has finishedstderr_path - Path to the stderr failprotected static boolean isJobFinished(RemoteConnectionManager ssh_manager, java.lang.String pid)
ssh_manager - Connection manager able to check if the job has finishedjob_pid - Pid of the job