Support Questions

Find answers, ask questions, and share your expertise
Celebrating as our community reaches 100,000 members! Thank you!

Access Azure Blob Storage from on premise Hadoop cluster

New Contributor

I am trying to access azure blob storage from on premise hadoop cluster

Following are the steps that we need to execute: (Reference URL: )

  1. Update core-site.xml with following parameter 




  <value>Access key</value>




  1. Restart the cluster
  2. Try to access azure container using following command
  3. hadoop fs -mkdir wasb:// testDir
  4. hdfs dfs -ls wasbs://

Here, we are stuck and getting following error

hadoop fs -mkdir wasb://

19/12/04 08:46:37 WARN impl.MetricsConfig: Cannot locate configuration: tried,

19/12/04 08:46:37 INFO impl.MetricsSystemImpl: Scheduled snapshot period at 10 second(s).

19/12/04 08:46:37 INFO impl.MetricsSystemImpl: azure-file-system metrics system started

mkdir: An unknown failure occurred : Connection timed out (Connection timed out)

19/12/04 09:03:25 INFO impl.MetricsSystemImpl: Stopping azure-file-system metrics system...

19/12/04 09:03:25 INFO impl.MetricsSystemImpl: azure-file-system metrics system stopped.

19/12/04 09:03:25 INFO impl.MetricsSystemImpl: azure-file-system metrics system shutdown complete.


I am able to hit REST apis after setting proxy. I even tried setting proxy for hadoop discp command.

as follow:

hadoop distcp -D"$DISTCP_PROXY_OPTS" -D"$DISTCP_PROXY_OPTS" -update -skipcrccheck -numListstatusThreads 40 hdfs://nameservice1/WMA/test-az.csv wasb://


But still facing the same issue.

How to resolve this time out issue?




Hi @redwuie .

you can do this activity with Azure HDInsight Cluster as below LInk:- is not on premise)


But as per my concern i tried a lot to do the same with on premise hadoop cluster but that not worked .


there is only single solution for that if you want to move data from Hadoop on premise cluster to Azure data lake or Blob then you have to use Azure Data Box.