KNOWLEDGE BASE

Error "(34) Error from the Hive: SASL(-1): generic failure: ... The specified target is unknown or unreachable" Refreshing Hadoop Extract


Published: 09 Dec 2013
Last Modified Date: 09 Jan 2020

Issue

When viewing a dashboard with a live connection to HiveServer 2, or when refreshing a HiveServer 2 extract on Tableau Server, and when using Kerberos authentication for HiveServer 2, one of the following errors might occur:
 

On Cloudera

[Cloudera][Hardy] (46) Error occurred while initializing the Hive client

Or:

[Cloudera] (34) Error from the Hive: SASL(-1): generic failure: Failed to initialize security context: The specified target is unknown or unreachable

On Hortonworks

[Hortonworks][HiveODBC] (34) Error from the Hive: SASL(-1): generic failure: Failed to initialize security context: The specified target is unknown or unreachable
 

On Impala

[Cloudera][ImpalaODBC] (100) Error from the Impala Thrift API:SASL(-1): generic failure: Failed to initialize security context: The specified target is unknown or unreachable

Environment

  • Tableau Server
  • Tableau Desktop
  • MIT Kerberos Ticket Manager
  • Hadoop HiveServer2 (Cloudera or Hortonworks)
  • Cloudera Impala
Did this article resolve the issue?