[
https://issues.apache.org/jira/browse/NIFI-4518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16220529#comment-16220529
]
ASF GitHub Bot commented on NIFI-4518:
--------------------------------------
GitHub user mcgilman opened a pull request:
https://github.com/apache/nifi/pull/2227
NIFI-4518: Fixing URI issue when querying the bulletin board with many
source ids
NIFI-4518:
- When the URI is too long, invoking the bulletin board multiple times for
all specified component ids.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mcgilman/nifi NIFI-4518
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/2227.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2227
----
commit 32c0e2be3b824deaf749278718d9ca35e43e33e3
Author: Matt Gilman <[email protected]>
Date: 2017-10-26T14:27:57Z
NIFI-4518:
- When the URI is too long, invoking the bulletin board multiple times for
all specified component ids.
----
> Controller Service's can't be managed/viewed if a large number of processors
> reference it
> -----------------------------------------------------------------------------------------
>
> Key: NIFI-4518
> URL: https://issues.apache.org/jira/browse/NIFI-4518
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core UI
> Affects Versions: 1.2.0, 1.3.0
> Reporter: Scott Reisdorf
> Assignee: Matt Gilman
> Priority: Critical
>
> The Controller service dialog that allows you to view controller service
> information, enable/disable services will never open preventing management of
> the service if you have a lot of processors referencing it.
> The error in the nifi-app.log is:
> {noformat}
> 2017-10-23 21:27:25,923 WARN [NiFi Web Server-17020]
> org.eclipse.jetty.http.HttpParser URI is too large >16384
> {noformat}
> it appears the Url used when opening the popup to view the information,
> enable/disable makes a large URL call out passing all the referencing
> component ids. This is over the allowed limit.
> Example url that is called which appears to be the culprit when opening the
> controller service information.
> http://localhost:8079/nifi-api/flow/bulletin-board?sourceId=6d759987-ce58-384b-1d8b-54b8e3790e2c%7C36365568-36bb-35ad-bc43-5eb81a4c4c0f%7Ce2aa3d0b-f5d4-36bc-1b60-a3c5c3fe8bf5%7C849225eb-87c8-3dac-1787-1b197963d01e%7C840b409c-3f8e-3fb0-d362-2d4763ebe048%7Ca49fc30c-5ed0-36f6-8214-babfece050e9%7C7f85a8a8-223a-3fe5-952b-a740768174ac%7C223135f0-b3e9-30ad-b5f2-14f9a7c85912
> ....
> Note when this happens you are then never able to manage this controller
> service and when attempting to open the controller service information it
> kills the NiFi user interface and forces the user to log back in.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)