Member since
04-05-2016
139
Posts
143
Kudos Received
16
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
33223 | 02-14-2019 02:53 PM | |
2534 | 01-04-2019 08:39 PM | |
10803 | 11-05-2018 03:38 PM | |
5079 | 09-27-2018 04:21 PM | |
2757 | 07-05-2018 02:56 PM |
09-27-2018
04:21 PM
Hi @Vijay Mathew Are you using Registry on Windows? If so, this looks to be similar to the issue reported on the Apache NiFi Users mailing list: http://apache-nifi-users-list.2361937.n4.nabble.com/Nifi-Registry-Git-target-registry-ignores-git-flows-td5694.html#a5768 Registry on Windows is not officially supported: https://nifi.apache.org/docs/nifi-registry-docs/html/administration-guide.html#system-requirements When the other user set up Registry on Linux, the problem no longer occurred.
... View more
09-24-2018
07:31 PM
If the Localhost user is not configured properly in the Registry, here is an error you will see in NiFi when trying to start version control on a process group:
... View more
08-31-2018
03:09 PM
2 Kudos
@bangalore SubbU You might be interested in the available documentation on using custom properties (https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#Using_Custom_Properties) via:
Variables window in the NiFi UI (https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#Variables_Window) nifi.properties as suggested earlier (https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#custom_properties) Note that NiFi automatically picks up new or modified variables created in the UI (no restart required).
... View more
08-27-2018
07:53 PM
@David Miller For reference, the resource descriptors for the different component level access policies can be found in the NiFi Admin Guide, specifically: https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#component-level-access-policies
... View more
08-27-2018
06:37 PM
Just wanted to add for awareness that there are other actions that are not considered local changes. From the NiFi User Guide (https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#managing_local_changes):
disabling/enabling processors and controller services stopping/starting processors modifying sensitive property values modifying remote process group URLs updating a processor that was referencing a non-existent controller service to reference an externally available controller service modifying variables
... View more
08-09-2018
04:10 PM
9 Kudos
Objective
With the release of NiFi Registry 0.2.0, flow contents can now be stored under a Git directory using the new
GitFlowPersistenceProvider .
This tutorial walks you through how to configure this provider in NiFi Registry so that versioned flows in NiFi are automatically saved to a Git repository.
A video version of this tutorial can be seen here: https://youtu.be/kK7eVppg9Aw
Environment
This tutorial was tested using the following environment and components:
Mac OS X 10.11.6
Apache NiFi Registry 0.2.0
Apache NiFi 1.7.1
GitFlowPersistenceProvider
Git Configuration
First, create a new GitHub repo:
then clone it locally using the
git clone command (e.g. git clone https://github.com/andrewmlim/versioned_flows.git ):
Next, go to GitHub’s “Developer settings” and create a new “Personal access token”:
NiFi Registry Configuration
In the
./conf/providers.xml file, configure the following properties:
Set org.apache.nifi.registry.provider.flow.git.GitFlowPersistenceProvider as the qualified class name
Set “Flow Storage Directory” to the directory where the repo was cloned
Set "Remote to Push" to origin
Set “Remote Access User” to your GitHub username
Set “Remote Access Password” to the personal access token
Here is an example of these changes in
providers.xml:
<flowPersistenceProvider>
<class>org.apache.nifi.registry.provider.flow.git.GitFlowPersistenceProvider</class>
<property name="Flow Storage Directory">./versioned_flows</property>
<property name="Remote To Push">origin</property>
<property name="Remote Access User">andrewmlim</property>
<property name="Remote Access Password">f1295e16f933d4468d948ea276372da8b0585bda</property>
</flowPersistenceProvider>
Note: The “Remote To Push” property specifies the name of the remote to automatically push to. This property is optional and if not specified, commits will remain in the local repository unless a push is performed manually.
Saving a Versioned Flow to the Git Repo
Start up NiFi Registry and create a bucket:
Start up a NiFi instance and connect to the Registry:
Create a process group. Start version control:
Save the flow:
In GitHub, you will see that the Bucket and Flow have been saved in your repo:
As shown, Buckets are represented as directories and Flow contents are stored as files in the Bucket directory they belong to. Flow snapshot histories are managed as Git commits, meaning only the latest version of Buckets and Flows exist in the Git directory.
Note: The commit message states "By NiFi Registry user: anonymous" since the environment was unsecured and there was no user logged into NiFi. The commit message would have the user's identity if secure.
Helpful Links
Here are some helpful links that were used as references for this article:
Apache NiFi Registry Administration Guide - Git FlowPersistenceProvider
bryanbende.com - Apache NiFi Registry 0.2.0
... View more
Labels:
08-09-2018
04:01 PM
2 Kudos
Hi @Bharat
Mupparthi
Make sure you are looking for Controller Services at the proper level. There are “Reporting Task Controller Services” which are defined via the Global menu (“hamburger” menu) at the top right of the UI: There are Controller services defined at the Root Process group level: There are Controller Services defined at the process group level (in your instance, “Membership Processing” process group or any nested process groups within it). To check, make sure the process group is selected and then choose Configure from the Operate Palette (gear icon) or right-click and select “Configure”:
... View more
07-18-2018
08:51 PM
Just came across this question and wanted to note that the most current NiFi documentation link for LDAP is here: https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#ldap_login_identity_provider But a good place to start to get an overview of NiFi's new auth model is here: https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#user_authentication
... View more
07-06-2018
01:47 PM
@Mateusz Koszutowski Glad your issue was resolved. To help others who run into the same problem, could you please select the Accept link for the answer that I provided? Thanks!
... View more
07-05-2018
02:59 PM
1 Kudo
Hi @imran sk One option is to download the free e-book "Apache NiFi for Dummies": https://hortonworks.com/ebook/ni-fi-dummies/
... View more