[ https://issues.apache.org/jira/browse/HADOOP-4774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656580#action_12656580 ]
Amar Kamat commented on HADOOP-4774: ------------------------------------ 2 minor comments. - _assertTrue()_ in the catch block is not needed. - typo : _miliseconds_ should be _milliseconds_. The main changes look fine to me. > CapacityScheduler should work even if capacity-scheduler.xml is not in the > classpath i.e with the code defaults > --------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-4774 > URL: https://issues.apache.org/jira/browse/HADOOP-4774 > Project: Hadoop Core > Issue Type: Bug > Components: contrib/capacity-sched > Reporter: Amar Kamat > Assignee: Sreekanth Ramakrishnan > Attachments: HADOOP-4774-1.patch, HADOOP-4774-2.patch > > > If I try running capacity-scheduler without having capacity-scheduler.xml in > my class path, the jobtracker fails with the following error > {code} > Invalid initializater poller interval -1 > {code} > I feel the problem lies with the default value assigned to it in the code. > The capacity-scheduler conf says the default is 5000. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.