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.

Unable to alter table in hive?

Highlighted

Unable to alter table in hive?

Hi,

 

I'm trying to alter a Managed table in Hive but getting below error. Kindly assist:

HQL:     ALTER TABLE sample RENAME TO sample_bdp;

Error:    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter table.

1 REPLY 1
Highlighted

Re: Unable to alter table in hive?

Contributor

Can you check the HiveServer2 logs for more information (if you are using HS2)?

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