Changes between Version 6 and Version 7 of schedule
- Timestamp:
- 09/28/2012 04:52:21 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
schedule
v6 v7 19 19 * 提交后的任务(pending状态)参数是否还可以修改,比如优先级,reduce的数量 20 20 21 是否可以通过API 把JOB 对象拿到,类似下面的代码21 是否可以通过API拿Hadoop的信息,可以通过下面的代码 22 22 23 23 {{{ 24 JobConf jobConf = createBaseHadoopConf(context, actionXml); 25 jobClient = createJobClient(context, jobConf); 26 RunningJob runningJob = jobClient.getJob(JobID.forName(action.getExternalId())); 24 Configuration conf = new Configuration(); 25 String[] otherArgs = new GenericOptionsParser(conf, args).getRemainingArgs(); 26 JobClient jobClient = new JobClient(new JobConf(conf)); 27 JobQueueInfo[] queues = jobClient.getQueues(); 28 27 29 28 30 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)