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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0.3
    • None
    • storm-client
    • 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

            Unassigned Unassigned
            ecararus Eugeniu Cararus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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