[jira] [Updated] (FLINK-30183) We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered

2022-11-24 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot updated FLINK-30183:
---
Labels: pull-request-available starter  (was: starter)

> We should add a proper error message in case the deprecated reflection-based 
> instantiation of a reporter is triggered
> -
>
> Key: FLINK-30183
> URL: https://issues.apache.org/jira/browse/FLINK-30183
> Project: Flink
>  Issue Type: Improvement
>  Components: Runtime / Metrics
>Affects Versions: 1.16.0
>Reporter: Matthias Pohl
>Priority: Major
>  Labels: pull-request-available, starter
>
> A [user reported an 
> issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
> the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
> caused by the {{PromethusReporter}} not having a default constructor 
> implemented. Instead, the user should switch to the factory class approach.
> We might want to -log a warning if the reflection-based approach still works 
> but- wrap the {{NoSuchMethodException}} into a 
> {{IllegalConfigurationException}} with a proper error message pointing to the 
> factory-based approach



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-30183) We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered

2022-11-24 Thread Matthias Pohl (Jira)


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

Matthias Pohl updated FLINK-30183:
--
Description: 
A [user reported an 
issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
caused by the {{PromethusReporter}} not having a default constructor 
implemented. Instead, the user should switch to the factory class approach.

We might want to -log a warning if the reflection-based approach still works 
but- wrap the {{NoSuchMethodException}} into a 
{{IllegalConfigurationException}} with a proper error message pointing to the 
factory-based approach

  was:
A [user reported an 
issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
caused by the {{PromethusReporter}} not having a default constructor 
implemented. Instead, the user should switch to the factory class approach.

We might want to log a warning if the reflection-based approach still works but 
wrap the {{NoSuchMethodException}} into a {{IllegalConfigurationException}} 
with a proper error message pointing to the factory-based approach


> We should add a proper error message in case the deprecated reflection-based 
> instantiation of a reporter is triggered
> -
>
> Key: FLINK-30183
> URL: https://issues.apache.org/jira/browse/FLINK-30183
> Project: Flink
>  Issue Type: Improvement
>  Components: Runtime / Metrics
>Affects Versions: 1.16.0
>Reporter: Matthias Pohl
>Priority: Major
>  Labels: starter
>
> A [user reported an 
> issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
> the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
> caused by the {{PromethusReporter}} not having a default constructor 
> implemented. Instead, the user should switch to the factory class approach.
> We might want to -log a warning if the reflection-based approach still works 
> but- wrap the {{NoSuchMethodException}} into a 
> {{IllegalConfigurationException}} with a proper error message pointing to the 
> factory-based approach



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-30183) We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered

2022-11-24 Thread Chesnay Schepler (Jira)


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

Chesnay Schepler updated FLINK-30183:
-
Affects Version/s: (was: 1.17.0)

> We should add a proper error message in case the deprecated reflection-based 
> instantiation of a reporter is triggered
> -
>
> Key: FLINK-30183
> URL: https://issues.apache.org/jira/browse/FLINK-30183
> Project: Flink
>  Issue Type: Improvement
>  Components: Runtime / Metrics
>Affects Versions: 1.16.0
>Reporter: Matthias Pohl
>Priority: Major
>  Labels: starter
>
> A [user reported an 
> issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
> the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
> caused by the {{PromethusReporter}} not having a default constructor 
> implemented. Instead, the user should switch to the factory class approach.
> We might want to log a warning if the reflection-based approach still works 
> but wrap the {{NoSuchMethodException}} into a 
> {{IllegalConfigurationException}} with a proper error message pointing to the 
> factory-based approach



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-30183) We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered

2022-11-23 Thread Matthias Pohl (Jira)


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

Matthias Pohl updated FLINK-30183:
--
Description: 
A [user reported an 
issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
caused by the {{PromethusReporter}} not having a default constructor 
implemented. Instead, the user should switch to the factory class approach.

We might want to log a warning if the reflection-based approach still works but 
wrap the {{NoSuchMethodException}} into a {{IllegalConfigurationException}} 
with a proper error message pointing to the factory-based approach

  was:A [user reported an 
issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
caused by the {{PromethusReporter}} not having a default constructor 
implemented. Instead, the user should switch to the factory class approach.


> We should add a proper error message in case the deprecated reflection-based 
> instantiation of a reporter is triggered
> -
>
> Key: FLINK-30183
> URL: https://issues.apache.org/jira/browse/FLINK-30183
> Project: Flink
>  Issue Type: Improvement
>  Components: Runtime / Metrics
>Affects Versions: 1.16.0, 1.17.0
>Reporter: Matthias Pohl
>Priority: Major
>  Labels: starter
>
> A [user reported an 
> issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
> the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
> caused by the {{PromethusReporter}} not having a default constructor 
> implemented. Instead, the user should switch to the factory class approach.
> We might want to log a warning if the reflection-based approach still works 
> but wrap the {{NoSuchMethodException}} into a 
> {{IllegalConfigurationException}} with a proper error message pointing to the 
> factory-based approach



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (FLINK-30183) We should add a proper error message in case the deprecated reflection-based instantiation of a reporter is triggered

2022-11-23 Thread Matthias Pohl (Jira)


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

Matthias Pohl updated FLINK-30183:
--
Labels: starter  (was: )

> We should add a proper error message in case the deprecated reflection-based 
> instantiation of a reporter is triggered
> -
>
> Key: FLINK-30183
> URL: https://issues.apache.org/jira/browse/FLINK-30183
> Project: Flink
>  Issue Type: Improvement
>  Components: Runtime / Metrics
>Affects Versions: 1.16.0, 1.17.0
>Reporter: Matthias Pohl
>Priority: Major
>  Labels: starter
>
> A [user reported an 
> issue|https://lists.apache.org/thread/yjv0hof5qqnzq22xcjf3y2v61j48gqh4] with 
> the {{PrometheusReporter}} instantiation. The {{NoSuchMethodException}} is 
> caused by the {{PromethusReporter}} not having a default constructor 
> implemented. Instead, the user should switch to the factory class approach.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)