Hi Ashwin,

Here are some steps I follow. Please skip steps that you already know.

Initial:
1. git clone [email protected]:apache/storm.git 

General steps:
1. Make modification to the source code. 

2. Let’s say the source code is located at ~/Workspace/storm. Recompile and 
rebuild a storm binary distribution
        cd ~/Workspace/storm
        mvn clean install -DskipTests
        cd ~/Workspace /storm/storm-dist/binary
        mvn clean package -Dgpg.skip=true

3. You will find a tar ball at 
~/Workspace/storm/storm-dist/binary/final-package/target/apache-storm-2.0.1-SNAPSHOT.tar.gz.
 Uncompress it to a certain location to install it.


After the first build, you can just build certain modules, e.g. storm-server, 
storm-core and replace the jar files, instead of building the whole binary 
distribution. 

You can also refer to 
https://github.com/apache/storm/blob/master/DEVELOPER.md#building

Thanks
Ethan


> On Nov 12, 2018, at 12:31 AM, Ashwin Siddharth <[email protected]> wrote:
> 
> Hi,
> 
> I am not able to make modifications to storm source code and build it ,
> It would be very helpful If I could get hold of an example where
> modifications are done to the storm source code, and how the modified
> source code is built and how the changes made get reflected.
> 
> 
> Please , I want help regarding this issue , I really want it.
> 
> Regards,
> Ashwin

Reply via email to