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

ASF GitHub Bot updated HADOOP-7856:
-----------------------------------
    Labels: newbie pull-request-available  (was: newbie)

> Improve DiskChecker javadocs
> ----------------------------
>
>                 Key: HADOOP-7856
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7856
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>            Reporter: Eli Collins
>            Priority: Major
>              Labels: newbie, pull-request-available
>
> The javadocs for DiskChecker#checkDir(File dir) trail off, look like they 
> weren't completed, should be. 
> While checkDir(File) uses java File to check if a dir actually is writable, 
> the version of checkDir that takes an FsPermission uses FsAction#implies 
> which doesn't actually check if a dir is writable (eg it passes on a 
> read-only file system). So switching from one version to the other can cause 
> unexpected bugs. Let's call this out explicitly in the javadocs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to