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

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

Ayush Saxena created HDDS-7132:
----------------------------------

             Summary: 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


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