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.DDLTaskWhen I reran my script, it got successful.
Is there are a workaround such that we don't face this issue in future.
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