Support Questions

Find answers, ask questions, and share your expertise

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

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.