<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Need instructions to setup WASB as storage for HDP on Azure IaaS in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95663#M8947</link>
    <description>&lt;P&gt;One thing to keep in mind is that SmartSense will collect core-site.xml so if you have WASB access keys, they will be collected, so to opt-out you need to disable the properties you don't want collected.&lt;/P&gt;</description>
    <pubDate>Sat, 24 Oct 2015 00:33:53 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2015-10-24T00:33:53Z</dc:date>
    <item>
      <title>Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95659#M8943</link>
      <description>&lt;P&gt;Some customers opt to set up HDP on Azure IaaS instead of HDInsight.  They may still need to persist data in the Azure Blob Store.  If you have setup HDP on Azure IaaS with WASB for storage please share your setup instructions and related best practices so all can benefit.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:44:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95659#M8943</guid>
      <dc:creator>vnair</dc:creator>
      <dc:date>2022-09-16T09:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95660#M8944</link>
      <description>&lt;P&gt;This &lt;A target="_blank" href="https://www.linkedin.com/pulse/azurelinux-vm-hdp-demo-neeraj-sabharwal?trk=mp-reader-card"&gt;blog&lt;/A&gt; talks about installing HDP in Azure (IaaS) + Configure WASB ( with screen shots)&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2015 03:30:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95660#M8944</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-10-18T03:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95661#M8945</link>
      <description>&lt;P&gt;The main thing that needs to be done to enable access to WASB is to configure the credentials.  This involves editing core-site.xml, and the instructions are documented in Apache here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://hadoop.apache.org/docs/r2.7.1/hadoop-azure/index.html"&gt;http://hadoop.apache.org/docs/r2.7.1/hadoop-azure/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After configuring the credentials, you'll be able to access WASB files by specifying URLs that use "wasb" as the scheme.  HDInsight clusters also make WASB the default file system by setting configuration property fs.defaultFS to a wasb URL.  The same Apache documentation shows usage examples for both cases.&lt;/P&gt;&lt;P&gt;Note that setting fs.defaultFS is only done if your intention is to replace HDFS fully as the default file system.  To my knowledge, this has only ever been done in HDInsight.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2015 03:33:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95661#M8945</guid>
      <dc:creator>cnauroth</dc:creator>
      <dc:date>2015-10-18T03:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95662#M8946</link>
      <description>&lt;P&gt;Here are some details on setting up WASB as the default filesystem (fs.defaultFS) using HDP 2.3.x on Azure IaaS:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Architecture Considerations&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Before using WASB as the defaultFS, it is important to understand the architectural impact this will have on the cluster. &lt;/P&gt;&lt;P&gt;&lt;EM&gt;What is WASB? + Pros&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Windows Azure Storage Blob (WASB) is an extension built on top of the HDFS APIs that interfaces with data stored within an Azure Blob Storage account. One of the key advantages of using WASB is that it creates a layer of abstraction that &lt;STRONG&gt;enables separation of storage from compute&lt;/STRONG&gt;. You can also add/remove/modify files in the Azure blob store without regard to the Hadoop cluster, as directory and file references are checked at runtime for each job. This allows you to better utilise the flexibility of a cloud deployment, as data can persist without the need for a cluster / compute nodes. You have the following deployment options when using WASB:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;HDFS as defaultFS - Deploy a HDFS cluster and configure an external WASB filesystem to interface with a separate Blob Storage account. In this scenario your default Hadoop data would still be stored on HDFS, and you would have some data stored in a Blob Storage account that can be accessed when needed.&lt;/LI&gt;&lt;LI&gt;WASB as defaultFS - Deploy the cluster with WASB as the default filesystem to completely replace HDFS with WASB. In this scenario HDFS still technically exists but will be empty as all files / folders deployed with the cluster are stored in WASB (blob storage). Note, the steps below describe how to configure a cluster for this approach.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;In many ways you can interface with the WASB filesystem as you would with HDFS, by specifying the WASB URLs:&lt;/P&gt;&lt;PRE&gt;wasb://&amp;lt;containername&amp;gt;@&amp;lt;accountname&amp;gt;.blob.core.windows.net/&amp;lt;path&amp;gt;&lt;/PRE&gt;&lt;P&gt;For example, the following hadoop FileSystem Shell command to WASB would behave similar to the same call made to HDFS:&lt;/P&gt;&lt;PRE&gt;hadoop fs -ls wasb://&amp;lt;containername&amp;gt;@&amp;lt;accountname&amp;gt;.blob.core.windows.net/&lt;/PRE&gt;&lt;P&gt;However, it is important to note that WASB and HDFS are separate filesystems and WASB currently has some limitations that should be considered before implementing.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Current Limitations - As at October 2015&lt;/EM&gt; &lt;/P&gt;&lt;P&gt;The following limitations currently exist within the WASB filesystem:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;WebHDFS is not compatible with WASB
