Examples of ThriftJobStatus


Examples of org.apache.hadoop.thriftfs.jobtracker.api.ThriftJobStatus

                    return null; // signify unknown
            }
        }

        public static ThriftJobStatus toThrift(JobStatus job) {
            ThriftJobStatus ret = new ThriftJobStatus();
            ret.setCleanupProgress(job.cleanupProgress());
            ret.setMapProgress(job.mapProgress());
            ret.setReduceProgress(job.reduceProgress());
            ret.setPriority(toThrift(job.getJobPriority()));
            ret.setRunState(jobRunStateToThrift(job.getRunState()));
            ret.setSchedulingInfo(job.getSchedulingInfo());
            ret.setSetupProgress(job.setupProgress());
            ret.setStartTime(job.getStartTime());
            ret.setUser(job.getUsername());
            ret.setJobID(toThrift(job.getJobID()));
            return ret;
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.