Clustered NiFi can take a while to load and prevent Kylo from building the NiFi Flow cache

Description

1. Start a NiFi cluster
2. Start Kylo
3. Kylo will wait until it gets a nifi connection before loading the NiFi Flow Cache.
4. NiFi will be up and Kylo will try to build the cache, but the REST api will be down and the method will say: "awaiting cluster coordination"
This will prevent Kylo from processing jobs/steps

One thing to note the /flow/process-group should return application/json; however in this case it returns plain text which causes issues when listening for this type of exception in the NiFi Rest Client

Environment

None
Done

Assignee

Scott Reisdorf

Reporter

Scott Reisdorf

Labels

None

Reviewer

None

Story point estimate

None

Sprint

None

Fix versions

Priority

Medium