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

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


            LOG.info("Unexpected phase in toThrift(Phase) - defaulting to CLEANUP" );
            return ThriftTaskPhase.CLEANUP;
        }

        public static ThriftJobQueueInfo toThrift(JobQueueInfo q) {
            ThriftJobQueueInfo tq = new ThriftJobQueueInfo();
            tq.queueName = q.getQueueName();
            tq.schedulingInfo = q.getSchedulingInfo();
            return tq;
        }
View Full Code Here


                ArrayList<ThriftJobQueueInfo> ret =
                    new ArrayList<ThriftJobQueueInfo>(queues.length);

                for (JobQueueInfo q : queues) {
                    ThriftJobQueueInfo tq = JTThriftUtils.toThrift(q);
                    ret.add(tq);
                }
                return new ThriftJobQueueList(ret);
              }
            });
View Full Code Here

TOP

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

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.