<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: MiniFi - nifi.sensitive.props.key is not set in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/MiniFi-nifi-sensitive-props-key-is-not-set/m-p/388332#M246635</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The errors indicate that your miniFi configuration has some issues. Specifically, you need to set a value for nifi.sensitive.props.key in your nifi.properties file. Also, check the flow configuration file for any misplaced elements like ‘maxConcurrentTasks’ and ‘networkInterface’, and correct them according to the schema.&lt;/P&gt;</description>
    <pubDate>Sat, 25 May 2024 10:28:21 GMT</pubDate>
    <dc:creator>WayneF11</dc:creator>
    <dc:date>2024-05-25T10:28:21Z</dc:date>
    <item>
      <title>MiniFi - nifi.sensitive.props.key is not set</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MiniFi-nifi-sensitive-props-key-is-not-set/m-p/388259#M246603</link>
      <description>&lt;P&gt;I'm trying to run&amp;nbsp; miniFi&amp;nbsp; in ubuntu. When I try to start miniFi, I got following error in bootstrap and app log.&amp;nbsp;&lt;/P&gt;&lt;P&gt;App.log&lt;/P&gt;&lt;P&gt;2024-05-23 08:49:45,416 WARN [main] org.apache.nifi.util.FlowParser Schema validation error parsing Flow Configuration at line 22, col 29: cvc-complex-type.2.4.a: Invalid content was found starting with element 'maxConcurrentTasks'. One of '{bundle}' is expected.&lt;BR /&gt;2024-05-23 08:49:45,439 WARN [main] org.apache.nifi.util.FlowParser Schema validation error parsing Flow Configuration at line 99, col 28: cvc-complex-type.2.4.a: Invalid content was found starting with element 'networkInterface'. One of '{inputPort, outputPort}' is expected.&lt;BR /&gt;2024-05-23 08:49:45,833 INFO [main] o.a.nifi.headless.HeadlessNiFiServer Loading Flow...&lt;BR /&gt;2024-05-23 08:49:45,864 WARN [main] o.a.nifi.headless.HeadlessNiFiServer Failed to start headless server... shutting down.&lt;BR /&gt;java.lang.Exception: Unable to load flow due to: java.lang.IllegalArgumentException: NiFi Sensitive Properties Key [nifi.sensitive.props.key] is required&lt;BR /&gt;at org.apache.nifi.headless.HeadlessNiFiServer.start(HeadlessNiFiServer.java:176)&lt;BR /&gt;at org.apache.nifi.minifi.MiNiFi.&amp;lt;init&amp;gt;(MiNiFi.java:163)&lt;BR /&gt;at org.apache.nifi.minifi.MiNiFi.&amp;lt;init&amp;gt;(MiNiFi.java:64)&lt;BR /&gt;at org.apache.nifi.minifi.MiNiFi.main(MiNiFi.java:265)&lt;BR /&gt;Caused by: java.lang.IllegalArgumentException: NiFi Sensitive Properties Key [nifi.sensitive.props.key] is required&lt;BR /&gt;at org.apache.nifi.encrypt.PropertyEncryptorFactory.getPropertyEncryptor(PropertyEncryptorFactory.java:42)&lt;BR /&gt;at org.apache.nifi.headless.HeadlessNiFiServer.start(HeadlessNiFiServer.java:129)&lt;BR /&gt;... 3 common frames omitted&lt;BR /&gt;2024-05-23 08:49:45,864 INFO [Thread-0] org.apache.nifi.minifi.MiNiFi Initiating shutdown of MiNiFi server...&lt;BR /&gt;2024-05-23 08:49:45,883 WARN [Thread-0] o.a.nifi.headless.HeadlessNiFiServer Problem occurred ensuring flow controller or repository was properly terminated due to java.lang.NullPointerException&lt;BR /&gt;2024-05-23 08:49:45,896 ERROR [Thread-0] org.apache.nifi.BootstrapListener Failed to communicate with Bootstrap. Bootstrap may be unable to issue or receive commands from MiNiFi&lt;BR /&gt;2024-05-23 08:49:45,896 INFO [Thread-0] org.apache.nifi.minifi.MiNiFi MiNiFi server shutdown completed (nicely or otherwise).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bootstrap&amp;nbsp; log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2024-05-23 08:49:45,416 WARN [main] org.apache.nifi.util.FlowParser Schema validation error parsing Flow Configuration at line 22, col 29: cvc-complex-type.2.4.a: Invalid content was found starting with element 'maxConcurrentTasks'. One of '{bundle}' is expected.&lt;BR /&gt;2024-05-23 08:49:45,439 WARN [main] org.apache.nifi.util.FlowParser Schema validation error parsing Flow Configuration at line 99, col 28: cvc-complex-type.2.4.a: Invalid content was found starting with element 'networkInterface'. One of '{inputPort, outputPort}' is expected.&lt;BR /&gt;2024-05-23 08:49:45,833 INFO [main] o.a.nifi.headless.HeadlessNiFiServer Loading Flow...&lt;BR /&gt;2024-05-23 08:49:45,864 WARN [main] o.a.nifi.headless.HeadlessNiFiServer Failed to start headless server... shutting down.&lt;BR /&gt;java.lang.Exception: Unable to load flow due to: java.lang.IllegalArgumentException: NiFi Sensitive Properties Key [nifi.sensitive.props.key] is required&lt;BR /&gt;at org.apache.nifi.headless.HeadlessNiFiServer.start(HeadlessNiFiServer.java:176)&lt;BR /&gt;at org.apache.nifi.minifi.MiNiFi.&amp;lt;init&amp;gt;(MiNiFi.java:163)&lt;BR /&gt;at org.apache.nifi.minifi.MiNiFi.&amp;lt;init&amp;gt;(MiNiFi.java:64)&lt;BR /&gt;at org.apache.nifi.minifi.MiNiFi.main(MiNiFi.java:265)&lt;BR /&gt;Caused by: java.lang.IllegalArgumentException: NiFi Sensitive Properties Key [nifi.sensitive.props.key] is required&lt;BR /&gt;at org.apache.nifi.encrypt.PropertyEncryptorFactory.getPropertyEncryptor(PropertyEncryptorFactory.java:42)&lt;BR /&gt;at org.apache.nifi.headless.HeadlessNiFiServer.start(HeadlessNiFiServer.java:129)&lt;BR /&gt;... 3 common frames omitted&lt;BR /&gt;2024-05-23 08:49:45,864 INFO [Thread-0] org.apache.nifi.minifi.MiNiFi Initiating shutdown of MiNiFi server...&lt;BR /&gt;2024-05-23 08:49:45,883 WARN [Thread-0] o.a.nifi.headless.HeadlessNiFiServer Problem occurred ensuring flow controller or repository was properly terminated due to java.lang.NullPointerException&lt;BR /&gt;2024-05-23 08:49:45,896 ERROR [Thread-0] org.apache.nifi.BootstrapListener Failed to communicate with Bootstrap. Bootstrap may be unable to issue or receive commands from MiNiFi&lt;BR /&gt;2024-05-23 08:49:45,896 INFO [Thread-0] org.apache.nifi.minifi.MiNiFi MiNiFi server shutdown completed (nicely or otherwise).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 13:04:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MiniFi-nifi-sensitive-props-key-is-not-set/m-p/388259#M246603</guid>
      <dc:creator>Jagapriyan</dc:creator>
      <dc:date>2024-05-23T13:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: MiniFi - nifi.sensitive.props.key is not set</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MiniFi-nifi-sensitive-props-key-is-not-set/m-p/388283#M246609</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/93831"&gt;@Jagapriyan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The exception is telling you that the following properties were not configured in the bootstrap.conf file for your MiNiFi:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.minifi.sensitive.props.key= 
nifi.minifi.sensitive.props.algorithm=&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 18:35:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MiniFi-nifi-sensitive-props-key-is-not-set/m-p/388283#M246609</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-05-23T18:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: MiniFi - nifi.sensitive.props.key is not set</title>
      <link>https://community.cloudera.com/t5/Support-Questions/MiniFi-nifi-sensitive-props-key-is-not-set/m-p/388332#M246635</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The errors indicate that your miniFi configuration has some issues. Specifically, you need to set a value for nifi.sensitive.props.key in your nifi.properties file. Also, check the flow configuration file for any misplaced elements like ‘maxConcurrentTasks’ and ‘networkInterface’, and correct them according to the schema.&lt;/P&gt;</description>
      <pubDate>Sat, 25 May 2024 10:28:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/MiniFi-nifi-sensitive-props-key-is-not-set/m-p/388332#M246635</guid>
      <dc:creator>WayneF11</dc:creator>
      <dc:date>2024-05-25T10:28:21Z</dc:date>
    </item>
  </channel>
</rss>

