Gábor Gyimesi created MINIFICPP-1694:
----------------------------------------

             Summary: Remove false positive error log messages
                 Key: MINIFICPP-1694
                 URL: https://issues.apache.org/jira/browse/MINIFICPP-1694
             Project: Apache NiFi MiNiFi C++
          Issue Type: Bug
            Reporter: Gábor Gyimesi
            Assignee: Gábor Gyimesi


There are some error messages in MiNiFi that do not actually signal a real 
error. There were instances when users observed these errors while debugging a 
separate issue and they were suspicious that these might be related so these 
messages can be quite misleading. Most common of these can be observed at 
startup:
 * Happens when "type" field is used instead of "class" which is also 
acceptable:

{code:java}
[2021-11-29 13:43:52.892] [org::apache::nifi::minifi::core::YamlConfiguration] 
[error] Unable to parse configuration file for component named 
'AzureStorageCredentialsService' as required field 'class' is missing [in 
'Controller Services' section of configuration file] [line:column, pos at 52:2, 
1660] {code}
 * This should probably be a warning if no configuration file is defined and 
the default is not available:

{code:java}
[2021-11-29 13:43:52.898] [org::apache::nifi::minifi::Properties] [error] load 
configure file failed{code}
 * When component state not available anymore this can be also ignored, so it 
should not be an error:

{code:java}
[2021-11-29 13:43:52.919] 
[org::apache::nifi::minifi::controllers::RocksDbPersistableKeyValueStoreService]
 [error] Failed to Get key 94b8e610-b4ed-1ec9-b26f-c839931bf3e2 from RocksDB 
database at corecomponentstate, error: (null){code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to