List of usage examples for org.apache.hadoop.mapred JobProfile getUser
public String getUser()
From source file:org.apache.hive.hcatalog.templeton.QueueStatusBean.java
License:Apache License
/** * Create a new QueueStatusBean/* www . j ava2s . c o m*/ * * @param state store job state * @param status job status * @param profile job profile */ public QueueStatusBean(JobState state, JobStatus status, JobProfile profile) throws IOException { this.status = status; this.profile = profile; id = profile.getJobID().toString(); parentId = state.getParent(); percentComplete = state.getPercentComplete(); exitValue = state.getExitValue(); user = profile.getUser(); callback = state.getCallback(); completed = state.getCompleteStatus(); userargs = state.getUserArgs(); }