Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16617

ITestGetNameSpaceEnabled#testFailedRequestWhenFSNotExist fails with ns disabled account

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.1
    • None
    • fs/azure, test
    • None

    Description

      AzureBlobFileSystemStore#getIsNamespaceEnabled() gets ACL status of root path to decide whether the account is XNS or not. If not it returns with 400 as error code which means the account is a non-XNS acc.

      The problem is that we get 400 and the getIsNamespaceEnabled return false even if the filesystem does not exist which seems ok but according to the test we should get 404. So it seems the expected behavior is to return 404.

      At this point I am not sure how to fix it. Should we insist to the expected behavior and fix it on server side or we just adjust the test to expect false in case of non XNS account?

      Attachments

        Activity

          People

            boky01 Andras Bokor
            boky01 Andras Bokor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: