Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

MSCK repair issue

avatar
New Contributor

Hi

I got the following error when I tried to do a msck repair in my shell script


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

When I reran my script, it got successful.

Is there are a workaround such that we don't face this issue in future.

1 REPLY 1

avatar
Explorer

Hi,

 

Mostly the issue occured due to partitions path in HDFS based on defined partitions in the table

 

if partition columns and HDFS path matches, this issue never occur