Created on 03-02-2020 04:39 PM - last edited on 03-02-2020 07:56 PM by ask_bill_brooks
Hi,
Which property in Cloudera manager should i update to toggle between the cluster and standalone mode for the nifi cluster? Also, the location of the nifi.properties in the CFM.... Its not under /var/lib/nifi/
Created on 03-02-2020 10:22 PM - edited 03-02-2020 10:22 PM
You can update this property in
CM > Nifi > Instances > Choose the NiFi Node to which you want to update cluster.is.node to false > Configuration > NiFi Node Advanced Configuration Snippet (Safety Valve) for staging/nifi.properties.xml > Add nifi.cluster.is.node in name and false in value field > Save and Restart
The nifi properties are stored in server side properties which will be usually stored under - /var/run/cloudera-scm-agent/process/<num>-nifi-NIFI_NODE/ -- Replace num with latest number you see under the /var/run/cloudera-scm-agent/process/ directory
Created on 03-02-2020 10:22 PM - edited 03-02-2020 10:22 PM
You can update this property in
CM > Nifi > Instances > Choose the NiFi Node to which you want to update cluster.is.node to false > Configuration > NiFi Node Advanced Configuration Snippet (Safety Valve) for staging/nifi.properties.xml > Add nifi.cluster.is.node in name and false in value field > Save and Restart
The nifi properties are stored in server side properties which will be usually stored under - /var/run/cloudera-scm-agent/process/<num>-nifi-NIFI_NODE/ -- Replace num with latest number you see under the /var/run/cloudera-scm-agent/process/ directory
Created 03-03-2020 10:57 AM
Thanks @venkatsambath. It worked.