<?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: HDF3 install via blueprint, NiFi fails to start due to &amp;quot;Password expected&amp;quot; at decrypting flow.xml.gz in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF3-install-via-blueprint-NiFi-fails-to-start-due-to-quot/m-p/196904#M65754</link>
    <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/10940/aanghel.html" nodeid="10940"&gt;@Alexandru Anghel&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;many thanks....works brilliant !&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2017 22:00:05 GMT</pubDate>
    <dc:creator>geko</dc:creator>
    <dc:date>2017-08-02T22:00:05Z</dc:date>
    <item>
      <title>HDF3 install via blueprint, NiFi fails to start due to "Password expected" at decrypting flow.xml.gz</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF3-install-via-blueprint-NiFi-fails-to-start-due-to-quot/m-p/196902#M65752</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am setting up HDF3.0 via Blueprint where installation of services works nice, but starting NiFi fails because it expects a password being provided for decrypting flow.xml.gz under /nifi directory (calling the encrypt-config tool).&lt;/P&gt;&lt;P&gt;Two questions here:&lt;/P&gt;&lt;P&gt;1.) which properties needs to be provided in the blueprint so that NiFi starts successfully without being asked for a password....which obviously cannot be provided&lt;/P&gt;&lt;P&gt;2.) from where does NiFi at startup time populate the subdirectories under /nifi ? Before re-deploying the blueprint I deleted whole /nifi directory just to ensure the main error is not caused by some old/previous files, but at starting up Nifi this folder gets recreated incl. subdirectories. &lt;/P&gt;&lt;P&gt;Any other hint to get the services startup also being successfull at applying the blueprint highly appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:21:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF3-install-via-blueprint-NiFi-fails-to-start-due-to-quot/m-p/196902#M65752</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2026-04-21T12:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: HDF3 install via blueprint, NiFi fails to start due to "Password expected" at decrypting flow.xml.gz</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF3-install-via-blueprint-NiFi-fails-to-start-due-to-quot/m-p/196903#M65753</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/1198/koenigbodensee.html" nodeid="1198"&gt;@Gerd Koenig&lt;/A&gt;&lt;/P&gt;&lt;P&gt;NiFi needs two configuration passwords, nifi.security.encrypt.configuration.password and nifi.sensitive.props.key. You can pass those using the nifi-ambari-config in the blueprint. The passwords also need to be at least 12 characters in length.&lt;/P&gt;&lt;P&gt;Here's a simple blueprint that normally works for me:&lt;/P&gt;&lt;PRE&gt;{
  "configurations" : [
    {
      "nifi-ambari-config" : {
        "nifi.node.ssl.port": "9091",
        "nifi.node.port": "9090",
        "nifi.security.encrypt.configuration.password": "AsdQwe123456",
        "nifi.sensitive.props.key": "AsdQwe123456"
      }
    },
    {
      "nifi-env" : {
        "nifi_group" : "nifi",
        "nifi_user" : "nifi"
      }
    }
  ],
  "host_groups" : [
    {
      "name" : "mytestcluster-singlenode",
      "configurations" : [ ],
      "components" : [
        { "name" : "ZOOKEEPER_CLIENT" },
        { "name" : "INFRA_SOLR_CLIENT" },
        { "name" : "ZOOKEEPER_SERVER" },
        { "name" : "NIFI_MASTER" },
        { "name" : "AMBARI_SERVER" },
        { "name" : "INFRA_SOLR" },
        { "name" : "METRICS_COLLECTOR" },
        { "name" : "METRICS_GRAFANA" },
        { "name" : "METRICS_MONITOR" }
        
      ]
    }
  ],
  "Blueprints" : {
    "stack_name" : "HDF",
    "stack_version" : "3.0"
  }
}

&lt;/PRE&gt;&lt;P&gt;Regarding the folders, yes, NiFi will recreate them based on the configuration variables. These can also be set in the blueprint:&lt;/P&gt;&lt;PRE&gt;    {
      "nifi-ambari-config" : {
          "nifi.internal.dir" : "/var/lib/nifi",
          "nifi.content.repository.dir.default" : "/var/lib/nifi/content_repository",
          "nifi.state.dir" : "{nifi_internal_dir}/state/local",
          "nifi.flow.config.dir" : "{nifi_internal_dir}/conf",
          "nifi.config.dir" : "{nifi_install_dir}/conf",
          "nifi.flowfile.repository.dir" : "/var/lib/nifi/flowfile_repository",
          "nifi.provenance.repository.dir.default" : "/var/lib/nifi/provenance_repository",
          "nifi.database.dir" : "/var/lib/nifi/database_repository"
      }
    },
    
&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Aug 2017 03:58:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF3-install-via-blueprint-NiFi-fails-to-start-due-to-quot/m-p/196903#M65753</guid>
      <dc:creator>aanghel</dc:creator>
      <dc:date>2017-08-02T03:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: HDF3 install via blueprint, NiFi fails to start due to "Password expected" at decrypting flow.xml.gz</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF3-install-via-blueprint-NiFi-fails-to-start-due-to-quot/m-p/196904#M65754</link>
      <description>&lt;P&gt;Hello &lt;A rel="user" href="https://community.cloudera.com/users/10940/aanghel.html" nodeid="10940"&gt;@Alexandru Anghel&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;many thanks....works brilliant !&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 22:00:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF3-install-via-blueprint-NiFi-fails-to-start-due-to-quot/m-p/196904#M65754</guid>
      <dc:creator>geko</dc:creator>
      <dc:date>2017-08-02T22:00:05Z</dc:date>
    </item>
  </channel>
</rss>

