hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-468) Setting scheduling priority in hadoop-env.sh
Date Mon, 21 Aug 2006 19:32:15 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-468?page=comments#action_12429505 ] 
            
Doug Cutting commented on HADOOP-468:
-------------------------------------

I think this would be a useful feature to have.

Two nits with the patch: I think it will be easier to maintain if we set HADOOP_NICE_VALUE
to zero by default and then only have a single invocation of bin/hadoop in the script, now
with 'nice'.  Since that command line is rather central and likely to be further changed,
it's better to not have it replicated.  Also we should document the new environment variable
in the file header.

> Setting scheduling priority in hadoop-env.sh
> --------------------------------------------
>
>                 Key: HADOOP-468
>                 URL: http://issues.apache.org/jira/browse/HADOOP-468
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.5.0
>            Reporter: Vetle Roeim
>            Priority: Minor
>         Attachments: sched_priority.diff
>
>
> It is not possible to set the scheduling priority in the Hadoop configuration. Attached
is a patch for starting the Hadoop daemons through nice with the configured priority (can
be configured in conf/hadoop-env.sh, for instance).
> I would have included a patch for conf/hadoop-env.sh as well, but it seems to be ignored?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message