Github user fhueske commented on a diff in the pull request: https://github.com/apache/flink/pull/1046#discussion_r39452503 --- Diff: flink-core/src/main/java/org/apache/flink/configuration/Configuration.java --- @@ -418,6 +418,17 @@ public void setBytes(String key, byte[] bytes) { } } + /** + * Returns the clone of confData. + * + * @return the clone of confData + */ + public HashMap<String, Object> getConfDataClone() { + synchronized (this.confData) { + return new HashMap<String, Object>(this.confData); --- End diff -- This will just create a shallow copy, not a deep copy. Is that good enough?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---