I am creating External table on hive which is mapped to Azure Blob storage
CREATE EXTERNAL TABLE test(id bigint, name string, dob timestamp, salary decimal(14,4), line_number bigint) STORED AS PARQUET LOCATION 'wasb://(container)@(Stroage_Account).blob.core.windows.net/test'
getting below exception
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:Got exception: org.apache.hadoop.fs.azure.AzureException com.microsoft.azure.storage.StorageException: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.)
The Storage Account that i am using here is not primary storage account that is attached to hdinsight cluster
Could some one help me how to solve this issue?