Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-853

Uploading topology via REST API can't handle multiple main class arguments properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • storm-core
    • None

    Description

      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.

      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
      

      Pushed 'ctrl + c' gives response which is error json including whole logs topology prints out. Topology is run via local mode.

      Attachments

        Activity

          People

            kabhwan Jungtaek Lim
            kabhwan Jungtaek Lim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: