From issues-return-52589-archive-asf-public=cust-asf.ponee.io@mesos.apache.org Fri Mar 20 09:12:04 2020 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8C5F918066D for ; Fri, 20 Mar 2020 10:12:03 +0100 (CET) Received: (qmail 78986 invoked by uid 500); 20 Mar 2020 09:12:02 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 78931 invoked by uid 99); 20 Mar 2020 09:12:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Mar 2020 09:12:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 413AFE2E0E for ; Fri, 20 Mar 2020 09:12:02 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 7751478059B for ; Fri, 20 Mar 2020 09:12:00 +0000 (UTC) Date: Fri, 20 Mar 2020 09:12:00 +0000 (UTC) From: "Qian Zhang (Jira)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MESOS-10064) Accommodate the "Infinity" value in JSON MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-10064?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D170= 63209#comment-17063209 ]=20 Qian Zhang edited comment on MESOS-10064 at 3/20/20, 9:11 AM: -------------------------------------------------------------- commit 0b47b43d290494fc1c6a6f6241ddfbceeb686997 Author: Qian Zhang=20 Date: Sun Feb 23 09:53:32 2020 +0800 Added patch for RapidJSON. This commit updates the writer of RapidJSON to write infinite floating point numbers as "Infinity" and "-Infinity" (i.e., with double quotes) rather than Infinity and -Infinity. This is to ensure the strings converted from JSON objects conform to the rule defined by Protobuf: [https://developers.google.com/protocol-buffers/docs/proto3#json] Review: [https://reviews.apache.org/r/72161] =C2=A0 commit ec82a516918ebd663816cb110f73bdee6e5268be Author: Qian Zhang=20 Date: Sun Feb 23 10:09:48 2020 +0800 Accommodated the "Infinity" value in the JSON <-> Protobuf conversion. Review: [https://reviews.apache.org/r/72162] was (Author: qianzhang): commit 0b47b43d290494fc1c6a6f6241ddfbceeb686997 Author: Qian Zhang=20 Date: Sun Feb 23 09:53:32 2020 +0800 Added patch for RapidJSON. =20 This commit updates the writer of RapidJSON to write infinite floating point numbers as "Infinity" and "-Infinity" (i.e., with double quotes) rather than Infinity and -Infinity. This is to ensure the strings converted from JSON objects conform to the rule defined by Protobuf: https://developers.google.com/protocol-buffers/docs/proto3#json =20 Review: [https://reviews.apache.org/r/72161] commit ec82a516918ebd663816cb110f73bdee6e5268be Author: Qian Zhang=20 Date: Sun Feb 23 10:09:48 2020 +0800 Accommodated the "Infinity" value in the JSON <-> Protobuf conversion. =20 Review: [https://reviews.apache.org/r/72162] > Accommodate the "Infinity" value in JSON > ---------------------------------------- > > Key: MESOS-10064 > URL: https://issues.apache.org/jira/browse/MESOS-10064 > Project: Mesos > Issue Type: Task > Components: stout > Reporter: Qian Zhang > Assignee: Qian Zhang > Priority: Major > Fix For: 1.10.0 > > > See [here|https://docs.google.com/document/d/1iEXn2dBg07HehbNZunJWsIY6iaF= ezXiRsvpNw4dVQII/edit?ts=3D5de78977#heading=3Dh.ejuvxat6x3eb] for what need= to be done for this ticket. -- This message was sent by Atlassian Jira (v8.3.4#803005)