Search code examples
linuxapache-storm

Add storm in PATH


Here the steps i should do it

1- Download a Storm release , unpack it, and put the unpacked bin/ directory on your PATH

2- To be able to start and stop topologies on a remote cluster , put the cluster information in ~/.storm/storm.yaml

i downloaded storm release and setting up it i want to do that "put the unpacked bin/ directory on your PATH"

cause i can't use storm as a command

and the second step what's the cluster info should i do in storm.yaml ?


Solution

  • Let us say your storm is unpacked at /home/your/download/storm

    1. define that as an env variable by

      STORM_HOME="/home/your/download/storm"   
      
    2. export this variable by

      export STORM_HOME  
      
    3. do not forget to import the path

      export PATH=$PATH:$STORM_HOME/bin
      

    then you can use storm command in it.