Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-20558

HiveView does not work on WASB ACLs cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.5.1
    • ambari-views
    • None

    Description

      org.apache.hadoop.fs.azure.AzureException: com.microsoft.azure.storage.StorageException: Encountered SASKeyGeneration exception while generating SAS Key for container : <container> inside Storage account : <account>
      at org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.createAzureStorageSession(AzureNativeFileSystemStore.java:1024)
      at org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.initialize(AzureNativeFileSystemStore.java:487)
      at org.apache.hadoop.fs.azure.NativeAzureFileSystem.initialize(NativeAzureFileSystem.java:1249)
      at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2795)
      at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:99)
      at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2829)
      at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2811)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:390)
      at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:179)
      at org.apache.ambari.view.utils.hdfs.HdfsApi$1.run(HdfsApi.java:73)
      at org.apache.ambari.view.utils.hdfs.HdfsApi$1.run(HdfsApi.java:71)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:422)
      at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866)
      at org.apache.ambari.view.utils.hdfs.HdfsApi.execute(HdfsApi.java:400)
      at org.apache.ambari.view.utils.hdfs.HdfsApi.<init>(HdfsApi.java:71)
      at org.apache.ambari.view.utils.hdfs.HdfsUtil.getHdfsApi(HdfsUtil.java:150)
      ... 104 more
      Caused by: com.microsoft.azure.storage.StorageException: Encountered SASKeyGeneration exception while generating SAS Key for container : ambhviewl-ams26 inside Storage account : humbtesting101.blob.core.windows.net
      at org.apache.hadoop.fs.azure.SecureStorageInterfaceImpl.getContainerReference(SecureStorageInterfaceImpl.java:143)
      at org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.connectToAzureStorageInSecureMode(AzureNativeFileSystemStore.java:848)
      at org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.createAzureStorageSession(AzureNativeFileSystemStore.java:989)
      ... 120 more
      Caused by: org.apache.hadoop.fs.azure.SASKeyGenerationException: Encountered IOException while building the HttpGetRequest to remote service
      at org.apache.hadoop.fs.azure.RemoteSASKeyGeneratorImpl.getContainerSASUri(RemoteSASKeyGeneratorImpl.java:185)
      at org.apache.hadoop.fs.azure.SecureStorageInterfaceImpl.getContainerReference(SecureStorageInterfaceImpl.java:135)
      ... 122 more
      Caused by: org.apache.hadoop.fs.azure.SASKeyGenerationException: RemoteSASKeyGenerationResponse object null from remote call
      at org.apache.hadoop.fs.azure.RemoteSASKeyGeneratorImpl.getSASKey(RemoteSASKeyGeneratorImpl.java:257)
      at org.apache.hadoop.fs.azure.RemoteSASKeyGeneratorImpl.getContainerSASUri(RemoteSASKeyGeneratorImpl.java:179)
      ... 123 more

      Attachments

        1. AMBARI-20558_branch-2.5.patch
          1 kB
          Gaurav Nagar

        Issue Links

          Activity

            People

              gnagar Gaurav Nagar
              gnagar Gaurav Nagar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: