-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-4450]update storm verion to 1.0.0 in flink-storm and flink-storm-examples #2439
Conversation
mvn clean verify : ok test flink-storm-examples: ok |
Jenkins run error:
But I run it successfully in my environment, does it a Jenkins memory problem? Rerun it in Jenkins? |
@@ -186,15 +177,15 @@ public void testCreateTopologyContext() { | |||
.shuffleGrouping("bolt2", TestDummyBolt.groupingStreamId) | |||
.shuffleGrouping("bolt2", TestDummyBolt.shuffleStreamId); | |||
|
|||
LocalCluster cluster = new LocalCluster(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why `did you modify this code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It can't work, so delete it first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you elaborate a bit why this cannot work any more with Storm 1.0?
There is an interesting question about how to proceed with that. If we merge this, the compatibility layer will only support Storm 1.0 programs, which are incompatible with prior versions. I would assume a lot of people have Storm jobs with prior versions. In some sense we would need two compatibility projects, one for Storm pre-1.0 and one for Storm post-1.0. |
@StephanEwen And we can import "storm-rename-hack" to compatible with previous storm version. It can change class package name previous storm version jar. see the detail: https://github.com/apache/storm/tree/master/storm-rename-hack comments update: Sorry, It can't work with previous storm version. I will add two new module "flink-storm-post-1.0" "flink-storm-examples-post-1.0" in flink-contrib. What do you think? |
close it, and will open new pull request which add new module "flink-apache-storm" "flink-apache-storm-examples" later. flink-apache-storm: campatible for storm version higher than 1.0.0 |
Jenkins run error
2.finish fail:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks very good. The last question I have before merging is about the dependencies. The flink-storm/pom.xml
originally excluded all the Clojure Web Frameworks. That is no longer the case. Did storm 1.0 completely drop these Frameworks (migrate to Java)?
@StephanEwen Actually, I'm not very clear about Clojure Web FrameWork, but it's web framework are using "ring.ring-core". |
Okay, then we should re-add all the dependency exclusions that were removed from the |
I would like to merge this. But I think we need to change back the dependency exclusions in Can you do that? Then I will merge this... |
Sorry.forget to check it. I will do it tomorrow. |
@StephanEwen Added dependency exclusions in flink-storm/pom.xml. Help me to review it please. |
I think this is getting into good shape, we can almost merge it.
Hope that when those are addresses, we can merge this.
|
Fixed complie error. |
Complie error is fixed. But how to squash all commits into one commit? |
Thanks! You can squash commits by rebasing. Have a look here: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html |
…iguration parameters
…s and bufferPool usage as a metrics This closes apache#2693
…nly fails terminally if no more restarts are possible If in state RESTARTING a failure occurs, then a new restart attempt is started. Only if the restart strategy no longer allows further restarts or if the thrown exception is of type SuppressRestartsException a job can go from RESTARTING into FAILED. This closes apache#2710
After emitting a record via the RecordWriter, we eagerly requested a new buffer for the next emit on that channel (although it's not clear that we will immediately need it). With this change, we request that buffer lazily when an emit call requires it. This closes apache#2716.
…rce leaks This closes apache#2665
…scheduleOrUpdateConsumers call Instead of failing the complete ExecutionGraph, a failing scheduleOrUpdateConsumers call will be reported back to the caller. The caller can then decide what to do. Per default, it will fail the calling task. This closes apache#2700
Sorry, something was wrong when I am rebase. |
@StephanEwen Sorry, I can't continue with this pull request. I will use another githup account to pull. |
@StephanEwen I use new githup account make a new pull request #3037, help me to review it please.Thanks. |
Please close this since there is a newer PR. |
#3037 has merged. done. |
This pull is for update storm version to 1.0.0 https://issues.apache.org/jira/browse/FLINK-4450
Because Apache Storm version after 1.0.0, the pacakge name was changed from "backtype." to "org.apache.", and this change will work for all the storm which version higher than 1.0.0
build successfully and run successfully in my test environment.