nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Percivall (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-950) After importing a template parts of UI become very slow
Date Sun, 13 Sep 2015 01:25:46 GMT

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

Joseph Percivall commented on NIFI-950:
---------------------------------------

I did a "mvn clean install -u" on the main NiFi directory to make sure there was no residual
dependencies getting brought in with the thread.sleep and that seems to work fine with the
flow. 

I narrowed down the core of the sluggish UI, when using the thread.sleep version, to the thread.sleep
I put in the validate method of the Validator. Does the SSL context use that validator when
the UI hits "http://localhost:8080/nifi-api/controller/controller-services/node"? I found
that call to be the culprit for the long UI loads.

> After importing a template parts of UI become very slow
> -------------------------------------------------------
>
>                 Key: NIFI-950
>                 URL: https://issues.apache.org/jira/browse/NIFI-950
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Joseph Percivall
>         Attachments: self_reference_flow_fix.xml
>
>
> I created a flow that is a self referencing http loop. The flow was working fine but
I wanted to save the template for later testing. I downloaded the the flow as a template.
Then I tried testing a thread.sleep in the beginning of onConfigured, createSSLContext, and
validate methods of StandardSSLContextService. I did a mvn clean install in the nifi-nar-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service
directory. Then a mvn clean install in the nifi-assembly directory. After I imported the template
the UI became very slow when clicking to different windows of the UI such as configuring a
processor and the controller services window.
> I then stashed my changes and rebuilt the files. Once again I imported my template, and
attempting to configure a processor or accessing the controller services window became very
slow.
> The flow xml is attached. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message