Created 03-28-2017 09:10 AM
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 360, in <module> Master().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute method(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 720, in restart self.start(env, upgrade_type=upgrade_type) File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 164, in start self.configure(env, is_starting = True) File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 145, in configure params.nifi_flow_config_dir, params.nifi_sensitive_props_key, is_starting) File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 296, in encrypt_sensitive_properties encrypt_config_script_params = encrypt_config_script_params + ('-p',PasswordString(master_key_password)) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__ raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!") resource_management.core.exceptions.Fail: Configuration parameter 'nifi.security.encrypt.configuration.password' was not found in configurations dictionary!
Created on 03-28-2017 12:28 PM - edited 08-18-2019 02:50 AM
It appears Ambari is complaining that the following property was not set in your NiFi configs:
Thanks, Matt
Created on 03-28-2017 12:28 PM - edited 08-18-2019 02:50 AM
It appears Ambari is complaining that the following property was not set in your NiFi configs:
Thanks, Matt
Created 03-28-2017 01:02 PM
I see the below property and gave the password nothing else i see for specifing the password and i didnt find the specific property from HDF ambari. Please suggest me do i need to add in custom config.
Thanks in advance.
Chaitanya
Created 03-28-2017 01:07 PM
I see it is referring to the below location
/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/params.py nifi_security_encrypt_configuration_password = config['configurations']['nifi-ambari-config']['nifi.security.encrypt.configuration.password']
Created 03-30-2017 06:07 AM
After adding the property "nifi.security.encrypt.configuration.password" in Custom nifi-ambari-config it is working as expected. Thank you very much for your help.
Regards
Chaitanya