[jira] [Commented] (NIFI-7148) Invalid config event received - zookeeper

2020-05-19 Thread dan young (Jira)


[ 
https://issues.apache.org/jira/browse/NIFI-7148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1784#comment-1784
 ] 

dan young commented on NIFI-7148:
-

Hello Joshua,

We upgraded to Nifi 1.11.3, and also changed the server.X config in the zoo.cfg 
to this:

server.1= xx.xxx.x.xx:2888:3888;2181
server.2= xx.xxx.x.xx:2888:3888;2181
server.3= xx.xxx.x.xx:2888:3888;2181

That seemed to be the winning ticket for us.


>  Invalid config event received - zookeeper
> --
>
> Key: NIFI-7148
> URL: https://issues.apache.org/jira/browse/NIFI-7148
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Affects Versions: 1.11.1
>Reporter: dan young
>Priority: Minor
>
> We're seeing the following messages in nifi logs on our cluster nodes. We 
> have 3 nodes running Nifi 1.11.1 and zookeeper (not embedded) version 3.5.6
> Functionality seems not to be impacted, but wondering if there's something 
> else
> going on or the version of zookeeper we're using is causing this.
> 2020-02-12 15:36:43,959 ERROR [main-EventThread] 
> o.a.c.framework.imps.EnsembleTracker Invalid config event received: 
> {server.1=10.190.3.170:2888:3888:participant, version=0, 
> server.3=10.190.3.91:2888:3888:participant, 
> server.2=10.190.3.172:2888:3888:participant}
> Regards,
> Dano



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Resolved] (NIFI-7148) Invalid config event received - zookeeper

2020-02-17 Thread dan young (Jira)


 [ 
https://issues.apache.org/jira/browse/NIFI-7148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dan young resolved NIFI-7148.
-
Resolution: Invalid

i don't think this is an issue.  Reading the release notes I need to change the 
format in my nigi.properties for the zookeeper config.  Sorry for the noise, 
going to close this.

>  Invalid config event received - zookeeper
> --
>
> Key: NIFI-7148
> URL: https://issues.apache.org/jira/browse/NIFI-7148
> Project: Apache NiFi
>  Issue Type: Bug
>  Components: Core Framework
>Affects Versions: 1.11.1
>Reporter: dan young
>Priority: Minor
>
> We're seeing the following messages in nifi logs on our cluster nodes. We 
> have 3 nodes running Nifi 1.11.1 and zookeeper (not embedded) version 3.5.6
> Functionality seems not to be impacted, but wondering if there's something 
> else
> going on or the version of zookeeper we're using is causing this.
> 2020-02-12 15:36:43,959 ERROR [main-EventThread] 
> o.a.c.framework.imps.EnsembleTracker Invalid config event received: 
> {server.1=10.190.3.170:2888:3888:participant, version=0, 
> server.3=10.190.3.91:2888:3888:participant, 
> server.2=10.190.3.172:2888:3888:participant}
> Regards,
> Dano



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (NIFI-7148) Invalid config event received - zookeeper

2020-02-13 Thread dan young (Jira)
dan young created NIFI-7148:
---

 Summary:  Invalid config event received - zookeeper
 Key: NIFI-7148
 URL: https://issues.apache.org/jira/browse/NIFI-7148
 Project: Apache NiFi
  Issue Type: Bug
  Components: Core Framework
Affects Versions: 1.11.1
Reporter: dan young


We're seeing the following messages in nifi logs on our cluster nodes. We have 
3 nodes running Nifi 1.11.1 and zookeeper (not embedded) version 3.5.6

Functionality seems not to be impacted, but wondering if there's something else
going on or the version of zookeeper we're using is causing this.

2020-02-12 15:36:43,959 ERROR [main-EventThread] 
o.a.c.framework.imps.EnsembleTracker Invalid config event received: 
{server.1=10.190.3.170:2888:3888:participant, version=0, 
server.3=10.190.3.91:2888:3888:participant, 
server.2=10.190.3.172:2888:3888:participant}

Regards,

Dano



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (NIFI-5234) Nifi Expression testing groovy tool Error grabbing Grapes

2018-05-24 Thread dan young (JIRA)
dan young created NIFI-5234:
---

 Summary:  Nifi Expression testing groovy tool Error grabbing 
Grapes 
 Key: NIFI-5234
 URL: https://issues.apache.org/jira/browse/NIFI-5234
 Project: Apache NiFi
  Issue Type: Bug
  Components: Tools and Build
Affects Versions: 1.6.0
 Environment: Mac OSX
Reporter: dan young


I'm trying to run the Nifi Expression testing groovy tool with 1.6.0 and am 
getting the following dep errorNifi 1.4 and 1.5 works fine.  I tried to 
also download via grape in the groovy cli the jackson-core and it doesn't work 
for the 2.9.4 version  2.9.5 works fine but the deps seem to rely on 2.9.4
 
I can use the 1.5 w/o  issue
 
 
 
λ ~/software/nifi-tools groovy testEL-1.6.groovy '${now():format("MMdd")}'

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:

General error during conversion: Error grabbing Grapes -- [download failed: 
com.fasterxml.jackson.core#jackson-core;2.9.4!jackson-core.jar(bundle)]

 

java.lang.RuntimeException: Error grabbing Grapes -- [download failed: 
com.fasterxml.jackson.core#jackson-core;2.9.4!jackson-core.jar(bundle)]

 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

 at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

 at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

 at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

 at 
org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)

 at 
org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)

 at 
org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)

 at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)

 at groovy.grape.GrapeIvy.getDependencies(GrapeIvy.groovy:424)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:498)

 at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)

 at 
