title: AzureException: Unable to access container using anonymous credentials, and no credentials found for them in the configuration
body: <p>I am trying to use Hadoop of Azure HDInsight. I am logging into the cluster by ssh and running the following</p>
  
  <pre><code>hadoop jar jar_name class_name wasb://container@storagename.core.windows.net/inputdir wasb://container@storagename.core.windows.net/outputdir 
  </code></pre>
  
  <p>But I get the following exception:</p>
  
  <blockquote>
    <p>Exception in thread "main" org.apache.hadoop.fs.azure.AzureException:
    org.apache.hadoop.fs.azure.AzureException: Unable to access container
    xxx in account yyy.core.windows.net using anonymous credentials, and
    no credentials found for them  in the configuration.</p>
  </blockquote>
  
  <p>I am using azure cli and I ran "azure login" before running the above mentioned hadoop job. </p>
  
  <p>Please let me know how I can fix this error.</p>
  
  <p>Ubuntu 12.04 runs on these machines.</p>
  
  <p>PS: posted this on Azure forums as well, but reposting it here to get broader audience. </p>