Created 02-23-2022 08:05 AM
After the Cloudera patching against TSB 2021-545 - Critical vulnerability in log4j2 CVE-2021-44228 on hdp, we need to re-create the oozie share lib and after that, update these.
So, after this steps, all the jobs schedule via OOZIE get the execption:
ERROR org.apache.hadoop.hive.metastore.RetryingHMSHandler - HMSHandler Fatal error: java.lang.NoClassDefFoundError: com/codahale/metrics/Metric.
Doing a rollback of previous libraries fixed the error.
I've already checked the new and older paths on HDFS /user/oozie/share/lib/lib_<tms>/spark, but are the same.
Any ideas about the problem?
Thanks
BR
Created 02-28-2022 04:50 AM
Hi,
Similar exception can be seen if we do not add credentials block with in the workflow something like below.
Do check you have correct credentials if its a kerborized cluster.
<credentials>
<credential name="hcatauth_creds" type="hcat">
<property>
<name>hcat.metastore.uri</name>
<value>thrift://<metastore-fqdn>:9083</value>
</property>
<property>
<name>hcat.metastore.principal</name>
<value>hive/_HOST@<REALM></value>
</property>
</credential>
Regards,
Chethan YM
Created 02-28-2022 07:21 AM
Hello Chetan,
It seems related to the missing hive-site.xml on /user/oozie/share/lib/lib../ path.
After creation of oozie share libs, it maintein all jars but not the other files, like xml..
Can you confirm this behaviour?
Thanks
BR