hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-7301) Create stable Scheduler API
Date Mon, 09 Oct 2017 18:18:00 GMT
Robert Kanter created YARN-7301:

             Summary: Create stable Scheduler API
                 Key: YARN-7301
                 URL: https://issues.apache.org/jira/browse/YARN-7301
             Project: Hadoop YARN
          Issue Type: Bug
          Components: yarn
            Reporter: Robert Kanter

Currently, it's not practical for a user to create their own scheduler.  Besides it being
a large undertaking, the API is a mess.  A few of the problems:
# We make incompatible changes to {{YarnScheduler}} sometimes (see YARN-7138).
# Many methods in {{YarnScheduler}} are marked as {{\@Public}} {{\@Stable}}, but the class
itself has no annotations, which defaults to {{\@Private}}.
# We often cast a {{YarnScheduler}} to an {{AbstractYarnScheduler}}, which means that custom
schedulers must also subclass {{AbstractYarnScheduler}} or they'll get a {{ClassCastException}}.
 However, {{AbstractYarnScheduler}} is {{\@Private}} {{\@Unstable}}.

It could be useful to provide a proper usable API for custom schedulers.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org

View raw message