When attempting to run a Custom SQL query to Hadoop Hive, the connection appears to be made, but data won't load into Tableau Desktop/Prep. Instead, the following error occurs:
On Tableau Desktop:
"[Hortonworks][Hardy] (71) Failed to establish connection with unknown error."
On Tableau Prep:
"system error" or "[Hortonworks][Hardy] (71) Failed to establish connection with unknown error."
When bringing large dataset to Tableau Desktop/Prep, the Custom SQL reaches the limit of the query capacity.
Troubleshoot and determine if it's a Custom SQL issue by checking:
LIMIT 100" at the end of Custom SQL. WHERE" clauses
If one of the steps above resolves the issue, you can use the following options:
Option 1: Use materialized view.
A materialized view is a “SELECT query” with "JOIN, WHERE" performed on the database and the end result set is stored as a table in the database. The materialized view can be kept in sync with database updates. Instead of performing multiple joins, Tableau connects directly to the materialized view, allowing the database to perform the bulk of the processing of the initial query.
Option 2: Optimize the Custom SQL.
WHERE" clauses. See: Filter Data from Data SourcesIf you still see the issue after applying a filter on Tableau Desktop, you may need to add more filters to reduce the data size.
Please note that this is NOT a connection issue and the above information should only be considered if the following conditions are met:
1. Tableau Desktop/Prep can connect to Hortonworks Hadoop Hive without an issue
2. It takes long time to run the Custom SQL outside of Tableau
001474358

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.