Hive MSCK repair
Issue:
Trying to run "msck repair table <tablename>" gives the below error
Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. null
Resolution:
The above error occurs when hive.mv.files.thread=0, increasing the value of the parameter to 15 fixes the issue
This is a known bug

