[
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)