Database Reference
In-Depth Information
..............................
make[1]: Entering directory `/home/hadoop/storm/jzmq/jzmq'
make[2]: Entering directory `/home/hadoop/storm/jzmq/jzmq'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/hadoop/storm/jzmq/jzmq'
make[1]: Leaving directory `/home/hadoop/storm/jzmq/jzmq'
That completes the installations for the Storm dependencies; now it's time to install Storm itself.
Install Storm
Create a working directory $HOME/storm/storm to carry out this installation. Use wget to download version 0.9.2 of
Storm as a gzipped tar file.
[hadoop@hc1nn storm]$ pwd
/home/hadoop/storm/storm
[hadoop@hc1nn storm]$ wget http://supergsego.com/apache/incubator/storm/apache-storm-0.9.2-
incubating/apache-storm-0.9.2-incubating.tar.gz
[hadoop@hc1nn storm]$ ls -l
total 19608
-rw-rw-r--. 1 hadoop hadoop 20077564 Jun 25 02:49 apache-storm-0.9.2-incubating.tar.gz
Using the tar command, unpack the zipped tar file; x means extract, f specifies the archive file, and z decompresses
the file:
[hadoop@hc1nn storm]$ tar -xzf apache-storm-0.9.2-incubating.tar.gz
Using the Linux root account, move the Storm release to the /usr/local directory:
[root@hc1nn ~]# cd /home/hadoop/storm/storm
[root@hc1nn storm]# mv apache-storm-0.9.2-incubating /usr/local
[root@hc1nn storm]# cd /usr/local
Create a symbolic link for the release under /usr/local and name the link “storm.” Using this link to refer to the
release will simplify the environment and make the Storm configuration release version independent:
[root@hc1nn local]# ln -s apache-storm-0.9.2-incubating storm
[root@hc1nn local]# ls -ld *storm*
drwxrwxr-x. 9 hadoop hadoop 4096 Jul 27 11:28 apache-storm-0.9.2-incubating
lrwxrwxrwx. 1 root root 29 Jul 27 11:30 storm -> apache-storm-0.9.2-incubating
Now, create a Storm-related environment variable in the $HOME/.bashrc shell file for the Linux hadoop account:
#######################################################
# Set up Storm variables
export STORM_HOME=/usr/local/storm
export PATH=$PATH:$STORM_HOME/bin
 
Search WWH ::




Custom Search