Member since
07-19-2016
91
Posts
10
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2698 | 08-12-2016 05:05 PM |
08-09-2017
07:07 PM
Thank you @anarasimham You made a good point on "turn off the first processor in the flow before turning off the whole flow"
... View more
08-09-2017
06:49 PM
Hi @anarasimham Thank you very much for your answer. It answers most of my questions! A couple of questions are still not clear to me. 1. Data loss during flow redeployment. You mentioned how is data buffered in queue between two processors during processor updating/stopped. How does the workflow as a whole redeployment(stopped/updating) affect data loss? For example, I am running a flow f1 in NiFi. I am going to deploy f2 to replace f1 for the same input source and business logic. f2 has a few more processors than f1. So I undeploy(stop and delete) f1, then deploy f2. There is a time window between f1 is stopped and f2 is started. Since the data is streaming in, and there is no queue as buffer(the entire flow is stopped), how do I avoid data loss? Or maybe this is not the right way to do workflow updating? BTW, we are not supposed to click buttons on WebUI in production. I understand it is much easier to work with flow update on Web UI in production. But we can't directly change flows in production. We have to make flow changes in Dev env and test it. Then, deploy the new flow via CI/CD in an automated way by using NiFi REST API or tools. 2. Authorization and Access Policy You mentioned Apache Ranger to work with NiFi on authorization. I noticed there are some conf files: authorizers.xml, authorizations.xml, users.xml for authorization setup. Is it enough for production? Do we have to use Apache Ranger since this introduces one more service in our platform? Thanks.
... View more
08-09-2017
02:50 PM
Hi guys, I was wondering what's the best practice to upgrade NiFi cluster version, e.g.from 1.0 to 1.3 1. Is there a patch to upgrade the cluster incrementally in live? 2. Should we have another trunk with new version, then switch business from old trunk to new trunk? If we do this way, how to migrate the data in the repositories? 3. Can we upgrade in the existing cluster nodes? Shut down all the NiFi nodes, then deploy the new NiFi version, and start them. In this case, how do we handle the business downtime during upgrading, for real-time streaming data. How to handle the data still in workflow before upgrading? 4. Could we upgrade NiFi node one by one? shut down only one node and upgrade it at once. I guess we will have incompatible issue. Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
08-09-2017
02:28 PM
Hi guys, We are preparing NiFi in production. One questions we have is how to make workflow component changes in production. e.g. add one more sink or source, replace one component in the workflow, etc. After reading some articles, below is what in my mind. 1. Develop and test new templates 2. Develop a new workflow by combining several templates and test in QA 3. Undeploy the old workflow from production 4. Deploy the new workflow in production. Is it the best practice? We are confused on what should be done by developer v.s NiFi operators. For a small change, e.g. change a config property, should it be done by developer or NiFi operator? Another question is: Between "Undeploy the old one" and "Deploy the new workflow", there is a small time window. For real-time data steaming, how do we avoid data loss in this small time window. Any suggestions and comments are appreciated. Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
08-01-2017
02:43 AM
Hi @Shishir Saxena, I have similar issue. In my /etc/hosts file, 10.244.6.45 nifi-1.nifi-service.nifi-cluster.svc.cluster.local nifi-1 If I use "nifi-1" as hostname in nifi.properties, is it OK?
... View more
07-31-2017
06:08 PM
Kubernetes(K8s) is a tool to deploy and manage Docker containers. I'd like to manage NiFi docker containers in Kubernetes cluster. I will create another topic for this. Thanks.
... View more
07-31-2017
05:28 PM
I see. Thanks.
... View more
07-31-2017
05:27 PM
Thanks. I am working on setup NiFi cluster in Kubernetes. Any suggestions on that?
... View more
07-31-2017
04:16 PM
Hello, Let's say we have env variable HOSTNAME May I set below in nifi.properties file? nifi.web.http.host=$HOSTNAME Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi