[dc@rs1 ~]$ sudo /usr/sbin/alternatives --install /usr/bin/java java /home/dc/jdk1.6.0_25/bin/java 2
This sets the usr/bin executables for java
Then verify the storm supervisor is running:
[dc@rs1 ~]$ ps -ef | grep storm
dc 3789 3766 0 21:18 pts/2 00:00:00 nano storm.yaml
root 4028 1 26 21:27 pts/1 00:00:27 java -server -Xmx1024m -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib:/usr/lib64 -Dstorm.options= -Dstorm.home=/opt/storm -Dlogfile.name=supervisor.log -Dlog4j.configuration=storm.log.properties -cp /opt/storm/lib/*:/opt/storm/storm-0.8.1.jar:/opt/storm/conf:/opt/storm/log4j backtype.storm.daemon.supervisor
No comments:
Post a Comment