2021-12-15T13:34:29,759 INFO [HiveServer2-Background-Pool: Thread-79] counters.Limits: Counter limits initialized with parameters: GROUP_NAME_MAX=256, MAX_GROUPS=500, COUNTER_NAME_MAX=64, MAX_COUNTERS=1200
The parameter entries displayed in the log are not the values in my profile
Did you run Hive-MR3 in local thread mode when you save the above message?
You can set tez.counters.max in tez-site.xml, but it affects only DAGAppMaster and ContainerWorker. In the current implementation of Hive (and Hive-MR3), org.apache.tez.common.counters.Limits.setConfiguration() is never called from Hive, so the default value of 1200 is used for tez.counters.max in HiveServer2.
Not sure if this is intended, or if it is a bug. If it is a bug, we could open a JIRA ticket in Apache Hive. For Hive-MR3, we will try to include a patch in MR3 1.4.