Package org.apache.hadoop.thriftfs.jobtracker.api

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


            LOG.info("Unexpected priority in toThrift(JobPriority) - defaulting to NORMAL" );
            return ThriftJobPriority.NORMAL;
        }

        public static ThriftJobID toThrift(JobID jobId) {
            ThriftJobID ret = new ThriftJobID();
            ret.setJobID(jobId.getId());
            ret.setJobTrackerID(jobId.getJtIdentifier());
            ret.setAsString(jobId.toString());
            return ret;
        }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.thriftfs.jobtracker.api.ThriftJobID

Copyright © 2018 www.massapicom. 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.