TOSIT-IO / tdp-collection

Ansible collection to deploy the components of TDP
Apache License 2.0
21 stars 19 forks source link

Hive: Log4j version and CLASSPATH #835

Closed giem-git closed 6 months ago

giem-git commented 6 months ago

Hive uses log4j2 logger, but log4j v1 jars are also included in its CLASSPATH. This generates errors when configuring log4j for ranger plugin auditlogs

Log4j v1 jars are included by the following line in hive-env.sh.j2 template :

export AUX_CLASSPATH="{{ tez_install_dir }}/*:{{ tez_install_dir }}/lib/*"