[英]MSCK repair table failing for schema tables
我的配置單元表名稱采用以下格式:
schema_name.hive_table_name
例如:schema1.abc;
現在,當我嘗試在上面的配置單元表上執行MSCK修復表時,它拋出以下錯誤。
Logging initialized using configuration in file:/etc/hive/conf.dist/hive-log4j.properties FAILED: ParseException line 1:28 missing EOF at '.' near 'schema_name'
以下是我使用的命令:
hive -e "MSCK repair table schema_name.hive_table_name"
有人可以幫忙嗎?
我嘗試了以下語句:
hive -e "use schema_name;MSCK repair table hive_table_name"
這允許使用提到的特定架構將分區添加到配置單元。 它為我工作。
謝謝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.