[
https://issues.apache.org/jira/browse/HDDS-7132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-7132:
---------------------------------
Labels: pull-request-available (was: )
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]