[ 
https://issues.apache.org/jira/browse/MAPREDUCE-1695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12859687#action_12859687
 ] 

Hong Tang commented on MAPREDUCE-1695:
--------------------------------------

bq. That said, looking at the latest changes, I did not quite follow why you 
introduced a new static refreshQueues method.
Probably a matter of taste. I hate to replicate the pattern of "synchronized 
(taskscheduler) { queueManager.refreshQueues(...); }" and thus introduced this 
helper method. But since all other usages are in one test case 
TestRefreshOfQueues, I suppose I can move this method into that class instead 
to avoid having the test case depend on a non-public method in JobTracker.

bq. Do you think it makes sense to document this rationale in the excludes file 
so there is context ? 
Sure, I can add the comments in the excludes file to that effect.

BTW, thanks for the prompt and detailed reviews.

> capacity scheduler is not included in findbugs/javadoc targets
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-1695
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1695
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/capacity-sched
>            Reporter: Hong Tang
>            Assignee: Hong Tang
>         Attachments: MAPREDUCE-1695-2.patch, mapreduce-1695-20100420-2.patch, 
> mapreduce-1695-20100420.patch, mapreduce-1695-20100421.patch, 
> MAPREDUCE-1695-3.patch, MAPREDUCE-1695.patch, 
> mr1695-hadoop-findbugs-report-1.html, mr1695-hadoop-findbugs-report-2.html
>
>
> Capacity Scheduler is not included in findbugs/javadoc targets.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to