&lt;UL&gt;&lt;LI&gt;This limits the functionality within both Hue and Ambari Views (and any application that interfaces with the WebHDFS APIs)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Security permissions are persisted in WASB, but are not enforced.&lt;UL&gt;&lt;LI&gt;File owner and group are persisted for all directories and files, but &lt;STRONG&gt;the permission model is not enforced at the filesystem level&lt;/STRONG&gt; and all authorisation occurs at the level of the entire Azure Blob Storage account. &lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When deciding to use WASB as the defaultFS, it is recommended that you first review and assess your security and data access requirements and ensure you can meet them against the above limitations.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Installation + Configuration Steps&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Important: &lt;/EM&gt;There is a known bug in HDP 2.3.0 that prevents non HDFS filesystems (S3, WASB etc) being set as the default filesystem [&lt;A href="https://issues.apache.org/jira/browse/HADOOP-11618"&gt;HADOOP-11618&lt;/A&gt;, &lt;A href="https://issues.apache.org/jira/browse/HADOOP-12304"&gt;HADOOP-12304&lt;/A&gt;]. For the following steps to work, you will need to use either a patched version of HDP 2.3 or use HDP 2.3.2 or later.&lt;/P&gt;&lt;P&gt;To configure WASB as the default filesystem in-place of HDFS, the following Azure information is required:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Azure Storage Account URL&lt;/LI&gt;&lt;LI&gt;Container Name&lt;/LI&gt;&lt;LI&gt;Storage Access Key&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This information is used along with the Hadoop configurations within core-site.xml to configure WASB.&lt;/P&gt;&lt;P&gt;For a fresh install, follow the standard documentation for installing HDP via Ambari found &lt;A target="_blank" href="http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_Installing_HDP_AMB/content/ch_Deploy_and_Configure_a_HDP_Cluster.html"&gt;here&lt;/A&gt; until you get to &lt;EM&gt;Customize Services&lt;/EM&gt;, where you will need to configure your WASB properties. Also note that when using WASB as the defaultFS, you do not need to mount any additional data drives to the servers (as you would for a HDFS cluster).&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Customize Services &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The following is a list of configurations that should be modified to configure WASB:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;fs.defaultFS&lt;/EM&gt;
&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;wasb://&amp;lt;containername&amp;gt;@&amp;lt;accountname&amp;gt;.blob.core.windows.net&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;fs.AbstractFileSystem.wasb.impl&lt;/EM&gt;
&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;org.apache.hadoop.fs.azure.Wasb&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;fs.azure.account.key.&amp;lt;accountname&amp;gt;.blob.core.windows.net&lt;/EM&gt;
&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;&amp;lt;storage_access_key&amp;gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Even though WASB will be set as the fs.defaultFS, you still need to define DataNode directories for HDFS. As the intent here is to use WASB as the primary FS, you can set the HDFS datanode directories to the temporary &lt;EM&gt;/mnt/resource &lt;/EM&gt;mount point that is provided with Azure compute servers if you only plan to use HDFS for temporary job files.
&lt;EM&gt;DataNode Directories
&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;/mnt/resource/Hadoop/hdfs/data&lt;/PRE&gt;&lt;P&gt;Outside of these core-site.xml configurations, hive has the following requirements when working with blob storage on Azure:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Point archive and jar files to 'wasb://' instead of 'hdfs://' 
&lt;EM&gt;templeton.hive.archive
templeton.pig.archive
templeton.sqoop.archive
templeton.streaming.jar&lt;/EM&gt;
&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;wasb:///hdp/apps/${hdp.version}/hive/hive.tar.gz
wasb:///hdp/apps/${hdp.version}/pig/pig.tar.gz
wasb:///hdp/apps/${hdp.version}/sqoop/sqoop.tar.gz
wasb:///hdp/apps/${hdp.version}/mapreduce/hadoop-streaming.jar
&lt;/PRE&gt;&lt;UL&gt;&lt;LI&gt;Skip azure metrics in custom webhcat-site
When WASB is used, metrics collection is enabled by default. For webhcat server, this causes an unnecessary overhead that we can disable.
&lt;EM&gt;fs.azure.skip.metrics&lt;/EM&gt;
&lt;/LI&gt;&lt;/UL&gt;&lt;PRE&gt;true&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Further Reading&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A target="_blank" href="http://hadoop.apache.org/docs/r2.7.1/hadoop-azure/index.html"&gt;WASB - Apache Docs&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A target="_blank" href="http://blogs.msdn.com/b/cindygross/archive/2015/02/04/understanding-wasb-and-hadoop-storage-in-azure.aspx"&gt;MSDN Blog - Understanding WASB&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A target="_blank" href="http://blogs.msdn.com/b/cindygross/archive/2015/02/03/why-wasb-makes-hadoop-on-azure-so-very-cool.aspx"&gt;MSDN Blog - Why WASB&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:40:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95662#M8946</guid>
      <dc:creator>ldaluz</dc:creator>
      <dc:date>2015-10-19T20:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95663#M8947</link>
      <description>&lt;P&gt;One thing to keep in mind is that SmartSense will collect core-site.xml so if you have WASB access keys, they will be collected, so to opt-out you need to disable the properties you don't want collected.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2015 00:33:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95663#M8947</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-10-24T00:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95664#M8948</link>
      <description>&lt;P&gt;just went through it yesterday, &lt;A href="http://community.hortonworks.com/articles/2143/use-wasb-as-hdp-232-filesystem.html"&gt;steps here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2015 01:28:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95664#M8948</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2015-10-27T01:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95665#M8949</link>
      <description>&lt;P&gt;If you also want to look at the performance remember to put Storage Account in the same region than IaaS deployment. You need to remenber &lt;A target="_blank" href="https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/#storage-limits"&gt;Azure limits&lt;/A&gt; for the IaaS: do not put more than 2 DataNodes on the same Storage Account (for max IOPS limits).&lt;/P&gt;&lt;P&gt;Look also at &lt;A target="_blank" href="https://azure.microsoft.com/en-us/documentation/articles/data-lake-store-overview/"&gt;Azure Data Lake Store &lt;/A&gt;if you plan to use a storage for both IaaS and PaaS (HDInsight).&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 06:01:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95665#M8949</guid>
      <dc:creator>dorio</dc:creator>
      <dc:date>2015-12-10T06:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95666#M8950</link>
      <description>&lt;P&gt;How about use of DASH? Cloudbreak suggests DASH with WASB.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 01:38:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95666#M8950</guid>
      <dc:creator>sdutta</dc:creator>
      <dc:date>2016-02-04T01:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95667#M8951</link>
      <description>&lt;P&gt;Hi, does this support Transparent Data Encryption? How does the Disaster Recovery/Copy to another region Azure Blob storage work?&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2016 16:33:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95667#M8951</guid>
      <dc:creator>pawan_mathur</dc:creator>
      <dc:date>2016-05-11T16:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95668#M8952</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have set up the my cluster with the above configurations and everything is working fine except spark. I am receiving a lot of errors while starting spark-shell, after changing the storage from HDFS to WASB. The errors look like the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState': at org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$reflect(SparkSession.scala:983) at org.apache.spark.sql.SparkSession.sessionState$lzycompute(SparkSession.scala:110) at org.apache.spark.sql.SparkSession.sessionState(SparkSession.scala:109) at org.apache.spark.sql.SparkSession$Builder$anonfun$getOrCreate$5.apply(SparkSession.scala:878) at org.apache.spark.sql.SparkSession$Builder$anonfun$getOrCreate$5.apply(SparkSession.scala:878) at scala.collection.mutable.HashMap$anonfun$foreach$1.apply(HashMap.scala:99) at scala.collection.mutable.HashMap$anonfun$foreach$1.apply(HashMap.scala:99) at scala.collection.mutable.HashTable$class.foreachEntry(HashTable.scala:230) at scala.collection.mutable.HashMap.foreachEntry(HashMap.scala:40) at scala.collection.mutable.HashMap.foreach(HashMap.scala:99) at org.apache.spark.sql.SparkSession$Builder.getOrCreate(SparkSession.scala:878) at org.apache.spark.repl.Main$.createSparkSession(Main.scala:96) ... 47 elided Caused by: java.lang.reflect.InvocationTargetException: java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveExternalCatalog': at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.spark.sql.SparkSession$.org$apache$spark$sql$SparkSession$reflect(SparkSession.scala:980) ... 58 more Caused by: java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveExternalCatalog': at org.apache.spark.sql.internal.SharedState$.org$apache$spark$sql$internal$SharedState$reflect(SharedState.scala:176) at org.apache.spark.sql.internal.SharedState.&amp;lt;init&amp;gt;(SharedState.scala:86) at org.apache.spark.sql.SparkSession$anonfun$sharedState$1.apply(SparkSession.scala:101) at org.apache.spark.sql.SparkSession$anonfun$sharedState$1.apply(SparkSession.scala:101) at scala.Option.getOrElse(Option.scala:121) at org.apache.spark.sql.SparkSession.sharedState$lzycompute(SparkSession.scala:101) at org.apache.spark.sql.SparkSession.sharedState(SparkSession.scala:100) at org.apache.spark.sql.internal.SessionState.&amp;lt;init&amp;gt;(SessionState.scala:157) at org.apache.spark.sql.hive.HiveSessionState.&amp;lt;init&amp;gt;(HiveSessionState.scala:32) ... 63 more Caused by: java.lang.reflect.InvocationTargetException: java.lang.reflect.InvocationTargetException: java.lang.RuntimeException: org.apache.hadoop.fs.azure.AzureException: java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.spark.sql.internal.SharedState$.org$apache$spark$sql$internal$SharedState$reflect(SharedState.scala:173) ... 71 more Caused by: java.lang.reflect.InvocationTargetException: java.lang.RuntimeException: org.apache.hadoop.fs.azure.AzureException: java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.apache.spark.sql.hive.client.IsolatedClientLoader.createClient(IsolatedClientLoader.scala:264) at org.apache.spark.sql.hive.HiveUtils$.newClientForMetadata(HiveUtils.scala:358) at org.apache.spark.sql.hive.HiveUtils$.newClientForMetadata(HiveUtils.scala:262) at org.apache.spark.sql.hive.HiveExternalCatalog.&amp;lt;init&amp;gt;(HiveExternalCatalog.scala:65) ... 76 more Caused by: java.lang.RuntimeException: org.apache.hadoop.fs.azure.AzureException: java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details. at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:522) at org.apache.spark.sql.hive.client.HiveClientImpl.&amp;lt;init&amp;gt;(HiveClientImpl.scala:188) ... 84 more Caused by: org.apache.hadoop.fs.azure.AzureException: java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details. at org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.retrieveMetadata(AzureNativeFileSystemStore.java:2027) at org.apache.hadoop.fs.azure.NativeAzureFileSystem.getFileStatus(NativeAzureFileSystem.java:2081) at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1447) at org.apache.hadoop.fs.azure.NativeAzureFileSystem.conditionalRedoFolderRename(NativeAzureFileSystem.java:2137) at org.apache.hadoop.fs.azure.NativeAzureFileSystem.getFileStatus(NativeAzureFileSystem.java:2104) at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1447) at org.apache.hadoop.hive.ql.session.SessionState.createRootHDFSDir(SessionState.java:596) at org.apache.hadoop.hive.ql.session.SessionState.createSessionDirs(SessionState.java:554) at org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:508) ... 85 more Caused by: java.util.NoSuchElementException: An error occurred while enumerating the result, check the original exception for details. at com.microsoft.azure.storage.core.LazySegmentedIterator.hasNext(LazySegmentedIterator.java:113) at org.apache.hadoop.fs.azure.StorageInterfaceImpl$WrappingIterator.hasNext(StorageInterfaceImpl.java:130) at org.apache.hadoop.fs.azure.AzureNativeFileSystemStore.retrieveMetadata(AzureNativeFileSystemStore.java:2006) ... 93 more Caused by: com.microsoft.azure.storage.StorageException: The server encountered an unknown failure: OK at com.microsoft.azure.storage.StorageException.translateException(StorageException.java:101) at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:199) at com.microsoft.azure.storage.core.LazySegmentedIterator.hasNext(LazySegmentedIterator.java:109) ... 95 more Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration at org.apache.xerces.parsers.SAXParser.&amp;lt;init&amp;gt;(Unknown Source) at org.apache.xerces.parsers.SAXParser.&amp;lt;init&amp;gt;(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.&amp;lt;init&amp;gt;(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.&amp;lt;init&amp;gt;(Unknown Source) at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) at com.microsoft.azure.storage.core.Utility.getSAXParser(Utility.java:668) at com.microsoft.azure.storage.blob.BlobListHandler.getBlobList(BlobListHandler.java:72) at com.microsoft.azure.storage.blob.CloudBlobContainer$6.postProcessResponse(CloudBlobContainer.java:1284) at com.microsoft.azure.storage.blob.CloudBlobContainer$6.postProcessResponse(CloudBlobContainer.java:1248) at com.microsoft.azure.storage.core.ExecutionEngine.executeWithRetry(ExecutionEngine.java:146) ... 96 more &amp;lt;console&amp;gt;:14: error: not found: value spark import spark.implicits._ ^ &amp;lt;console&amp;gt;:14: error: not found: value spark import spark.sql&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Please help in resolving the issue and let me know if it is possible at all, for spark to function in the WASB storage environment. &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 20:56:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95668#M8952</guid>
      <dc:creator>subhankar_dey</dc:creator>
      <dc:date>2018-01-30T20:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need instructions to setup WASB as storage for HDP on Azure IaaS</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95669#M8953</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Could you please assist me in answering the following query of  mine:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/167906/we-are-unable-to-access-sparkspark2-when-we-change.html" target="_blank"&gt;https://community.hortonworks.com/questions/167906/we-are-unable-to-access-sparkspark2-when-we-change.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subhankar&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 21:03:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Need-instructions-to-setup-WASB-as-storage-for-HDP-on-Azure/m-p/95669#M8953</guid>
      <dc:creator>subhankar_dey</dc:creator>
      <dc:date>2018-01-30T21:03:05Z</dc:date>
    </item>
  </channel>
</rss>

