|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(java.lang.String user,
JobID jobid,
java.lang.String jobFile,
java.lang.String url,
java.lang.String name)
Construct a JobProfile the userid, jobid,
job config-file, job-details url and job name. |
|
JobProfile(java.lang.String user,
JobID jobid,
java.lang.String jobFile,
java.lang.String url,
java.lang.String name,
java.lang.String queueName)
Construct a JobProfile the userid, jobid,
job config-file, job-details url and job name. |
|
JobProfile(java.lang.String user,
java.lang.String jobid,
java.lang.String jobFile,
java.lang.String url,
java.lang.String name)
Deprecated. use JobProfile(String, JobID, String, String, String) instead |
Method Summary | |
---|---|
java.lang.String |
getJobFile()
Get the configuration file for the job. |
java.lang.String |
getJobId()
Deprecated. use getJobID() instead |
JobID |
getJobID()
Get the job id. |
java.lang.String |
getJobName()
Get the user-specified job name. |
java.lang.String |
getQueueName()
Get the name of the queue to which the job is submitted. |
java.net.URL |
getURL()
Get the link to the web-ui for details of the job. |
java.lang.String |
getUser()
Get the user id. |
void |
readFields(java.io.DataInput in)
Deserialize the fields of this object from in . |
void |
write(java.io.DataOutput out)
Serialize 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(java.lang.String user, JobID jobid, java.lang.String jobFile, java.lang.String url, java.lang.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.public JobProfile(java.lang.String user, JobID jobid, java.lang.String jobFile, java.lang.String url, java.lang.String name, java.lang.String queueName)
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.queueName
- name of the queue to which the job is submitted@Deprecated public JobProfile(java.lang.String user, java.lang.String jobid, java.lang.String jobFile, java.lang.String url, java.lang.String name)
Method Detail |
---|
public java.lang.String getUser()
public JobID getJobID()
@Deprecated public java.lang.String getJobId()
public java.lang.String getJobFile()
public java.net.URL getURL()
public java.lang.String getJobName()
public java.lang.String getQueueName()
public void write(java.io.DataOutput out) throws java.io.IOException
Writable
out
.
write
in interface Writable
out
- DataOuput
to serialize this object into.
java.io.IOException
public void readFields(java.io.DataInput in) throws java.io.IOException
Writable
in
.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields
in interface Writable
in
- DataInput
to deseriablize this object from.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |