Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-7132

GetFileStatus returns NULL for some paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ayushtkn Ayush Saxena
              ayushtkn Ayush Saxena
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: