Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency of NIFI to Kafka is invalid #198

Open
hadoopch opened this issue Jan 31, 2024 · 0 comments
Open

Dependency of NIFI to Kafka is invalid #198

hadoopch opened this issue Jan 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hadoopch
Copy link

Hi,

according to

./roles/config/cluster/base/templates/configs/inter-service-dependencies.j2

there should be a dependency of nifi to kafka if kafka is in the services list.

NIFI:
  SERVICEWIDE:
    hdfs_service: hdfs
    zookeeper_service: zookeeper
{% if 'KAFKA' in cluster.services %}
    kafka_service: kafka
{% endif %}

This dependency provokes the following error

ok: [cm001.cdp.lan] => (item=ZEPPELIN)
failed: [cm001.cdp.lan] (item=NIFI) => {"ansible_loop_var": "service", "cache_control": "no-cache, no-store, max-age=0, must-revalidate", "changed": false, "connection": "close", "content": "{\n  \"message\" : \"Unknown configuration attribute 'kafka_service' for service (type: 'NIFI', name: 'nifi').\"\n}", "content_type": "application/json;charset=utf-8", "date": "Wed, 31 Jan 2024 09:48:12 GMT", "elapsed": 0, "expires": "0", "msg": "Status code was 400 and not [200]: HTTP Error 400: Bad Request", "pragma": "no-cache", "redirected": false, "service": "NIFI", "set_cookie": "SESSION=NGNjMmYwZDItYzk1NS00OTZhLThkNjgtM2I2OTI4Y2UxMWZl; Path=/; Secure; HttpOnly; SameSite=Lax", "status": 400, "strict_transport_security": "max-age=31536000 ; includeSubDomains", "url": "https://cm001.cdp.lan:7183/api/v54/clusters/cdpdevbase/services/nifi/config?message=Automated%20updates%20from%20Ansible", "x_content_type_options": "nosniff", "x_frame_options": "DENY", "x_xss_protection": "1; mode=block"}

Regards

Uli

@wmudge wmudge added the bug Something isn't working label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants