Hue/Hive Error After Turning On Kerberos Running Query: "Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask" (Doc ID 2057301.1)

Last updated on SEPTEMBER 17, 2015

Applies to:

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

Symptoms

When trying to run a query in hue/hive as either the admin user (which was present before kerberos) or a new user that we created after kerberos, we are getting:
"Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask" when we try to run basic commands in hue/hive.

Querying both tables is successful in beeline, but this was a kinited principal via beeline but a different user 'admin' via Hue.

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