Member since
06-12-2018
24
Posts
2
Kudos Received
0
Solutions
10-04-2019
04:19 PM
In case, you get below error, make sure you use Nifi host FQDN in API call and NOT IP address. Also, make sure DNS is configured correctly. <body><h2>HTTP ERROR 401</h2>
<p>Problem accessing /nifi-api/access/kerberos. Reason:
<pre> Unauthorized</pre>
... View more
12-11-2018
04:53 PM
@Harish Vaibhav Kali - Your best option may be to go back to using GetFile where you can create a fileFilter regex that is case agnostic for abc.txt. Then feed success from GetFile to a MonitorActivity processor to handle your "negative scenario". - Configure your MonitorActivity to "Continually Send Message" to "true" which will trigger a FlowFile to the inactivity relationship at every configured "threshold duration". Treat this as your missing "abc.txt" processing path. - The benefit here is that you can also have a path (activity.restored) that let you know when abc.txt was seen after one or more reported periods where it did not show up. - Then route "success" to rest fo your flow. This is the relationship abc.txt will always follow when it actually consumed by GetFile. - Thank you, Matt
... View more
12-27-2018
09:11 PM
Here are the steps to followed.. https://milandas.wordpress.com/2018/12/27/nifi-grant-all-access-to-initial-admin-user/
... View more
08-06-2018
06:56 PM
@Harish Vaibhav Kali - Once a processor is assigned a UUID that processor will keep that UUID unless you delete and re-add that processor. - All processors within a single NiFi cluster will be running an identical flow.xml.gz. - I am guessing you are creating templates and then importing these into different NiFi instances? Templates do not preserve UUIDs. Each time you instantiate a template, all the components will get a new UUID. - If you are trying to version control flows across multiple independent NiFi installations, you will want to take a look at using the nifi-registry for this. As of Apache NiFi 1.5.0, nifi-registry and version controlling flows were introduced. In the latest Apache NiFi releases with nifi-registry 0.2, these version controlled flows can even be pushed to Git. - Using nifi-registry will allow independent NiFi instances the ability to push and pull version controlled flows. - https://nifi.apache.org/registry.html - Thank you, Matt
... View more
05-21-2019
01:46 PM
I have NIFI API Link https://nifi.apache.org/docs/nifi-docs/rest-api/index.html But dont understand how to use it? How do you know when to stop NIFI Job.. i mean how do you know all processors have processed the data? Could you please share the documentation if any about it.
... View more
08-02-2018
01:05 PM
@Harish Vaibhav Kali - This thread is kinda moving off topic form the original question which has been answered. It is probably best to start a new question. - That being said, what you are showing me looks to be correct functionality provided the following is true: ---> When NiFi was started for the first time there was no pre-existing flow.xml.gz. For a brand new secure flow, providing the "Initial Admin Identity" gives that user access to get into the UI and to manage users, groups and policies. But if that user wants to start modifying the flow, they need to grant themselves policies for the root process group. The system is unable to do this automatically because in a new flow the UUID of the root process group is not permanent until the flow.xml.gz is generated. If the NiFi instance is an upgrade from an existing flow.xml.gz or a 1.x instance going from unsecure to secure, then the "Initial Admin Identity" user is automatically given the privileges to modify the flow. - Also keep in mind that if the users.xml and authorizations.xml files do not exist and you have configured both the "initial admin Identity" and provided a legacy "authorized-users.xml" file, Nifi will fail to start. That is because the initial seeding of the users.xml and authorizations.xml files can be done via one or the other, but not both. - Thank you, Matt
... View more
06-13-2018
02:32 PM
Does the user running nifi 1.5.0 have permissions to that directory? Is that the directory of the Java instance used to run NiFi 1.5? You need JDK 1.8. https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_installing-upgrading-nifi/content/installing_nifi_as_service_on_linux.html https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_release-notes/content/ch_hdf_relnotes.html#d6e586 Upgrade Guide https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.1.2/bk_installing-upgrading-nifi/content/ch_upgrade-nifi.html You may have to update that key: https://stackoverflow.com/questions/24907530/java-security-invalidkeyexception-illegal-key-size-or-default-parameters-in-and https://community.hortonworks.com/questions/88190/not-able-to-start-nifi.html You may need to install JCE https://askubuntu.com/questions/780306/how-can-i-install-jce
... View more