public class JobProfile
extends java.lang.Object
implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
write(java.io.DataOutput out) |
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)
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
write in interface org.apache.hadoop.io.Writablejava.io.IOExceptionpublic void readFields(java.io.DataInput in)
throws java.io.IOException
readFields in interface org.apache.hadoop.io.Writablejava.io.IOExceptionCopyright © 2009 The Apache Software Foundation