You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2022/08/25 12:41:00 UTC

[jira] [Resolved] (HDDS-7132) GetFileStatus returns NULL for some paths

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

Attila Doroszlai resolved HDDS-7132.
------------------------------------
    Fix Version/s: 1.3.0
       Resolution: Fixed

> GetFileStatus returns NULL for some paths
> -----------------------------------------
>
>                 Key: HDDS-7132
>                 URL: https://issues.apache.org/jira/browse/HDDS-7132
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.3.0
>
>
> Explored while integrating with Hive.
> GetFileStatus by FS Javadoc, either returns the FileStatus or FNF if the path doesn't exist, or IOE in other cases.
> Hive checks whether the WH path exists and is a directory by calling getFileStatus(), on FNF it goes and creates the directory.
> But due to Ozone returning NULL, It leads to an NPE, and there is no way to find out the reason for NULL, but to debug.



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

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