You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2013/08/16 23:41:47 UTC

[jira] [Updated] (YARN-1075) AsyncDispatcher and ResourceTrackerService violate serviceStart() semantics

     [ https://issues.apache.org/jira/browse/YARN-1075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karthik Kambatla updated YARN-1075:
-----------------------------------

    Summary: AsyncDispatcher and ResourceTrackerService violate serviceStart() semantics  (was: Certain services violate serviceStart() semantics)
    
> AsyncDispatcher and ResourceTrackerService violate serviceStart() semantics
> ---------------------------------------------------------------------------
>
>                 Key: YARN-1075
>                 URL: https://issues.apache.org/jira/browse/YARN-1075
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.1.0-beta
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: yarn-1075-1.patch
>
>
> IIUC, the serviceStart() implementation of services should start local threads/services first before calling super.serviceStart(). Certain services have this reversed as below - leading to possibilities where the service would be in state STARTED, but in reality might not have started yet.
> {code}
> void serviceStart() {
>   super.serviceStart()
>   // service sepecific logic and start operations
> }
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira