Library with name 'KafkaLib' does not exist
Hello,
I have comminity edition Vertica 7.2 and I'm trying to consume messages from kafka into flex table.
I've created scheduler with default settings but when I edit scheduler adding brokers info
./vkconfig scheduler --edit --brokers hostname:9092 --operator dbadmin --username dbadmin
I'm getting
java.sql.SQLSyntaxErrorException: [Vertica][VJDBC](3862) ROLLBACK: Library with name 'KafkaLib' does not exist
Please help me to fix it.
0
Comments
Strange that KafkaLib installs automatically as you installed Vertica 7.2 update, at least in my case. Anyway you can try to install Kafka UDx manually by running this commaind on each node (under dbadmin):
Before doing this check that you really do not have Kafka already installed:
When installed you will see something like this:
Thank you! That's solved. What kafka version you use? I have 0.8.2.
I'll try to config and post you update.
Althought error has gone I can't see any rows in
One more interesting thing is that vertica works for a while (about 30min) to consume messages but after that I can't login in via vsql
vsql --username dbadmin
vsql: could not connect to server: Connection refused
Is the server running on host "???" and accepting
TCP/IP connections on port 5433?
netstat -apn | grep 5433
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 1 0 127.0.0.1:48567 127.0.0.1:5433 CLOSE_WAIT -