hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yufei Gu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-8162) Remove Method DirectoryCollection#verifyDirUsingMkdir
Date Sat, 14 Apr 2018 00:34:00 GMT

     [ 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


Mime
View raw message