apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APEXCORE-376) dtcli command 'dump-properties-file' does not work when connected to an app
Date Sat, 05 Mar 2016 01:24:40 GMT

    [ https://issues.apache.org/jira/browse/APEXCORE-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15181399#comment-15181399
] 

ASF GitHub Bot commented on APEXCORE-376:
-----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-apex-core/pull/260


> 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)

Mime
View raw message