<?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 Nifi 2.0.0 M1 Installation &amp;amp; Running Issues in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379788#M243930</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have managed to download the latest Nifi 2.0.0 M1 and I'm trying to run it on my windows 10 machine. Doing some preliminary testing I ran into the following issues:&lt;/P&gt;&lt;P&gt;1- The system requirement indicates that (&lt;A href="https://nifi.apache.org/project-documentation.html" target="_blank" rel="noopener"&gt;https://nifi.apache.org/project-documentation.html&lt;/A&gt; ) indicates that at minimum I need Java 17, but when I try to start nifi using run.bat I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: LinkageError occurred while loading main class org.apache.nifi.bootstrap.RunNiFi
        java.lang.UnsupportedClassVersionError: org/apache/nifi/bootstrap/RunNiFi has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It turns out it needs Java 21. Not sure if the documentation has not been updated or if Im missing something.&lt;/P&gt;&lt;P&gt;2- After upgrading to Java 21, Im able to start nifi using default configuration, the log file doesn't show any error and default username and password are generated, however when I try to browse for&amp;nbsp; &lt;A href="https://127.0.0.1:8443/nifi" target="_blank" rel="noopener"&gt;https://127.0.0.1:8443/nifi&lt;/A&gt; I get the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_0-1701211397521.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39029iE95649E032549F36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_0-1701211397521.png" alt="SAMSAL_0-1701211397521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is something local to my machine but upon some internet search, I replaced url from 127.0.0.1 to localhost and it worked as I get to&amp;nbsp; the log in screen.&lt;/P&gt;&lt;P&gt;3- This is not related to to 2.0 but I Want to mention in case someone else runs into the same issue. Basically by default, the generated user doesnt have access to security settings regarding Users &amp;amp; Policies. To enable this you need to set the :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.security.user.authorizer=managed-authorizer&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And add the generated username to the authorizers.xml as mentioned here :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/No-show-Users-and-Policies-in-Global-Menu/td-p/339127" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/No-show-Users-and-Policies-in-Global-Menu/td-p/339127&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4- The ExecuteScript processor doesnt have Python(Jython) script engine. It could be its deprecated , but that is not mentioned in the depricated components site (&lt;A href="https://cwiki.apache.org/confluence/display/NIFI/Deprecated+Components+and+Features" target="_blank" rel="noopener"&gt;https://cwiki.apache.org/confluence/display/NIFI/Deprecated+Components+and+Features&lt;/A&gt; ) . It only talks about removing support for Ruby , ECMAScript&amp;nbsp; but not python . If its deprecated , what is the alternative ? Is it using Python API ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4- Minor glitch I noticed when browsing nifi using chrome , for some reason the "Import from Registry" Icon is not showing!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_1-1701212125491.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39030iE6381DA758C295E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_1-1701212125491.png" alt="SAMSAL_1-1701212125491.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It shows up in Edge and it shows up if I open chrome in private mode. Not sure if its caching issue or what.&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 23:14:56 GMT</pubDate>
    <dc:creator>SAMSAL</dc:creator>
    <dc:date>2023-11-28T23:14:56Z</dc:date>
    <item>
      <title>Nifi 2.0.0 M1 Installation &amp; Running Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379788#M243930</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have managed to download the latest Nifi 2.0.0 M1 and I'm trying to run it on my windows 10 machine. Doing some preliminary testing I ran into the following issues:&lt;/P&gt;&lt;P&gt;1- The system requirement indicates that (&lt;A href="https://nifi.apache.org/project-documentation.html" target="_blank" rel="noopener"&gt;https://nifi.apache.org/project-documentation.html&lt;/A&gt; ) indicates that at minimum I need Java 17, but when I try to start nifi using run.bat I get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Error: LinkageError occurred while loading main class org.apache.nifi.bootstrap.RunNiFi
        java.lang.UnsupportedClassVersionError: org/apache/nifi/bootstrap/RunNiFi has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It turns out it needs Java 21. Not sure if the documentation has not been updated or if Im missing something.&lt;/P&gt;&lt;P&gt;2- After upgrading to Java 21, Im able to start nifi using default configuration, the log file doesn't show any error and default username and password are generated, however when I try to browse for&amp;nbsp; &lt;A href="https://127.0.0.1:8443/nifi" target="_blank" rel="noopener"&gt;https://127.0.0.1:8443/nifi&lt;/A&gt; I get the following error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_0-1701211397521.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39029iE95649E032549F36/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_0-1701211397521.png" alt="SAMSAL_0-1701211397521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Not sure if this is something local to my machine but upon some internet search, I replaced url from 127.0.0.1 to localhost and it worked as I get to&amp;nbsp; the log in screen.&lt;/P&gt;&lt;P&gt;3- This is not related to to 2.0 but I Want to mention in case someone else runs into the same issue. Basically by default, the generated user doesnt have access to security settings regarding Users &amp;amp; Policies. To enable this you need to set the :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;nifi.security.user.authorizer=managed-authorizer&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And add the generated username to the authorizers.xml as mentioned here :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/No-show-Users-and-Policies-in-Global-Menu/td-p/339127" target="_blank" rel="noopener"&gt;https://community.cloudera.com/t5/Support-Questions/No-show-Users-and-Policies-in-Global-Menu/td-p/339127&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4- The ExecuteScript processor doesnt have Python(Jython) script engine. It could be its deprecated , but that is not mentioned in the depricated components site (&lt;A href="https://cwiki.apache.org/confluence/display/NIFI/Deprecated+Components+and+Features" target="_blank" rel="noopener"&gt;https://cwiki.apache.org/confluence/display/NIFI/Deprecated+Components+and+Features&lt;/A&gt; ) . It only talks about removing support for Ruby , ECMAScript&amp;nbsp; but not python . If its deprecated , what is the alternative ? Is it using Python API ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4- Minor glitch I noticed when browsing nifi using chrome , for some reason the "Import from Registry" Icon is not showing!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SAMSAL_1-1701212125491.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/39030iE6381DA758C295E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SAMSAL_1-1701212125491.png" alt="SAMSAL_1-1701212125491.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It shows up in Edge and it shows up if I open chrome in private mode. Not sure if its caching issue or what.&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 23:14:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379788#M243930</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2023-11-28T23:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi 2.0.0 M1 Installation &amp; Running Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379789#M243931</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;actually commented on another post NiFi 2.0 and I was just starting to read up on it...glad you got a head start on this&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Don't recall where but I did see Java 21 was the minimum requirement. Also, could be Jython is gone because of the "Native" support&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/95503"&gt;@steven-matison&lt;/a&gt;&amp;nbsp;mentioned in that other post.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://cwiki.apache.org/confluence/display/NIFI/Release+Notes#ReleaseNotes-Version2.0.0-M1" target="_blank"&gt;Release Notes - Apache NiFi - Apache Software Foundation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;New Features of 2.0.0-M1&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Initial version of native Python API for Processors&lt;/LI&gt;&lt;LI&gt;Stateless Execution mode for Process Groups&lt;/LI&gt;&lt;LI&gt;Flow Analysis Rules API&lt;/LI&gt;&lt;LI&gt;Kubernetes-based Leader Election and State Management extensions&lt;/LI&gt;&lt;LI&gt;Python-based Processors for interacting with ChatGPT and Vector Databases&lt;/LI&gt;&lt;LI&gt;ListenOTLP Processor for collecting OpenTelemetry&lt;/LI&gt;&lt;LI&gt;ListenSlack and ConsumeSlack Processors for handling messages from Slack&lt;/LI&gt;&lt;LI&gt;EncryptContentAge and DecryptContentAge Processors supporting&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="external-link" href="https://age-encryption.org/v1" rel="nofollow" target="_blank"&gt;age-encryption.org&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;specification&lt;/LI&gt;&lt;LI&gt;Schema Registry Services for Amazon Glue and Apicurio&lt;/LI&gt;&lt;LI&gt;Parameter Provider for 1Password Vault&lt;/LI&gt;&lt;LI&gt;YamlTreeReader for YAML as Records&lt;/LI&gt;&lt;LI&gt;PackageFlowFile Processor for writing file streams and attributes as FlowFile Version 3&lt;/LI&gt;&lt;LI&gt;Migrated from H2 Database Engine to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="external-link" href="https://github.com/JetBrains/xodus" rel="nofollow" target="_blank"&gt;JetBrains Xodus&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for storing Flow Configuration History&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Now I want to go and try the shiny new toy...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 23:42:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379789#M243931</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2023-11-28T23:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi 2.0.0 M1 Installation &amp; Running Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379940#M243964</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;1. The system requirements in the admin guide portion of the Apache NiFi 2.0.0-M1 is incorrect.&amp;nbsp; Apache NiFi 2.0.0-M1 does require minimum of Java 21.&lt;BR /&gt;&lt;BR /&gt;2. The SNI exception is caused by using an IP or using a hostname not found within the SAN of the PrivateKeyEntry located in the NiFi keystore.&amp;nbsp; This is per spec for Java 21.&lt;BR /&gt;&lt;BR /&gt;3. It is not clear why you would want to configure a Managed-Authorizer and still use the Single-User-Provider for authentication?&amp;nbsp; &amp;nbsp;Is this because you plan on having your other users authenticate via TLS certificates?&amp;nbsp; The Single User authentication and authorization providers were developed simply to allow an out-of-the-box secured NiFi setup.&amp;nbsp; If a multi-tenant setup is desired, neither the single-user-provider or single-user-authorizer should be used.&lt;BR /&gt;&lt;BR /&gt;4. Jython was removed due to Security concerns via&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/NIFI-12378" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-12378&lt;/A&gt;.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Apache NiFi 2.0.0 now natively supports Python allowing users to create python processors.&amp;nbsp; I am not aware of any that have been created yet.&lt;BR /&gt;&lt;BR /&gt;5. I had no issue with UI in my Chrome browser (perhaps related to your Chrome version?).&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, 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 one or more 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, 30 Nov 2023 15:00:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379940#M243964</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-11-30T15:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi 2.0.0 M1 Installation &amp; Running Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379944#M243968</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;As far as the managed Managed-Authorizer, I usually configure my access using LDAP provider but without providing my AD account any access I wont be able to log in to Nifi. I use the Single-User-Provider with the auto generated username and password to grant myself access in Nifi before I change to ldap-provider and be able to log in. Not sure if this is the right way to do it. let me know what you think.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 15:40:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379944#M243968</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2023-11-30T15:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi 2.0.0 M1 Installation &amp; Running Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379948#M243969</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;you can find some examples of those Python processors here:&lt;BR /&gt;&lt;A href="https://github.com/apache/nifi/tree/main/nifi-nar-bundles/nifi-py4j-bundle/nifi-python-test-extensions/src/main/resources/extensions" target="_blank"&gt;nifi/nifi-nar-bundles/nifi-py4j-bundle/nifi-python-test-extensions/src/main/resources/extensions at main · apache/nifi · GitHub&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 15:54:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/379948#M243969</guid>
      <dc:creator>joseomjr</dc:creator>
      <dc:date>2023-11-30T15:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi 2.0.0 M1 Installation &amp; Running Issues</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/380061#M243991</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The managed Authorizer uses the file-access-policy-provider (generates the authorizations.xml if it does no already exist) and then a user-group-provider.&amp;nbsp; In your case that would make most sense to be the ldap-user-group-provider.&amp;nbsp; You may also want to use the Composite-configurable-user-group-provider (configure it with ldap-user-group-provider and file-user-group-provider).&amp;nbsp; Having both a file based provider and ldap provider allows sycning of ldap users and groups&amp;nbsp; form ldap automatically as well as the file provider allowing you to manually add non ldap user/client identities for authorization as well.&amp;nbsp; &amp;nbsp; Non ldap client/user identities might be certifcate based clients like other NiFi nodes/instance, etc..&lt;BR /&gt;&lt;BR /&gt;Within the file-access-policy-provider you define the initial admin identity. That user identity could be set to your ldap user account identity.&amp;nbsp; Then on first start up with managed provider, it generates the authorizations.xml file seeded with the policies necessary for that initial admin user identity to act as admin.&amp;nbsp; So you could skip the single-user-provider step.&lt;BR /&gt;&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 16:21:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-2-0-0-M1-Installation-amp-Running-Issues/m-p/380061#M243991</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-12-01T16:21:39Z</dc:date>
    </item>
  </channel>
</rss>

