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 "Yufei Gu (JIRA)" <ji...@apache.org> on 2018/04/14 00:34:00 UTC

[jira] [Updated] (YARN-8162) Remove Method DirectoryCollection#verifyDirUsingMkdir

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

Yufei Gu updated YARN-8162:
---------------------------
    Summary: Remove Method DirectoryCollection#verifyDirUsingMkdir  (was: Method DirectoryCollection#verifyDirUsingMkdir isn't needed anymore)

> Remove Method DirectoryCollection#verifyDirUsingMkdir
> -----------------------------------------------------
>
>                 Key: YARN-8162
>                 URL: https://issues.apache.org/jira/browse/YARN-8162
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.1.0
>            Reporter: Yufei Gu
>            Assignee: Yufei Gu
>            Priority: Major
>         Attachments: YARN-8162.001.patch
>
>
> First of all, DirectoryCollection#verifyDirUsingMkdir doesn't do what it claims to do, it creates a file but its Java doc says it create a dir. Because of that, it doesn't compatible with {{ReadWriteDiskValidator}} because the validator will throw an exception if it isn't dir. What's more, it is no longer needed after HADOOP-13738 (DiskChecker should perform some disk IO). It duplicates what HADOOP-13738 does. We should remove it. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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