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

GetFileStatus returns NULL for some paths

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment