Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A7A9C200CA4 for ; Wed, 7 Jun 2017 16:08:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A64E9160BE2; Wed, 7 Jun 2017 14:08:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id ECA45160BB6 for ; Wed, 7 Jun 2017 16:08:26 +0200 (CEST) Received: (qmail 74903 invoked by uid 500); 7 Jun 2017 14:08:21 -0000 Mailing-List: contact dev-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 dev@flink.apache.org Received: (qmail 74763 invoked by uid 99); 7 Jun 2017 14:08:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jun 2017 14:08:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A3AE91AFE7D for ; Wed, 7 Jun 2017 14:08:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 4Po0PJiovHfg for ; Wed, 7 Jun 2017 14:08:20 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B4BCC6104B for ; Wed, 7 Jun 2017 14:08:19 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 08503E0D63 for ; Wed, 7 Jun 2017 14:08:19 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5CD7921E11 for ; Wed, 7 Jun 2017 14:08:18 +0000 (UTC) Date: Wed, 7 Jun 2017 14:08:18 +0000 (UTC) From: "Tzu-Li (Gordon) Tai (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-6864) Remove confusing "invalid POJO type" messages from TypeExtractor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 07 Jun 2017 14:08:27 -0000 Tzu-Li (Gordon) Tai created FLINK-6864: ------------------------------------------ Summary: Remove confusing "invalid POJO type" messages from TypeExtractor Key: FLINK-6864 URL: https://issues.apache.org/jira/browse/FLINK-6864 Project: Flink Issue Type: Improvement Components: Documentation, Type Serialization System Reporter: Tzu-Li (Gordon) Tai When a user's type cannot be treated as a POJO, the {{TypeExtractor}} will log warnings such as ".. must have a default constructor to be used as a POJO.", " ... is not a valid POJO type because not all fields are valid POJO fields." in the {{analyzePojo}} method. These messages are often conceived as misleading for the user to think that the job should have failed, whereas in fact in these cases Flink just fallsback to Kryo and treat then as generic types. We should remove these messages, and at the same time improve the type serialization docs at [1] to explicitly inform what it means when Flink does / does not recognizes a user type as a POJO. [1] https://ci.apache.org/projects/flink/flink-docs-release-1.3/dev/types_serialization.html#rules-for-pojo-types -- This message was sent by Atlassian JIRA (v6.3.15#6346)