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 6600E200CFA for ; Tue, 15 Aug 2017 22:04:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 64C3E16655B; Tue, 15 Aug 2017 20:04:09 +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 B7FF316653E for ; Tue, 15 Aug 2017 22:04:08 +0200 (CEST) Received: (qmail 63704 invoked by uid 500); 15 Aug 2017 20:04:07 -0000 Mailing-List: contact issues-help@systemml.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.apache.org Delivered-To: mailing list issues@systemml.apache.org Received: (qmail 63276 invoked by uid 99); 15 Aug 2017 20:04:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2017 20:04:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DD3AAC0047 for ; Tue, 15 Aug 2017 20:04:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 0MKkpw0gaIqG for ; Tue, 15 Aug 2017 20:04:05 +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 10F845F254 for ; Tue, 15 Aug 2017 20:04:05 +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 B1ACEE00A7 for ; Tue, 15 Aug 2017 20:04:04 +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 AFBB7218FA for ; Tue, 15 Aug 2017 20:04:01 +0000 (UTC) Date: Tue, 15 Aug 2017 20:04:01 +0000 (UTC) From: "Matthias Boehm (JIRA)" To: issues@systemml.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (SYSTEMML-1840) Transform spec literals should be checked during validate MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 15 Aug 2017 20:04:09 -0000 [ https://issues.apache.org/jira/browse/SYSTEMML-1840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Boehm closed SYSTEMML-1840. ------------------------------------ > Transform spec literals should be checked during validate > --------------------------------------------------------- > > Key: SYSTEMML-1840 > URL: https://issues.apache.org/jira/browse/SYSTEMML-1840 > Project: SystemML > Issue Type: Bug > Reporter: Matthias Boehm > Assignee: Matthias Boehm > Fix For: SystemML 1.0 > > > Currently, there is no validation happening for transform specifications during initial compilation. This is very annoying, especially when trying to encode large files, which takes a while to read in, just to find out that the given transform specification was invalid json. Here is an example: > {code} > Caused by: org.apache.wink.json4j.JSONException: Expecting '{' on line 1, column 4 instead, obtained token: 'Token: String - 'ids'' > at org.apache.wink.json4j.internal.Parser.parseObject(Parser.java:193) > at org.apache.wink.json4j.internal.Parser.parse(Parser.java:130) > at org.apache.wink.json4j.internal.Parser.parse(Parser.java:95) > at org.apache.wink.json4j.JSONObject.(JSONObject.java:138) > at org.apache.sysml.runtime.transform.encode.EncoderFactory.createEncoder(EncoderFactory.java:56) > {code} > This task aims to parse the transform specification if its available as a literal string during the language validation step. -- This message was sent by Atlassian JIRA (v6.4.14#64029)