Uploaded image for project: 'Eagle (Retired)'
  1. Eagle (Retired)
  2. EAGLE-862

Fix service.port config to support both STRING and NUMBER

    XMLWordPrintableJSON

Details

    Description

      Fix service.port config to support both STRING and NUMBER

      com.typesafe.config.ConfigException$WrongType: hardcoded value: service.port has type STRING rather than NUMBER
              at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:133) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:145) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:151) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.getConfigNumber(SimpleConfig.java:179) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.getInt(SimpleConfig.java:190) ~[stormjar.jar:na]
              at org.apache.eagle.service.client.impl.EagleServiceClientImpl.<init>(EagleServiceClientImpl.java:49) ~[stormjar.jar:na]
              at org.apache.eagle.app.messaging.MetricSchemaGenerator.prepare(MetricSchemaGenerator.java:57) ~[stormjar.jar:na]
              at backtype.storm.daemon.executor$fn__5697$fn__5710.invoke(executor.clj:732) ~[storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041]
              at backtype.storm.util$async_loop$fn__452.invoke(util.clj:463) ~[storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041]
              at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
      2017-01-14 00:38:10 Thread-12-MetricSchemaGenerator_2 backtype.storm.daemon.executor [ERROR]
      com.typesafe.config.ConfigException$WrongType: hardcoded value: service.port has type STRING rather than NUMBER
              at com.typesafe.config.impl.SimpleConfig.findKey(SimpleConfig.java:133) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:145) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:151) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:159) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:164) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.getConfigNumber(SimpleConfig.java:179) ~[stormjar.jar:na]
              at com.typesafe.config.impl.SimpleConfig.getInt(SimpleConfig.java:190) ~[stormjar.jar:na]
              at org.apache.eagle.service.client.impl.EagleServiceClientImpl.<init>(EagleServiceClientImpl.java:49) ~[stormjar.jar:na]
              at org.apache.eagle.app.messaging.MetricSchemaGenerator.prepare(MetricSchemaGenerator.java:57) ~[stormjar.jar:na]
              at backtype.storm.daemon.executor$fn__5697$fn__5710.invoke(executor.clj:732) ~[storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041]
              at backtype.storm.util$async_loop$fn__452.invoke(util.clj:463) ~[storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041]
              at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
      2017-01-14 00:38:10 Thread-12-MetricSchemaGenerator_2 backtype.storm.util [ERROR] Halting process: ("Worker died")
      java.lang.RuntimeException: ("Worker died")
              at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:322) [storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041]
              at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.5.1.jar:na]
              at backtype.storm.daemon.worker$fn__6109$fn__6110.invoke(worker.clj:495) [storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041]
              at backtype.storm.daemon.executor$mk_executor_data$fn__5530$fn__5531.invoke(executor.clj:245) [storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041]
              at backtype.storm.util$async_loop$fn__452.invoke(util.clj:475) [storm-core-0.9.3.2.2.0.0-2041.jar:0.9.3.2.2.0.0-2041]
              at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_91]
      

      Attachments

        Activity

          People

            haoch Hao Chen
            haoch Hao Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: