[jira] [Commented] (NIFI-6886) Unable to refresh Remote Group's peers due to null
[ https://issues.apache.org/jira/browse/NIFI-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310741#comment-17310741 ] Matt Burgess commented on NIFI-6886: 1.13.1 is known to have issues, it was supplanted by 1.13.2 shortly after its release, please try with 1.13.2 and if the problem persists, please let us know, thanks! > Unable to refresh Remote Group's peers due to null > -- > > Key: NIFI-6886 > URL: https://issues.apache.org/jira/browse/NIFI-6886 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Environment: Linux CentOS 7 x64 >Reporter: Eduardo Mota Fontes >Priority: Major > Fix For: 1.11.0 > > Time Spent: 3h 20m > Remaining Estimate: 0h > > If you create SiteToSiteBulletinReportingTask pointing to cluster itself to > an arbitrary input port it generates Bulletin in every execution: > WARNING > *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] > org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote > Group's peers due to null* > This log appears in nifi-app.log too. > Try to debug this error, I figure out that has a new PeerSelector > implementation in version 1.10.0 and the error occurs when it tries to save > the Peers State. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6886) Unable to refresh Remote Group's peers due to null
[ https://issues.apache.org/jira/browse/NIFI-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310696#comment-17310696 ] Mayki commented on NIFI-6886: - Hello, It seems the error appear again for nifi 1.13.1 1.13.1 03/10/2021 16:01:53 CET Tagged nifi-1.13.1-RC1 From acbc217 on branch UNKNOWN SiteToSiteBulletinReportingTask[id=6cc54368-7171-1331--57429731] Unable to refresh remote group peers due to: null > Unable to refresh Remote Group's peers due to null > -- > > Key: NIFI-6886 > URL: https://issues.apache.org/jira/browse/NIFI-6886 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Environment: Linux CentOS 7 x64 >Reporter: Eduardo Mota Fontes >Priority: Major > Fix For: 1.11.0 > > Time Spent: 3h 20m > Remaining Estimate: 0h > > If you create SiteToSiteBulletinReportingTask pointing to cluster itself to > an arbitrary input port it generates Bulletin in every execution: > WARNING > *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] > org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote > Group's peers due to null* > This log appears in nifi-app.log too. > Try to debug this error, I figure out that has a new PeerSelector > implementation in version 1.10.0 and the error occurs when it tries to save > the Peers State. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6886) Unable to refresh Remote Group's peers due to null
[ https://issues.apache.org/jira/browse/NIFI-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009462#comment-17009462 ] ASF subversion and git services commented on NIFI-6886: --- Commit 1ee6dba00a1ce8654b730245bba7e43395e99fac in nifi's branch refs/heads/master from Eduardo Fontes [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=1ee6dba ] NIFI-6886 - Bugfix Attribute peerPersistence can be null generating Bulletin WARNs "Unable to refresh Remote Group's peers due to null". Rollback The fix is inside site-to-site-reporting-task-bundle Modify getClient() Get ConfigurationContext and ReportingContext to provide a StateManager. Modify OnScheduled setup() The OnSchedule setup() now save the ConfigurationContext to lazily create a SiteToSiteClient with ReportingContext through an overloaded setup(). Modify OnTrigger Lazily creates SiteToSiteClient to provide a StateManager Modify OnTrigger Lazily create SiteToSiteClient to provide a StateManager Modify OnTrigger Lazily create SiteToSiteClient to provide a StateManager Modify OnTrigger Lazily create SiteToSiteClient to provide a StateManager Retry compile Fix maven-checkstyle-plugin Fix maven-checkstyle-plugin Fix maven-checkstyle-plugin Fix maven-checkstyle-plugin Update AbstractSiteToSiteReportingTask.java Removed the OnSchedule setup(ConfigContext) because it is not needed. Update SiteToSiteUtils.java Removed ConfigContext from getClient parameters because ReportContext share the same properties. > Unable to refresh Remote Group's peers due to null > -- > > Key: NIFI-6886 > URL: https://issues.apache.org/jira/browse/NIFI-6886 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Environment: Linux CentOS 7 x64 >Reporter: Eduardo Mota Fontes >Priority: Major > Fix For: 1.11.0 > > Time Spent: 2h 40m > Remaining Estimate: 0h > > If you create SiteToSiteBulletinReportingTask pointing to cluster itself to > an arbitrary input port it generates Bulletin in every execution: > WARNING > *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] > org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote > Group's peers due to null* > This log appears in nifi-app.log too. > Try to debug this error, I figure out that has a new PeerSelector > implementation in version 1.10.0 and the error occurs when it tries to save > the Peers State. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6886) Unable to refresh Remote Group's peers due to null
[ https://issues.apache.org/jira/browse/NIFI-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009077#comment-17009077 ] Matt Burgess commented on NIFI-6886: There still need to be some changes made, I commented on the PR and added a commit to my own branch (based off the PR): https://github.com/mattyb149/nifi/commits/NIFI-6886 > Unable to refresh Remote Group's peers due to null > -- > > Key: NIFI-6886 > URL: https://issues.apache.org/jira/browse/NIFI-6886 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Environment: Linux CentOS 7 x64 >Reporter: Eduardo Mota Fontes >Priority: Major > Fix For: 1.11.0 > > Time Spent: 2h > Remaining Estimate: 0h > > If you create SiteToSiteBulletinReportingTask pointing to cluster itself to > an arbitrary input port it generates Bulletin in every execution: > WARNING > *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] > org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote > Group's peers due to null* > This log appears in nifi-app.log too. > Try to debug this error, I figure out that has a new PeerSelector > implementation in version 1.10.0 and the error occurs when it tries to save > the Peers State. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6886) Unable to refresh Remote Group's peers due to null
[ https://issues.apache.org/jira/browse/NIFI-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17009014#comment-17009014 ] Joe Witt commented on NIFI-6886: looks like this is ready just needs final push on review/merge. Looks good as a 1.11 candidate > Unable to refresh Remote Group's peers due to null > -- > > Key: NIFI-6886 > URL: https://issues.apache.org/jira/browse/NIFI-6886 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions > Environment: Linux CentOS 7 x64 >Reporter: Eduardo Mota Fontes >Priority: Major > Fix For: 1.11.0 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > If you create SiteToSiteBulletinReportingTask pointing to cluster itself to > an arbitrary input port it generates Bulletin in every execution: > WARNING > *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] > org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote > Group's peers due to null* > This log appears in nifi-app.log too. > Try to debug this error, I figure out that has a new PeerSelector > implementation in version 1.10.0 and the error occurs when it tries to save > the Peers State. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6886) Unable to refresh Remote Group's peers due to null
[ https://issues.apache.org/jira/browse/NIFI-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16979530#comment-16979530 ] Bryan Bende commented on NIFI-6886: --- One option would be in AbstractSiteToSiteReportingTask, we could move the creation of the SiteToSiteClient from onScheduled to being lazily created in onTrigger, this way it has access to a ReportingContext. The util methods would have to be updated to take ReportingContext as well. > Unable to refresh Remote Group's peers due to null > -- > > Key: NIFI-6886 > URL: https://issues.apache.org/jira/browse/NIFI-6886 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions >Affects Versions: 1.10.0 > Environment: Linux CentOS 7 x64 >Reporter: Eduardo Mota Fontes >Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > > If you create SiteToSiteBulletinReportingTask pointing to cluster itself to > an arbitrary input port it generates Bulletin in every execution: > WARNING > *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] > org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote > Group's peers due to null* > This log appears in nifi-app.log too. > Try to debug this error, I figure out that has a new PeerSelector > implementation in version 1.10.0 and the error occurs when it tries to save > the Peers State. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6886) Unable to refresh Remote Group's peers due to null
[ https://issues.apache.org/jira/browse/NIFI-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978486#comment-16978486 ] Bryan Bende commented on NIFI-6886: --- {code:java} 2019-11-20 09:27:21,909 WARN [Timer-Driven Process Thread-1] o.a.n.r.SiteToSiteStatusReportingTask SiteToSiteStatusReportingTask[id=8822b0f4-016e-1000-b27f-6f436f433682] org.apache.nifi.remote.client.PeerSelector@3f30d808 Unable to refresh Remote Group's peers due to null 2019-11-20 09:27:21,909 WARN [NiFi Site-to-Site Connection Pool Maintenance] o.a.n.r.SiteToSiteStatusReportingTask SiteToSiteStatusReportingTask[id=8822b0f4-016e-1000-b27f-6f436f433682] org.apache.nifi.remote.client.PeerSelector@3f30d808 Unable to refresh Remote Group's peers due to null 2019-11-20 09:27:21,912 DEBUG [NiFi Site-to-Site Connection Pool Maintenance] o.apache.nifi.remote.client.PeerSelector java.lang.NullPointerException: null at org.apache.nifi.remote.client.PeerSelector.persistPeerStatuses(PeerSelector.java:112) at org.apache.nifi.remote.client.PeerSelector.refreshPeers(PeerSelector.java:306) at org.apache.nifi.remote.client.socket.EndpointConnectionPool$2.run(EndpointConnectionPool.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 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) 2019-11-20 09:27:21,912 DEBUG [Timer-Driven Process Thread-1] o.apache.nifi.remote.client.PeerSelector java.lang.NullPointerException: null at org.apache.nifi.remote.client.PeerSelector.persistPeerStatuses(PeerSelector.java:112) at org.apache.nifi.remote.client.PeerSelector.refreshPeers(PeerSelector.java:306) at org.apache.nifi.remote.client.PeerSelector.createPeerStatusList(PeerSelector.java:268) at org.apache.nifi.remote.client.PeerSelector.getPeerStatuses(PeerSelector.java:237) at org.apache.nifi.remote.client.socket.EndpointConnectionPool.getEndpointConnection(EndpointConnectionPool.java:169) at org.apache.nifi.remote.client.socket.SocketClient.createTransaction(SocketClient.java:128) at org.apache.nifi.reporting.SiteToSiteStatusReportingTask.onTrigger(SiteToSiteStatusReportingTask.java:162) at org.apache.nifi.controller.tasks.ReportingTaskWrapper.run(ReportingTaskWrapper.java:44) at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) 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) {code} > Unable to refresh Remote Group's peers due to null > -- > > Key: NIFI-6886 > URL: https://issues.apache.org/jira/browse/NIFI-6886 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions >Affects Versions: 1.10.0 > Environment: Linux CentOS 7 x64 >Reporter: Eduardo Mota Fontes >Priority: Major > > If you create SiteToSiteBulletinReportingTask pointing to cluster itself to > an arbitrary input port it generates Bulletin in every execution: > WARNING > *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] > org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote > Group's peers due to null* > This log appears in nifi-app.log too. > Try to debug this error, I figure out that has a new PeerSelector > implementation in version 1.10.0 and the error occurs when it tries to save > the Peers State. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (NIFI-6886) Unable to refresh Remote Group's peers due to null
[ https://issues.apache.org/jira/browse/NIFI-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16978481#comment-16978481 ] Bryan Bende commented on NIFI-6886: --- I mentioned this in Slack, but also mentioning here to ensure it is seen... {color:#1d1c1d}If you can enable DEBUG logging in logback.xml for this package {color}{{org.apache.nifi.remote.client}}{color:#1d1c1d} it would produce a stacktrace to go with that WARNING, and it would be very helpful for someone debugging this.{color} > Unable to refresh Remote Group's peers due to null > -- > > Key: NIFI-6886 > URL: https://issues.apache.org/jira/browse/NIFI-6886 > Project: Apache NiFi > Issue Type: Bug > Components: Extensions >Affects Versions: 1.10.0 > Environment: Linux CentOS 7 x64 >Reporter: Eduardo Mota Fontes >Priority: Major > > If you create SiteToSiteBulletinReportingTask pointing to cluster itself to > an arbitrary input port it generates Bulletin in every execution: > WARNING > *SiteToSiteBulletinReportingTask[id=843df3f5-016e-1000-15f0-c32647b2a675] > org.apache.nifi.remote.client.PeerSelector@48a5201e Unable to refresh Remote > Group's peers due to null* > This log appears in nifi-app.log too. > Try to debug this error, I figure out that has a new PeerSelector > implementation in version 1.10.0 and the error occurs when it tries to save > the Peers State. -- This message was sent by Atlassian Jira (v8.3.4#803005)