datahub
datahub copied to clipboard
UI ingestion for kafka-connect lacks of java
Describe the bug
There is no correctly set up Java in Action container (UI ingestion) to process kafka-connect
source
To Reproduce Steps to reproduce the behavior:
- Open UI ingestion
- create source config for
kafka-connect
- execute ingestion
- observe error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
source:
type: kafka-connect
config:
connect_uri: 'http://kafka-connect.confluent.svc.cluster.local:8083'
cluster_name: dwh-connect
connector_patterns:
allow:
- '^dwh-.*'
sink:
type: datahub-rest
config:
server: 'http://datahub-datahub-gms:8080'
token: xxxxx
Error
JVMNotFoundException: No JVM shared library file (libjvm.so) found. Try setting up the JAVA_HOME environment variable properly.
Environment:
- EKS 1.22
- official chart
- core version: 0.8.33
- chart version: 0.2.69
I just encountered this problem too
When I upgraded to v0.8.40, I got this problem again!
@yuanly Can you please share where you are running DataHub and the image and tag that you are using for actions?
When I using acryldata/datahub-actions
v0.0.4
, this problem again.
datahub gms, frontend image : 0.8.41
[root@localhost]# docker exec -it datahub_datahub-actions_1 /bin/bash
datahub@actions:/$ echo $JAVA_HOME
/home/datahub/.sdkman/candidates/java/current
[root@localhost]# docker exec -it -u root datahub_datahub-actions_1 /bin/bash
root@actions:/# echo $JAVA_HOME
root@actions:/#
I believe this was fixed by #6365 or https://github.com/acryldata/datahub-actions/pull/15 - the latest datahub-actions image v0.0.9 should work.
Please let me know if you still have issues @KulykDmytro and we can reopen if necessary.