Return-Path: X-Original-To: apmail-apex-dev-archive@minotaur.apache.org Delivered-To: apmail-apex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3ADB319435 for ; Fri, 4 Mar 2016 19:26:44 +0000 (UTC) Received: (qmail 98089 invoked by uid 500); 4 Mar 2016 19:26:44 -0000 Delivered-To: apmail-apex-dev-archive@apex.apache.org Received: (qmail 98032 invoked by uid 500); 4 Mar 2016 19:26:44 -0000 Mailing-List: contact dev-help@apex.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.incubator.apache.org Delivered-To: mailing list dev@apex.incubator.apache.org Received: (qmail 98021 invoked by uid 99); 4 Mar 2016 19:26:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2016 19:26:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 90BA91806AD for ; Fri, 4 Mar 2016 19:26:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -3.549 X-Spam-Level: X-Spam-Status: No, score=-3.549 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.329] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id EUP2RpIKB4Xp for ; Fri, 4 Mar 2016 19:26:42 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with SMTP id B4FA95F3DA for ; Fri, 4 Mar 2016 19:26:41 +0000 (UTC) Received: (qmail 94371 invoked by uid 99); 4 Mar 2016 19:26:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Mar 2016 19:26:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D2B7A2C0453 for ; Fri, 4 Mar 2016 19:26:40 +0000 (UTC) Date: Fri, 4 Mar 2016 19:26:40 +0000 (UTC) From: "David Yan (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (APEXCORE-376) dtcli command 'dump-properties-file' does not work when connected to an app MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/APEXCORE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Yan updated APEXCORE-376: ------------------------------- Fix Version/s: 3.4.0 > dtcli command 'dump-properties-file' does not work when connected to an app > --------------------------------------------------------------------------- > > Key: APEXCORE-376 > URL: https://issues.apache.org/jira/browse/APEXCORE-376 > Project: Apache Apex Core > Issue Type: Bug > Reporter: David Yan > Assignee: David Yan > Fix For: 3.4.0, 3.3.1 > > > dtcli command 'dump-properties-file' does not work when connected to an app > Steps to reproduce: > * Connect to dtcli in verbose mode (dtcli -vvvv) > * Connect to a running app (connect application_1456301553414_0021) > * Fire the command `dump-properties-file` with some output filename (dump-properties-file OUT.prop) > * The command gives error as: > {code} > dt (application_1456301553414_0021) > dump-properties-file OUT.prop > org.codehaus.jettison.json.JSONException: JSONObject["operators"] is not a JSONObject. > at org.codehaus.jettison.json.JSONObject.getJSONObject(JSONObject.java:458) > at com.datatorrent.stram.codec.LogicalPlanSerializer.convertToProperties(LogicalPlanSerializer.java:268) > at com.datatorrent.stram.cli.DTCli$DumpPropertiesFileCommand.execute(DTCli.java:3110) > at com.datatorrent.stram.cli.DTCli$3.run(DTCli.java:1449) > 16/03/03 00:31:53 ERROR cli.DTCli: Exception caught: > org.codehaus.jettison.json.JSONException: JSONObject["operators"] is not a JSONObject. > at org.codehaus.jettison.json.JSONObject.getJSONObject(JSONObject.java:458) > at com.datatorrent.stram.codec.LogicalPlanSerializer.convertToProperties(LogicalPlanSerializer.java:268) > at com.datatorrent.stram.cli.DTCli$DumpPropertiesFileCommand.execute(DTCli.java:3110) > at com.datatorrent.stram.cli.DTCli$3.run(DTCli.java:1449) > dt (application_1456301553414_0021) > > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)