Github user zentol commented on the issue:
https://github.com/apache/flink/pull/2418
Well this won't be pretty. The problem lies with the "name" check we have
to do since we mustn't modify the underlying map, since it belongs to the
metric groups.
As you showed in your example we need a check in `HashtableWrapper#get()`.
But we also have to make sure that this check is done for all possible ways
the Hashtable values could get accessed.
This includes the `Sets` returned by `keySet()`, `values` and `entrySet`
and the `Iterators` returned by these `Sets`.
I've pushed a version that does exactly this. One issue I've already found
is that we can no longer filter out characters from the variables.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---