Skip to main content
NagendraKumar
Silver ⭐️⭐️⭐️
Sep 20, 2024 2:01 PM UTC
Question

MSCK hive external table using NiFi

Hi Experts,

Please let us know if we can use any NiFi processors for performing MSCK repair on the hive table to reflect the data that are updated by NiFi to HDFS. Thanks!

Command : 

MSCK REPAIR TABLE tblName;

2 replies

smruti
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
Sep 24, 2024 8:16 AM UTC

@NagendraKumar MSCK Repair which is a DDL operation can be run through PutHiveQL processor. 

For info on the classification of a Hive command, refer to  https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL

Translate
caio_contente
Silver ⭐️⭐️⭐️
Silver ⭐️⭐️⭐️
Oct 2, 2024 2:12 PM UTC

@NagendraKumar  were you able to truncate the data with the processor that my colleague Smruti mentioned?

Translate