Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

WASB access #624

Open
emlyn opened this issue Jul 6, 2018 · 3 comments
Open

WASB access #624

emlyn opened this issue Jul 6, 2018 · 3 comments

Comments

@emlyn
Copy link
Contributor

emlyn commented Jul 6, 2018

I've used the template in core-site.xml to access containers in Azure Storage before, but when I tried it again recently it didn't work. I found I had to replace the following section:

<property>
  <name>fs.AbstractFileSystem.wasb.Impl</name>
  <value>org.apache.hadoop.fs.azure.Wasb</value>
</property>

with this:

  <property>
    <name>fs.wasbs.impl</name>
    <value>org.apache.hadoop.fs.azure.NativeAzureFileSystem</value>
  </property>

I'm not sure if this is due to a change in Spark, Hadoop or something else. It might be worth adding this to the template and/or updating the docs.

@jafreck
Copy link
Member

jafreck commented Jul 12, 2018

Which version of Spark are you using?

@emlyn
Copy link
Contributor Author

emlyn commented Jul 12, 2018

I believe we're using Spark 2.3.1

@jpyrett
Copy link

jpyrett commented Feb 13, 2020

Agree with emlyn's solution. You must restart the cluster after changing local core-site.xml worked after that. Thanks emlyn. Yes, the docs need updated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants