hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Chiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5137) Make DiskChecker pluggable in NodeManager
Date Thu, 21 Jul 2016 19:13:20 GMT

    [ https://issues.apache.org/jira/browse/YARN-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15388239#comment-15388239

Ray Chiang commented on YARN-5137:

* In DirectoryCollection and ResourceLocalizationService, I recommend storing {{DiskValidatorFactory.getInstance(conf.get(YarnConfiguration.DISK_VALIDATOR))}}
as a member variable.  The value is static, so we might as well cache it.

* It might be worth adding a LOG.info() message at creation time to let the user know which
type of DiskValidator was loaded.

> Make DiskChecker pluggable in NodeManager
> -----------------------------------------
>                 Key: YARN-5137
>                 URL: https://issues.apache.org/jira/browse/YARN-5137
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>            Reporter: Ray Chiang
>            Assignee: Yufei Gu
>              Labels: supportability
>         Attachments: YARN-5137.001.patch, YARN-5137.002.patch, YARN-5137.003.patch
> It would be nice to have the option for a DiskChecker that has more sophisticated checking
capabilities.  In order to do this, we would first need DiskChecker to be pluggable.

This message was sent by Atlassian JIRA

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

View raw message