Skip to main content
bsivalingam83
Silver ⭐️⭐️⭐️
Mar 3, 2020 12:39 AM UTC
Solved

NiFi - Cloudera Manager - Property to update the cluster.is.node

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/

venkatsambath
Gold ⭐️⭐️⭐️
Mar 3, 2020 6:22 AM UTC

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

 

 

 

2 replies

venkatsambath
Gold ⭐️⭐️⭐️
Gold ⭐️⭐️⭐️
Mar 3, 2020 6:22 AM UTC

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

 

 

 
Translate
bsivalingam83
Silver ⭐️⭐️⭐️
Mar 3, 2020 6:57 PM UTC

Thanks @venkatsambath. It worked.

Translate