Re: NIFI single node in cluster mode

2018-10-14 Thread Milan Das
Thanks all for the advise. Found the problem. I was adding two Djava parameters in java.arg.N. I added then two different lines it worked. Now I see the problem when I list Queue on Success Queye: My flow is simple GenerateFlowFile (success) --> Funnel. Yes I added all policies at root level t

Re: NIFI single node in cluster mode

2018-10-13 Thread Jeff
Milan, If you haven't already done so, please take a look at the NiFi Admin Guide's sections "Securing Zookeeper" [1] and "Kerberizing NiFi’s ZooKeeper Client" [2], which should help you configure NiFi to use a kerberized ZooKeeper. [1] https://nifi.apache.org/docs/nifi-docs/html/administration-g

Re: NIFI single node in cluster mode

2018-10-13 Thread Milan Das
Problem is I am using Kerbrized zookeeper and it is failing to create nifi basepath. Even if TGT is getting created Authentication is failing. 2018-10-13 13:33:53,573 INFO [Thread-12] org.apache.zookeeper.Login TGT refresh thread started. 2018-10-13 13:33:53,576 INFO [Thread-12] org.apache.zook

Re: NIFI single node in cluster mode

2018-10-12 Thread Bryan Bende
There is also another property for the # of candidates to wait for when voting, if it sees the # of candidates first it will short circuit the time period. So setting the candidates to 1 for a single node cluster should start immediately. On Fri, Oct 12, 2018 at 5:59 PM Jon Logan wrote: > It wai

Re: NIFI single node in cluster mode

2018-10-12 Thread Jon Logan
It waits for election for a specific period of time, which if I recall is fairly high (I think 5 minutes?). If you lower this it'll still wait for an election but will complete faster (we do 30 seconds, but you could do lower). There's a property controlling this. On Fri, Oct 12, 2018 at 5:41 PM M

NIFI single node in cluster mode

2018-10-12 Thread Milan Das
Hello Nifi team, Is it possible to run a single NIFI node in cluster mode ? I have this requirement because we will add other nodes soon down line. I tried that by setting  “nifi.cluster.is.node” but and zookeeper setting. But seems it waits ever for election. Appreciate your thoughts.