Hortonworks.com
  • Explore
    • All Tags
    • All Questions
    • All Articles
    • All Ideas
    • All Repos
    • All SKB
    • All Users
    • All Badges
    • Leaderboard
  • Create
    • Ask a question
    • Create Article
    • Post Idea
    • Add Repo
  • Tracks
    • All Tracks
    • Community Help
    • Cloud & Operations
    • CyberSecurity
    • Data Ingestion & Streaming
    • Data Processing
    • Data Science & Advanced Analytics
    • Design & Architecture
    • Governance & Lifecycle
    • Hadoop Core
    • Sandbox & Learning
    • Security
    • Solutions
  • Login
HCC Hortonworks Community Connection
  • Home /
  • Data Ingestion & Streaming /
  • Home /
  • Data Ingestion & Streaming /
avatar image

Tip: Templates with Dependent Controller Services

  • Export to PDF
Article by Andrew Grande · Oct 23, 2015 at 03:06 PM · edited · Nov 13, 2015 at 04:55 PM
1

Short Description:

Build NiFi flows that automatically include all linked services.

Article

Consider the following flow where records are inserted in the RDBMS (or Phoenix/HBase in this instance):

The PutSQL and similar processor depends on a database connection, provided by a DBCPConnectionPool controller service (Controller Settings -> Controller Services):

The best part: when one creates a template, all linked services will automatically be included. When template is rehydrated in another NiFi instance, services like the one below will automatically be added to the new NiFi flow:

thub.nodes.view.add-new-comment
NifiPhoenixdataflowhdfsql
screenshot.png (78.9 kB)
screenshot.png (59.9 kB)
screenshot.png (72.4 kB)
Add comment
10 |6000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 5 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Article

Contributors

avatar image avatar image

avatar image avatar image avatar image avatar image avatar image
avatar image avatar image avatar image avatar image avatar image
avatar image avatar image avatar image avatar image avatar image
avatar image avatar image avatar image avatar image avatar image
avatar image

Navigation

Tip: Templates with Dependent Controller Services

Related Articles

Apache NiFi & May the Force be with you

NiFi/HDF Dataflow Optimization (Part 2 of 2)

Apache NiFi - Part 2 (Twitter Flow)

How to expand existing NiFi cluster fault tolerance using multiple data centers when using HDF 1.x/NiFi 0.x verisons. (Part 2 of 2)

MergeContent Processor Inner Workings

​HDF 2.0 - Defining NiFi Policies in Ranger

Azure Sandbox prep for Twitter/HDP/HDF demo

Tip: Bend those Connections

NiFi/HDF Dataflow Optimization (Part 1 of 2)

Automate deployment of HDF 3.1 clusters using Ambari blueprints and AWS AMI

This website uses cookies for analytics, personalisation and advertising. To learn more or change your cookie settings, please read our Cookie Policy. By continuing to browse, you agree to our use of cookies.

HCC Guidelines | HCC FAQs | HCC Privacy Policy | Privacy Policy | Terms of Service

© 2011-2019 Hortonworks Inc. All Rights Reserved.

Hadoop, Falcon, Atlas, Sqoop, Flume, Kafka, Pig, Hive, HBase, Accumulo, Storm, Solr, Spark, Ranger, Knox, Ambari, ZooKeeper, Oozie and the Hadoop elephant logo are trademarks of the Apache Software Foundation.

  • Anonymous
  • Login
  • Create
  • Ask a question
  • Create Article
  • Post Idea
  • Add Repo
  • Create SupportKB
  • Tracks
  • Community Help
  • Cloud & Operations
  • CyberSecurity
  • Data Ingestion & Streaming
  • Data Processing
  • Data Science & Advanced Analytics
  • Design & Architecture
  • Governance & Lifecycle
  • Hadoop Core
  • Sandbox & Learning
  • Security
  • Solutions
  • Explore
  • All Tags
  • All Questions
  • All Articles
  • All Ideas
  • All Repos
  • All SKB
  • All Users
  • Leaderboard
  • All Badges