Hive 设置

beeline 方式设置mapreduce, tez参数出现错误

0: jdbc:hive2://10.5.xxx.xxx:10000> set mapreduce.job.max.split.locations=12;
Error: Error while processing statement: Cannot modify mapreduce.job.max.split.locations at runtime. It is not in list of params that are allowed to be modified at runtime (state=42000,code=1)

需要通过参数hive.security.authorization.sqlstd.confwhitelist.append允许运行时设置相关参数

tez\..*\..*|mapreduce\..*\..*|mapreduce\..*\..*\..*|mapreduce\..*\..*\..*\..*|parquet\..*\..*\..*\..*
image.png

你可能感兴趣的:(Hive 设置)