Robert Kanter updated YARN-2122:

    Attachment: YARN-2122.patch

The new patch addresses Karthik's comments; except that it checks if 
(reloadThread != null) in serviceStart instead of allocFile (the idea being 
that it's more directly checking what could be null).

> In AllocationFileLoaderService, the reloadThread should be created in init() 
> and started in start()
> ---------------------------------------------------------------------------------------------------
>                 Key: YARN-2122
>                 URL: https://issues.apache.org/jira/browse/YARN-2122
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler
>    Affects Versions: 2.4.0
>            Reporter: Karthik Kambatla
>            Assignee: Robert Kanter
>         Attachments: YARN-2122.patch, YARN-2122.patch, YARN-2122.patch
> AllcoationFileLoaderService has this reloadThread that is currently created 
> and started in start(). Instead, it should be created in init() and started 
> in start().

This message was sent by Atlassian JIRA

Reply via email to