huijunwu opened a new pull request #3566:
URL: https://github.com/apache/incubator-heron/pull/3566


   #3328
   
   Storm has 3 release series: 0.x.y, 1.x.y, and 2.x.y. The current 
heron-storm.jar was for 0.x.y. 
   1.x.y is fading out, and there seems no user-asks for it.
   Many old jobs are still depending on the current heron-storm.jar, thus we 
should keep the existing code. This PR creates a separate directory for 2.x.y
   
   This PR did the following in order:
   
   1. 
   mv storm-compatibility/* -> storm-compatibility/v0.10.2/*
   mv storm-compatibility-examples/* -> storm-compatibility-examples/v0.10.2/*
   
   2. Update the whole repository pointing to storm-compatibility/v0.10.2/* and 
storm-compatibility-examples/v0.10.2/*
   Up till now, everything should work as normal, including compiling, 
packaging, releasing, document, CI, etc. 
   
   3. 
   mkdir storm-compatibility/v2.2.0/ 
   mkdir storm-compatibility-examples/v2.2.0/ 
   Write code in the two new directories.
   
   4. Test for 2.2.0
   ```
   $ bazel build --config=darwin_nostyle 
storm-compatibility-examples/v2.2.0/src/java:heron-storm-compatibility-examples
   $ ~/.heron/bin/heron submit local 
bazel-bin/storm-compatibility-examples/v2.2.0/src/java/heron-storm-compatibility-examples.jar
 org.apache.storm.starter.ExclamationTopology
   $ ~/.heron/bin/heron kill local test
   ```
   
   5. This PR would be the first step for storm api 2.x, and more will come to 
.../v2.2.0/... 
   
   


----------------------------------------------------------------
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]


Reply via email to