|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapred.JobProfile
public class JobProfile
A JobProfile is a MapReduce primitive. Tracks a job, whether living or dead.
Constructor Summary | |
---|---|
JobProfile()
Construct an empty JobProfile . |
|
JobProfile(String user,
String jobid,
String jobFile,
String url,
String name)
Construct a JobProfile the userid, jobid,
job config-file, job-details url and job name. |
Method Summary | |
---|---|
String |
getJobFile()
Get the configuration file for the job. |
String |
getJobId()
Get the job id. |
String |
getJobName()
Get the user-specified job name. |
URL |
getURL()
Get the link to the web-ui for details of the job. |
String |
getUser()
Get the user id. |
void |
readFields(DataInput in)
Reads the fields of this object from in . |
void |
write(DataOutput out)
Writes the fields of this object to out . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobProfile()
JobProfile
.
public JobProfile(String user, String jobid, String jobFile, String url, String name)
JobProfile
the userid, jobid,
job config-file, job-details url and job name.
user
- userid of the person who submitted the job.jobid
- id of the job.jobFile
- job configuration file.url
- link to the web-ui for details of the job.name
- user-specified job name.Method Detail |
---|
public String getUser()
public String getJobId()
public String getJobFile()
public URL getURL()
public String getJobName()
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
IOException
public void readFields(DataInput in) throws IOException
Writable
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields
in interface Writable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |