From issues-return-155526-archive-asf-public=cust-asf.ponee.io@flink.apache.org Mon Feb 26 16:16:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D376918064A for ; Mon, 26 Feb 2018 16:16:03 +0100 (CET) Received: (qmail 25908 invoked by uid 500); 26 Feb 2018 15:16:02 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 25899 invoked by uid 99); 26 Feb 2018 15:16:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Feb 2018 15:16:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id C3115E9708; Mon, 26 Feb 2018 15:16:02 +0000 (UTC) From: GJL To: issues@flink.apache.org Reply-To: issues@flink.apache.org References: In-Reply-To: Subject: [GitHub] flink issue #5573: [FLINK-8756][Client] Support ClusterClient.getAccumulator... Content-Type: text/plain Message-Id: <20180226151602.C3115E9708@git1-us-west.apache.org> Date: Mon, 26 Feb 2018 15:16:02 +0000 (UTC) Github user GJL commented on the issue: https://github.com/apache/flink/pull/5573 @yanghua I talked to @tillrohrmann offline, and we decided it is enough to add a query parameter such as `includeSerializedValue` to the `JobAccumulatorsHandler`. If `includeSerializedValue` is `true`, then `SerializedValue` should be part of the JSON response (in addition to the stringified value), otherwise only the stringified value. By default `includeSerializedValue` should be `false` because the Web UI cannot handle binary data. For the request in `RestClusterClient` you would always set the flag to `true`. Let me know if you have any questions. cc: @tillrohrmann ---