Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

Highlighted

Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

While running below query in HUE i am getting error. Any suggestion on this.

Command : msck repair table import_********;

Error : Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

1 REPLY 1
Highlighted

Re: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

Expert Contributor

This kind same error we get normally whenever there same statement has executed at a time on same table or this table given task recently got completed.

even when you grating the table, if grant all ready exist gets same error.

hive>grant select on table database.tablename to role role1with grant option; 
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Error granting privileges: null

It's better to ignore and proceeds with next task.

Don't have an account?
Coming from Hortonworks? Activate your account here