incubator-heron
incubator-heron copied to clipboard
can example maven project work?
I import a maven project using heron example. And compile and package well.
Then I submit a topology, the error can be seen:
macdeMBP-2:target zz$ heron submit local heron-java-streamlet-api-example-latest-jar-with-dependencies.jar \
org.apache.heron.examples.api.WordCountTopology
WordCountTopology [2020-02-23 11:53:36 +0800] [INFO]: Using cluster definition in /Users/zz/.heron/conf/local 错误: 找不到或无法加载主类 org.apache.heron.examples.api.WordCountTopology [2020-02-23 11:53:36 +0800] [ERROR]: Failed to create topology definition file when executing class 'org.apache.heron.examples.api.WordCountTopology' of file 'heron-java-streamlet-api-example-latest-jar-with-dependencies.jar' macdeMBP-2:target zz$
also have this problem on ubuntu 16.04, maybe related to version of heron?
@birdmanmandbir Which heron example are you using? Is one in the repo or are you using an older version of Heron?
@birdmanmandbir Which heron example are you using? Is one in the repo or are you using an older version of Heron?
Ah,just incorrect class name, I think it is solved by use jar
command to see the content of the example jar package;
There are some changes in examples compared to older versions, like heron-example.jar
is no longer exist, I wonder whether there is a guide for newest examples?
@birdmanmandbir Which heron example are you using? Is one in the repo or are you using an older version of Heron?
Ah,just incorrect class name, I think it is solved by use
jar
command to see the content of the example jar package; There are some changes in examples compared to older versions, likeheron-example.jar
is no longer exist, I wonder whether there is a guide for newest examples?
I'll have to double check the examples on the website. We recently ported everything over to a new build tool for the static site. It's possible some things were missed along the way with the update.