Trying to Cancel Long Running Impala Queries Fails with "Error communicating with the Impala Daemon" (Doc ID 2154506.1)

Last updated on JUNE 30, 2016

Applies to:

Big Data Appliance Integrated Software - Version 2.5.0 and later
Linux x86-64

Symptoms

When attempting to cancel an Impala query through the Cloudera Manager Web Interface, an internal error is reported and the query is not canceled.

Note: Other issues such as SSL/TLS setup can also cause this message in the web UI.


In this case, clicking cancel on the query reports:

"internal error"

Clicking again reports:

"Error communicating with the Impala Daemon"

 

The cloudera-scm-server.log shows an error similar to the following immediately after attempting to cancel a query:

Caused by: java.lang.RuntimeException: /
java.io.IOException: Login failure for impala/cdh-dn13.internal@CDH.EXAMPLE.COM from keytab /tmp/1285648306842-0/hadoop9673548602948576382.keytab

The keytab file and its enclosing directory listed in the error message do not exist at the time the error is generated.

After restarting the cloudera-scm-server, the keytab file is recreated, and queries can be canceled as expected. However, the issue will eventually recur. After the first recurrence, it will persist until the next cloudera-scm-server restart

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms