Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

CDH 7.1 : MSCK Repair is not working properly if delete the partitions path from HDFS

avatar
Explorer

Use Case: 

- Delete the partitions from HDFS by Manual 

- Run MSCK repair

- HDFS and partition is in metadata -Not getting sync.

 

Tried multiple times and Not getting sync after upgrading  CDH 6.x to CDH 7.x

 

Any solutions please 

2 REPLIES 2

avatar
Expert Contributor

@DURAISAM  

 

Can you share the error you have got when you had run the MSCK command.

Are you manually removing the partitions? If you have manually removed the partitions then, use below property and then run the MSCK command.

set hive.msck.path.validation=ignore

 

 

avatar
Explorer

Hi ,

 

Are you manually removing the partitions? Yes .

we cant use "set hive.msck.path.validation=ignore"  because  if we run msck repair .. automatically to sync HDFS folders and Table partitions right? this is not happening and no err. 

 

our aim: Make HDFS path and partitions in table should sync in any condition