----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72521/ -----------------------------------------------------------
Review request for hive, Ashutosh Chauhan and prasanthj. Repository: hive-git Description ------- Msck.init for every table takes more CPU time than the actual table repair. This was observed on a system which had lots of DB and tables. Diffs ----- ql/src/java/org/apache/hadoop/hive/ql/ddl/misc/msck/MsckOperation.java c05d699bd8 ql/src/test/org/apache/hadoop/hive/ql/exec/TestMsckCreatePartitionsInBatches.java 7821f40a82 ql/src/test/org/apache/hadoop/hive/ql/exec/TestMsckDropPartitionsInBatches.java 8be31128a1 standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/Msck.java f4e109d1b0 standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/PartitionManagementTask.java e4488f4709 Diff: https://reviews.apache.org/r/72521/diff/1/ Testing ------- Thanks, Rajesh Balamohan