AzureException: Cannot access the container using anonymous credentials and cannot find the credentials found for them in the configuration

I am trying to use Hadoop Azure HDInsight. I enter the cluster using ssh and run the following

hadoop jar jar_name class_name wasb://container@storagename.core.windows.net/inputdir wasb://container@storagename.core.windows.net/outputdir 

But I get the following exception:

An exception in the stream "main" org.apache.hadoop.fs.azure.AzureException: org.apache.hadoop.fs.azure.AzureException: cannot access the xxx container in the yyy.core.windows.net account using anonymous accounts data, and no credentials found for them in the configuration.

I use azure cli, and I ran "azure login" before starting the aforementioned hadoop job.

Please let me know how I can fix this error.

Ubuntu 12.04 runs on these machines.

PS: Azure, , .

+4
2

EDIT: wasb://container@storageacctname.blob.core.windows.net/inputdir

, . , , , . !

+3

, , - .

.

1) wasb://@.blob.core.windows.net. "blob". 2) "/". , hdfs dfs -ls wasb://data2@dsparqstorage.core.windows.net/

0

Source: https://habr.com/ru/post/1614979/


All Articles