org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59)

 at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)

 at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:571)

 at groovy.grape.GrapeIvy$resolve$1.callCurrent(Unknown Source)

 at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:193)

 at groovy.grape.GrapeIvy.resolve(GrapeIvy.groovy:538)

 at groovy.grape.GrapeIvy$resolve$0.callCurrent(Unknown Source)

 at 
org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)

 at 
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)

 at groovy.grape.GrapeIvy.grab(GrapeIvy.groovy:256)

 at groovy.grape.Grape.grab(Grape.java:167)

 at 
groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.java:376)

 at 
org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:346)

 at 
org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:966)

 at 
org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:626)

 at 
org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:602)

 at 
org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:579)

 at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:323)

 at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:293)

 at groovy.lang.GroovyShell.parseClass(GroovyShell.java:677)

 at groovy.lang.GroovyShell.run(GroovyShell.java:506)

 at groovy.lang.GroovyShell.run(GroovyShell.java:496)

 at groovy.ui.GroovyMain.processOnce(GroovyMain.java:597)

 at groovy.ui.GroovyMain.run(GroovyMain.java:329)

 at groovy.ui.GroovyMain.process(GroovyMain.java:315)

 at 

[jira] [Created] (NIFI-4655) NPE when starting InvokeHTTP in secure cluster.

2017-12-04 Thread dan young (JIRA)
dan young created NIFI-4655:
---

 Summary: NPE when starting InvokeHTTP in secure cluster.
 Key: NIFI-4655
 URL: https://issues.apache.org/jira/browse/NIFI-4655
 Project: Apache NiFi
  Issue Type: Bug
  Components: Core Framework
Affects Versions: 1.4.0
 Environment: Running NiFi 1.4.0 on a small 3 node cluster (Ubuntu 
14.04.5 LTS), configured to use the OIDC for Auth.  I setup the ssl/tls using 
the nifi-toolkit for the cluster config.
Reporter: dan young
 Attachments: invoke-http-1-config.png, invoke-http-2-config.png

We're trying to migrate from a unsecure NiFi 1.3.0 cluster (everything working 
in the NiFi 1.3 cluster) to a secure 1.4.0 cluster.  When we try to start the 
configured InvokeHTTP processor,  we're seeing the following in the logs:

2017-12-04 18:18:49,701 ERROR [StandardProcessScheduler Thread-7] 
org.apache.nifi.engine.FlowEngine A flow controller task execution stopped 
abnormally
java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.apache.nifi.engine.FlowEngine.afterExecute(FlowEngine.java:100)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.GeneratedMethodAccessor1028.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at 
org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:137)
at 
org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:125)
at 
org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotations(ReflectionUtils.java:70)
at 
org.apache.nifi.util.ReflectionUtils.invokeMethodsWithAnnotation(ReflectionUtils.java:47)
at 
org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1306)
at 
org.apache.nifi.controller.StandardProcessorNode$1$1.call(StandardProcessorNode.java:1302)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
... 2 common frames omitted
Caused by: java.lang.NullPointerException: null
2017-12-04 18:18:49,702 ERROR [StandardProcessScheduler Thread-8] 
o.a.nifi.processors.standard.InvokeHTTP 
InvokeHTTP[id=ae055c76-88b8-3c86-bd1e-06ca4dcb43d5] 
InvokeHTTP[id=ae055c76-88b8-3c86-bd1e-06ca4dcb43d5] failed to invoke 
@OnScheduled method due to java.lang.RuntimeException: Failed while executing 
one of processor's OnScheduled task.; processor will not be scheduled to run 
for 30 seconds: java.lang.RuntimeException: Failed while executing one of 
processor's OnScheduled task.
java.lang.RuntimeException: Failed while executing one of processor's 
OnScheduled task.
at 
org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1483)
at 
org.apache.nifi.controller.StandardProcessorNode.access$000(StandardProcessorNode.java:103)
at 
org.apache.nifi.controller.StandardProcessorNode$1.run(StandardProcessorNode.java:1302)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at 
org.apache.nifi.controller.StandardProcessorNode.invokeTaskAsCancelableFuture(StandardProcessorNode.java:1466)
... 9 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null