[
https://issues.apache.org/jira/browse/MAPREDUCE-1711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860152#action_12860152
]
Hong Tang commented on MAPREDUCE-1711:
--------------------------------------
{noformat}
+ assertEquals(" Improper queue for " + job.getJobName() + " " ,
+ job.getConfiguration().get("mapred.job.queue.name"),
+ "q" + (Integer.valueOf(job.getJobName().substring(
+ job.getJobName().length() - 1))+1));
{noformat}
This code is fragile, why not using GridmixJob.getJobSeqId(job)?
> Gridmix should provide an option to submit jobs to the same queues as
> specified in the trace.
> ---------------------------------------------------------------------------------------------
>
> Key: MAPREDUCE-1711
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-1711
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: contrib/gridmix
> Reporter: Hong Tang
> Attachments: MR-1711-yhadoop-20-1xx-2.patch,
> MR-1711-yhadoop-20-1xx.patch, mr-1711-yhadoop-20.1xx-20100416.patch
>
>
> Gridmix should provide an option to submit jobs to the same queues as
> specified in the trace.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.