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

NimbusClient Class cast exception when nimbus seeds is not an array of hosts

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.3
    • Fix Version/s: None
    • Component/s: storm-client
    • Labels:
    • Docs Text:
      Hide
      When I run:
      storm jar test.jar org.apache.storm.flux.Flux --remote /pat/to/topology.yaml --inactive --filter ./config/dev.properties

      dev.properties contains:
      # redis properties
      redis.server.host = rd.mycompany.org
      redis.server.port = 63820

      # other properties
      zookeeper.servers = zk.mycompany.org:21810

      nimbus.seeds = ["nb.mycompany.org"]
      nimbus.thrift.port= 6627

      Getting following exception:
      Can't use ["nb.mycompany.org"] it is : - > Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:76)
      Show
      When I run: storm jar test.jar org.apache.storm.flux.Flux --remote /pat/to/topology.yaml --inactive --filter ./config/dev.properties dev.properties contains: # redis properties redis.server.host = rd.mycompany.org redis.server.port = 63820 # other properties zookeeper.servers = zk.mycompany.org:21810 nimbus.seeds = ["nb.mycompany.org"] nimbus.thrift.port= 6627 Getting following exception: Can't use ["nb.mycompany.org"] it is : - > Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List at org.apache.storm.utils.NimbusClient.getConfiguredClientAs(NimbusClient.java:76)

      Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ecararus Eugeniu Cararus
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 2h Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m