Today we upgrade the productive environment from 21.2.8 to 22.2.5. We have three DR nodes. The Vertica installation fails with the following message:
Started Vertica database ................................................[ OK ]
===============================================================================
Installing Vertica Packages (If Required)
===============================================================================
Package MachineLearning is already installed
Package txtindex is already installed
Package approximate is already installed
Package voltagesecure is already installed
Package logsearch is already installed
Package ComplexTypes is already installed
Package VFunctions is already installed
Installing package kafka...
Failed to install package kafka
Package flextable is already installed
Package AWS is already installed
Package ParquetExport is already installed
Package place is already installed
Installed Vertica Packages (If Required) failed .........................[FAIL]
===============================================================================
Script finished - ./dr_install.sh
===============================================================================
The database is up and running fine again.
How to fix the kafka installation ?
Release : 22.x
The problem is that libkafka.so.10.1.1 file is 0 bytes:
/opt/vertica/packages/kafka/lib:
total 3272
-rwxr--r-- 1 dradmin verticadba 79474 Mar 15 08:28 disruptor-3.3.2.jar
-rwxr-xr-x 1 dradmin verticadba 83064 May 25 2022 disruptor-3.4.2.jar
lrwxrwxrwx 1 root root 18 Mar 15 08:19 libkafka.so -> libkafka.so.10.1.1
-rw-r--r-- 1 dradmin verticadba 0 Mar 15 08:28 libkafka.so.10.1.1
-rwxr-xr-x 1 dradmin verticadba 276756 May 25 2022 log4j-api-2.12.4.jar
-rwxr--r-- 1 dradmin verticadba 135903 Mar 15 08:28 log4j-api-2.3.jar
-rwxr-xr-x 1 dradmin verticadba 1682736 May 25 2022 log4j-core-2.12.4.jar
-rwxr--r-- 1 dradmin verticadba 827024 Mar 15 08:28 log4j-core-2.3.jar
-rwxr-xr-x 1 dradmin verticadba 253371 May 25 2022 vertica-kafka-scheduler.jar
Try triggering install again:
if fails , collect:
and try manual install:
and collect any output.
---------------------------------------------------------------------------------------------------------------------------------
If above does not help and your libkafka.so.10.1.1 is corrupted indeed copy libkafka.so.10.1.1 from another node where it is not corrupted and run installation again.
If none of the above solutions resolves the issue the error can be ignored. The kafka package is not used by Performance Management and there are no plans to use on the Data Repository.