[ https://issues.apache.org/jira/browse/KNOX-784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sumit Gupta updated KNOX-784: ----------------------------- Affects Version/s: 0.11.0 > java.lang.IllegalArgumentException: A metric named > org.apache.http.conn.HttpClientConnectionManager.available-connections > already exists > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: KNOX-784 > URL: https://issues.apache.org/jira/browse/KNOX-784 > Project: Apache Knox > Issue Type: Bug > Reporter: Nishant Bangarwa > Assignee: Sumit Gupta > Fix For: 0.11.0 > > > Facing this error on latest trunk version - > Caused by: java.lang.IllegalArgumentException: A metric named > org.apache.http.conn.HttpClientConnectionManager.available-connections > already exists > at > com.codahale.metrics.MetricRegistry.register(MetricRegistry.java:91) > at > com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager.<init>(InstrumentedHttpClientConnectionManager.java:63) > at > com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager.<init>(InstrumentedHttpClientConnectionManager.java:49) > at > com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager.<init>(InstrumentedHttpClientConnectionManager.java:41) > at > com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager.<init>(InstrumentedHttpClientConnectionManager.java:36) > at > org.apache.hadoop.gateway.services.metrics.impl.instr.InstrHttpClientBuilderProvider.getInstrumented(InstrHttpClientBuilderProvider.java:41) > at > org.apache.hadoop.gateway.services.metrics.impl.instr.InstrHttpClientBuilderProvider.getInstrumented(InstrHttpClientBuilderProvider.java:36) > at > org.apache.hadoop.gateway.services.metrics.impl.DefaultMetricsService.getInstrumented(DefaultMetricsService.java:128) > at > org.apache.hadoop.gateway.dispatch.DefaultHttpClientFactory.createHttpClient(DefaultHttpClientFactory.java:67) > at > org.apache.hadoop.gateway.dispatch.GatewayDispatchFilter.init(GatewayDispatchFilter.java:75) > at > org.apache.hadoop.gateway.GatewayFilter$Holder.getInstance(GatewayFilter.java:362) -- This message was sent by Atlassian JIRA (v6.3.4#6332)