You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Rick Kellogg (JIRA)" <ji...@apache.org> on 2015/10/05 03:49:27 UTC

[jira] [Updated] (STORM-853) Uploading topology via REST API can't handle multiple main class arguments properly

     [ https://issues.apache.org/jira/browse/STORM-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Kellogg updated STORM-853:
-------------------------------
    Component/s: storm-core

> Uploading topology via REST API can't handle multiple main class arguments properly
> -----------------------------------------------------------------------------------
>
>                 Key: STORM-853
>                 URL: https://issues.apache.org/jira/browse/STORM-853
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>             Fix For: 0.10.0
>
>
> Storm-starter has sample topology, RollingTopWords.
> It receives two arguments, first one is topology name, and next one is local or remote mode.
> But when I upload this topology via REST API to make it run with remote mode, I can't find topology via UI, and it's waiting for response. 
> {code}
> curl  -i -b ~/cookiejar.txt -c ~/cookiejar.txt -X POST -F topologyConfig='{"topologyMainClass": "storm.starter.RollingTopWords", "topologyMainClassArgs": ["production-topology", "remote"]}' -F topologyJar=@storm-starter-topologies-0.10.0.jar http://localhost:8080/api/v1/uploadTopology
> {code}
> Pushed 'ctrl + c' gives response which is error json including whole logs topology prints out. Topology is run via local mode. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)