Vxider commented on issue #3247: Failed to submit topology to standalone cluster URL: https://github.com/apache/incubator-heron/issues/3247#issuecomment-487061188 Although the log shows that `Done starting Heron API Server`, but I found that the 9000 port is not occupied, and I cannot access `http://url:9000` in my browser. Here is the exception when I type `heron-apiserver --base-template standalone --cluster test`. ``` Exception in thread "main" while parsing a block mapping in 'reader', line 2, column 1: heron.class.state.manager: com.t ... ^ expected <block end>, but found FlowEntry in 'reader', line 5, column 53: ... ction.string: "20.0.1.124:2181","20.0.1.125:2181","20.0.1.126:2 ... ^ at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:570) at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158) at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143) at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224) at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155) at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120) at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450) at org.yaml.snakeyaml.Yaml.load(Yaml.java:381) at com.twitter.heron.common.config.ConfigReader.loadFile(ConfigReader.java:78) at com.twitter.heron.spi.common.ConfigLoader.loadConfig(ConfigLoader.java:37) at com.twitter.heron.spi.common.ConfigLoader.loadConfig(ConfigLoader.java:63) at com.twitter.heron.apiserver.utils.ConfigUtils.getBaseConfiguration(ConfigUtils.java:65) at com.twitter.heron.apiserver.Runtime.main(Runtime.java:263) ``` my `inventory.yaml` file is looks like this: ``` cluster: - 20.0.1.124 - 20.0.1.125 - 20.0.1.126 - 20.0.1.127 zookeepers: - 20.0.1.124 - 20.0.1.125 - 20.0.1.126 - 20.0.1.127 ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
