Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14552 Über-jira: WASB client phase II: performance and testing
  3. HADOOP-14609

NPE in AzureNativeFileSystemStore.checkContainer() if StorageException lacks an error code

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.9.0, 3.0.0-alpha4
    • fs/azure
    • None
    • Reviewed

    Description

      if something goes wrong in AzureNativeFileSystemStore.checkContainer() the StorageException error code is checked.

      if (ex.getErrorCode().equals(StorageErrorCode.RESOURCE_NOT_FOUND.toString())) {
       ...
      }
      

      But if there's no error code: NPE.

      Attachments

        1. HADOOP-14609-001.patch
          5 kB
          Steve Loughran

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: