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"
Last updated on SEPTEMBER 17, 2015
Applies to:Big Data Appliance Integrated Software - Version 4.2.0 and later
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms