๐Ÿฅ

[Hive] set hive.msck.repair.batch.size ๋ช…๋ น์–ด ์‚ฌ์šฉ ๋ถˆ๊ฐ€ ์กฐ์น˜ ๋ณธ๋ฌธ

๋ฐ์ดํ„ฐ/ํ•˜๋‘ก

[Hive] set hive.msck.repair.batch.size ๋ช…๋ น์–ด ์‚ฌ์šฉ ๋ถˆ๊ฐ€ ์กฐ์น˜

•8• 2023. 4. 21. 13:18
set hive.msck.repair.batch.size=1;
set hive.msck.path.validation=ignore;

Hive ์—์„œ ์œ„ ๋ช…๋ น์–ด ์‚ฌ์šฉ ์‹œ์— ์•„๋ž˜์™€ ๊ฐ™์€ ์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

Error: Error while processing statement: Cannot modify hive.msck.path.validation at runtime. It is not in list of params that are allowed to be modified at runtime (state=42000,code=1)โ€‹

 

hive-site์— ์•„๋ž˜ ์„ค์ •๊ฐ’ ์ถ”๊ฐ€ ํ›„ ์ •์ƒ ๋™์ž‘ ํ™•์ธํ•จ

key:
hive.security.authorization.sqlstd.confwhitelist.append
value:
hive\.msck\.path\.validation|hive\.msck\.repair\.batch\.size

 

 

์ฐธ๊ณ : https://stackoverflow.com/questions/23333075/hive-execution-error-return-code-1-from-org-apache-hadoop-hive-ql-exec-ddltask