hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amar Kamat (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-4774) CapacityScheduler should work even if capacity-scheduler.xml is not in the classpath i.e with the code defaults
Date Mon, 15 Dec 2008 09:15:44 GMT

    [ 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.


Mime
View raw message