
{"id":7215,"date":"2021-03-15T17:40:35","date_gmt":"2021-03-15T17:40:35","guid":{"rendered":"https:\/\/rax-stg-wp-aws.com\/blogs\/sql-polybase-setup-issues\/"},"modified":"2026-11-03T19:28:14","modified_gmt":"2026-11-03T19:28:14","slug":"sql-polybase-setup-issues","status":"publish","type":"blogs","link":"https:\/\/www.rackspace.com\/de\/blogs\/sql-polybase-setup-issues\/","title":{"rendered":"SQL PolyBase setup issues"},"content":{"rendered":"<p>In my most recent blog post,&nbsp;<a href=\"https:\/\/docs.rackspace.com\/blog\/unified-data-platform-and-data-virtualization-through-polybase-part-two\/\">Unified data platform and data virtualization through PolyBase: Part Two<\/a>&nbsp;I provided a demo of data virtualization through PolyBase,<\/p>\n<p>While setting up the SQL PolyBase demo to fetch data from external sources, I faced a couple of issues. Although I fixed the issues quickly, I thought it would be good to consolidate and present them in one place so anyone having the same problems can benefit. So, let&#8217;s get<br \/>\nstarted.<\/p>\n<p><strong>First issue<\/strong><\/p>\n<p><strong>ERROR: You can install PolyBase on only one SQL Server instance per machine.<\/strong><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26314-body-Picture1_40.png\" alt=\"Polybase pic 1\" \/><\/p>\n<p><em>Figure 1 &#8211; First issue, error<\/em><\/p>\n<p><strong>Cause<\/strong><\/p>\n<p>This error is self-explanatory. Instances can&#8217;t share PolyBase, and more than one instance on a machine can&#8217;t have it simultaneously. In my case, I already installed SQL Polybase on another instance, so the error occurred.<\/p>\n<p><strong>Resolution<\/strong><\/p>\n<p>I had to remove Polybase from the instance where I previously installed it. &nbsp;After that, I re-ran the SQL setup and selected to install the PolyBase feature for the new instance, and it went fine.<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26314-body-Picture2_34.png\" alt=\"Polybase pic 2\" \/><\/p>\n<p><em>Figure 2 &#8211; First issue, resolved<\/em><\/p>\n<p><strong>Second issue&nbsp;<\/strong><\/p>\n<p><strong>ERROR : Support for external data source of type HADOOP is not enabled. To enable, set &#8216;<em>hadoop connectivity<\/em>&#8216; to desired value.<\/strong><\/p>\n<p>The error occurred when I created the external data source of <strong>TYPE = HADOOP.<\/strong><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26314-body-Picture3_35.png\" alt=\"Polybase pic 3\" \/><\/p>\n<p><em>&nbsp;Figure 3 &#8211; Second issue, error<\/em><\/p>\n<p><strong>Cause<\/strong><\/p>\n<p>The system throws this error in two cases:&nbsp;<\/p>\n<ol>\n<li>You did not set the SQL Server parameter <strong>Hadoop_connectivity<\/strong>&nbsp;to the desired value.&nbsp;<\/li>\n<li>You set the parameter correctly, but you did not restart the SQL service after setting&nbsp;the parameter. This step is necessary even though the documentation doesn&#8217;t mention it.<\/li>\n<\/ol>\n<p>You can use the following query to set the parameter value:<\/p>\n<p><em>&nbsp; &nbsp;EXEC sp_configure @configname = &#8216;hadoop connectivity&#8217;, @configvalue = 7;<br \/>\n&nbsp; &nbsp; Go<br \/>\n&nbsp; &nbsp; Reconfigure<\/em><\/p>\n<p><strong>Resolution<\/strong><\/p>\n<p>I checked for the parameter value on my instance, and I set it up correctly, as shown in the following image:<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26314-body-Picture4_29.png\" alt=\"polybase pic 4\" \/><\/p>\n<p><em>Figure 4<\/em><\/p>\n<p>Though the need to restart SQL services wasn&#8217;t documented, a restart fixed the issue for me. I re-ran the <strong>Create External Data Source<\/strong>&nbsp;query in Step 3 of the&nbsp;<a href=\"https:\/\/docs.rackspace.com\/blog\/unified-data-platform-and-data-virtualization-through-polybase-part-two\/\">PolyBase demo post<\/a>&nbsp;and it went fine.&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/26314-body-Picture5_25.png\" alt=\"polybase pic 5\" \/><\/p>\n<p><em>Figure 5 &#8211; Second issue, resolved&nbsp;<\/em><\/p>\n<p><strong>Third issue<\/strong><\/p>\n<p><strong>ERROR: Incorrect syntax near EXTERNAL<\/strong><\/p>\n<p>The error occurred when I ran the following query to create the external file format:<\/p>\n<p><em>&nbsp; &nbsp; CREATE EXTERNAL FILE FORMAT TextFileFormat WITH (<br \/>\n&nbsp; &nbsp; FORMAT_TYPE = DELIMITEDTEXT,<br \/>\n&nbsp; &nbsp; FORMAT_OPTIONS (FIELD_TERMINATOR =&#8217;,&#8217;,USE_TYPE_DEFAULT = TRUE))<\/em><\/p>\n<p><strong>Cause<\/strong><\/p>\n<p>This error is misleading because it looks like a syntactical error. However, it occurs when you don&#8217;t enable the PolyBase feature properly.<\/p>\n<p><strong>Resolution<\/strong><\/p>\n<p>I ran the following query to fix the issue:<\/p>\n<p>&nbsp; &nbsp; <em>EXEC sp_configure &#8216;polybase enabled&#8217;, 1;<br \/>\n&nbsp; &nbsp; Go<br \/>\n&nbsp; &nbsp; Reconfigure<\/em><\/p>\n<p>\nYou must run the <em>Reconfigure<\/em>&nbsp;query. When you use <strong>sp_configure<\/strong>&nbsp;to change a system configuration, you must run a <em>Reconfigure<\/em> to finalize the change.<\/p>\n<p><strong>Conclusion<\/strong><\/p>\n<p>That does it for the errors I encountered in the PolyBase demo and their resolutions. Thanks for reading!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SQL PolyBase setup issues<\/p>\n","protected":false},"author":2,"featured_media":7217,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"content-type":"","nid":"26314","content_type":"blog","created_by":"10130","authored_on":"2023-11-29T18:40:35+00:00","field_article_industries":"","tag_category":"Technical","field_blog_author_text":"by Vashali Misra, SQL Server Database Administrator, Rackspace Technology","seo_description":"Find quick solutions to common SQL PolyBase demos for external data retrieval issues. Read more for easy troubleshooting.","field_featured_image":"","insights_image":"\/wp-content\/uploads\/2026\/blog_technical_images\/26314-insights_image-database-technical-blog-2-insights.jpg","field_partners":"","rxt_platforms":"Microsoft SQL","product":"Microsoft Azure, Microsoft Azure Stack","publisheddate":"2021-03-15T17:40:35","rxt_solutions":"Multicloud, Data, Databases","opengraph_tag":"","x_tag":"","teaser_flag":"Technical Blog","seo_titile":"Solve SQL PolyBase Setup Issues | Rackspace Technology","field_topics":"","field_slug":"sql-polybase-setup-issues","footnotes":""},"categories":[178],"tags":[204],"class_list":["post-7215","blogs","type-blogs","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-technical"],"_links":{"self":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/7215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs"}],"about":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/types\/blogs"}],"author":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/comments?post=7215"}],"version-history":[{"count":2,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/7215\/revisions"}],"predecessor-version":[{"id":9163,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/7215\/revisions\/9163"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/media\/7217"}],"wp:attachment":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/media?parent=7215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/categories?post=7215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/tags?post=7215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}