[jira] [Assigned] (NIFI-5098) NiFi fails to start if invalid NiFi Registry URI is configured in a controller service.

2019-06-18 Thread Satwik Bhandiwad (JIRA)


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

Satwik Bhandiwad reassigned NIFI-5098:
--

Assignee: Satwik Bhandiwad

> NiFi fails to start if invalid NiFi Registry URI is configured in a 
> controller service.
> ---
>
> Key: NIFI-5098
> URL: https://issues.apache.org/jira/browse/NIFI-5098
> Project: Apache NiFi
>  Issue Type: Bug
>Reporter: Jeremy Dyer
>Assignee: Satwik Bhandiwad
>Priority: Major
>  Labels: SDLC
>
> When configuring a NiFi-registry client within NiFi the user can enter 
> whatever URI they desire. However if the user enters a URI that does not 
> contain http/https the URI is not validated. I typed "htp://" for example 
> instead of "http://;. I restarted nifi and nifi would not restart giving an 
> error in the logs that is included below. This prevented NiFi from starting 
> without first manually fixing the controller service entry for the 
> nifi-registry. This seems to only happen when you "update" the URI for the 
> NiFi-Registry. It seems that client side validation is not occuring when 
> updating the URI. This allows for the system to get in an invalid state if 
> someone updates the URI incorrectly.
>  
>  
> org.apache.nifi.controller.serialization.FlowSynchronizationException: 
> java.lang.IllegalArgumentException: Cannot create Flow Registry with URI of 
> localhost:18080 because there are no known implementations of Flow Registries 
> that can handle URIs of scheme localhost
>  at 
> org.apache.nifi.controller.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:474)
>  at 
> org.apache.nifi.controller.FlowController.synchronize(FlowController.java:1622)
>  at 
> org.apache.nifi.persistence.StandardXMLFlowConfigurationDAO.load(StandardXMLFlowConfigurationDAO.java:84)
>  at 
> org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:723)
>  at 
> org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:534)
>  at 
> org.apache.nifi.web.contextlistener.ApplicationStartupContextListener.contextInitialized(ApplicationStartupContextListener.java:72)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:876)
>  at 
> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:839)
>  at 
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
>  at 
> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1480)
>  at 
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1442)
>  at 
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:799)
>  at 
> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
>  at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:540)
>  at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
>  at 
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
>  at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
>  at 
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
>  at 
> org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:290)
>  at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
>  at 
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
>  at 
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
>  at org.eclipse.jetty.server.Server.start(Server.java:452)
>  at 
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
>  at 
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
>  at org.eclipse.jetty.server.Server.doStart(Server.java:419)
>  at 
> 

[jira] [Updated] (NIFI-5435) Prometheus /metrics http endpoint for monitoring integration

2019-02-05 Thread Satwik Bhandiwad (JIRA)


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

Satwik Bhandiwad updated NIFI-5435:
---
Fix Version/s: 1.9.0

> Prometheus /metrics http endpoint for monitoring integration
> 
>
> Key: NIFI-5435
> URL: https://issues.apache.org/jira/browse/NIFI-5435
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Configuration, Core Framework, Extensions, Tools and 
> Build
>Affects Versions: 1.5.0
>Reporter: Hari Sekhon
>Assignee: Satwik Bhandiwad
>Priority: Major
> Fix For: 1.9.0
>
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> Feature Request to add Prometheus /metrics http endpoint for monitoring 
> integration:
> [https://prometheus.io/docs/prometheus/latest/configuration/configuration/#%3Cscrape_config%3E]
> Prometheus metrics format for that endpoint:
> [https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Assigned] (NIFI-5435) Prometheus /metrics http endpoint for monitoring integration

2018-12-12 Thread Satwik Bhandiwad (JIRA)


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

Satwik Bhandiwad reassigned NIFI-5435:
--

Assignee: Satwik Bhandiwad  (was: Hemantha kumara M S)

> Prometheus /metrics http endpoint for monitoring integration
> 
>
> Key: NIFI-5435
> URL: https://issues.apache.org/jira/browse/NIFI-5435
> Project: Apache NiFi
>  Issue Type: New Feature
>  Components: Configuration, Core Framework, Extensions, Tools and 
> Build
>Affects Versions: 1.5.0
>Reporter: Hari Sekhon
>Assignee: Satwik Bhandiwad
>Priority: Major
>
> Feature Request to add Prometheus /metrics http endpoint for monitoring 
> integration:
> [https://prometheus.io/docs/prometheus/latest/configuration/configuration/#%3Cscrape_config%3E]
> Prometheus metrics format for that endpoint:
> [https://github.com/prometheus/docs/blob/master/content/docs/instrumenting/exposition_formats.md]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)