Open hadoopch opened 5 months ago
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
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.
This dependency provokes the following error
Regards
Uli