您好,登錄后才能下訂單哦!
Strom部署安裝
[root@python ~]# ifconfig
eth0 Link encap:Ethernet HWaddr00:0C:29:1D:C6:CC
inet addr:10.0.0.9 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe1d:c6cc/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:110132 errors:0 dropped:0 overruns:0 frame:0
TX packets:62629 errors:0dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:134705650 (128.4 MiB) TXbytes:4477554 (4.2 MiB)
[root@python ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.0.9 python.host.com master
JAVA 安裝部署
[root@python strombushu]# ll
total 31792
-rw-r--r-- 1 root root 14268181 Aug 18 2014 storm-0.8.2.zip
-rw-r--r-- 1 root root 1877380 May 18 03:10 zeromq-2.1.7.tar.gz
-rw-r--r-- 1 root root 16402010 Aug 18 2014 zookeeper-3.4.5.tar.gz
[root@python strombushu]#
[root@python strombushu]# mkdir /bigdata
[root@python strombushu]# tar -xvfzeromq-2.1.7.tar.gz -C /bigdata/
[root@python bigdata]# cd zeromq-2.1.7/
[root@python zeromq-2.1.7]# ./configure
ERROR: configure: error: cannot link with -luuid, install uuid-dev.
|
[root@python zeromq-2.1.7]# yum install uuid-devel–y
[root@python zeromq-2.1.7]# yum installlibuuid-devel –y
[root@python zeromq-2.1.7]# make
[root@python zeromq-2.1.7]# make install
# jzmq java 調用 zeromq的橋梁
[root@python strombushu]# unzipjzmq-master.zip -d /bigdata/
[root@python bigdata]# cd /bigdata/jzmq-master/
[root@python jzmq-master]# ls
AUTHORS ChangeLog COPYING.LESSER Makefile.am pom.xml src
autogen.sh configure.in debian NEWS README test
builds COPYING jzmq.spec perf README-PERF
[root@python jzmq-master]#
[root@python jzmq-master]#
[root@python jzmq-master]# ./autogen.sh
[root@python jzmq-master]# ./configure
[root@python jzmq-master]# make
[root@python jzmq-master]# make install
[root@python strombushu]# unzip storm-0.8.2.zip-d /bigdata/
Zookeeper安裝
[root@python strombushu]# tar -xvfzookeeper-3.4.5.tar.gz -C /bigdata/
[root@python strombushu]# cd /bigdata/
[root@python bigdata]# ll
total 16
drwxr-xr-x 9 root root 4096 May 18 03:27jzmq-master
drwxr-xr-x 8 root root 4096 Jan 12 2013 storm-0.8.2
drwxr-xr-x 10 1000 1000 4096 May 18 03:21 zeromq-2.1.7
drwxr-xr-x 10 nani games 4096 Nov 5 2012zookeeper-3.4.5
[root@python bigdata]# cd zookeeper-3.4.5/
[root@python zookeeper-3.4.5]#
[root@python zookeeper-3.4.5]# cd conf/
[root@python conf]# ls
configuration.xsl log4j.properties zoo_sample.cfg
[root@python conf]# cp zoo_sample.cfgzoo.cfg
[root@python conf]# cd ...
-bash: cd: ...: No such file or directory
[root@python conf]# cd ../bin/
[root@python bin]# ./zkServer.sh start
JMX enabled by default
Using config:/bigdata/zookeeper-3.4.5/bin/../conf/zoo.cfg
Starting zookeeper ... STARTED
[root@python bin]# jps
13817 QuorumPeerMain
13835 Jps
[root@python bin]# cd /bigdata/storm-0.8.2/
[root@python storm-0.8.2]# cd conf/
[root@python conf]# grep -v"^#\|^$" storm.yaml
storm.zookeeper.servers:
- "10.0.0.9"
nimbus.host: "10.0.0.9"
[root@python conf]# cd ../bin/
[root@python bin]# ls
build_release.sh install_zmq.sh javadoc.sh storm to_maven.sh
[root@python bin]# ./storm nimbus
[root@python bin]# ./storm nimbus Exception in thread "main" java.lang.NoClassDefFoundError: clojure.core.protocols$seq_reduce
[root@python ~]# java -version java version "1.5.0" gij (GNU libgcj) version 4.4.7 20120313 (Red Hat 4.4.7-17) || To || V
[root@python ~]# ll /usr/bin/java lrwxrwxrwx 1 root root 31 May 18 03:57 /usr/bin/java -> /usr/local/jdk1.6.0_45/bin/java [root@python ~]# java -version java version "1.6.0_45" Java(TM) SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
修正后正常 |
[root@python bin]# ./storm ui
訪問:http://10.0.0.9:8080/
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。