You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "David Yan (JIRA)" <ji...@apache.org> on 2016/03/04 19:52:40 UTC
[jira] [Created] (APEXCORE-376) dtcli command
'dump-properties-file' does not work when connected to an app
David Yan created APEXCORE-376:
----------------------------------
Summary: 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
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)