![]() ![]() You have successfully installed Java and ZooKeeper on your machine. WatchedEvent state:SyncConnected type: None path:nullĪfter connecting the server and performing all the operations, you can stop the ZooKeeper server by using the following command. Use the following command to start the CLI.Īfter executing the above command, you will be connected to the ZooKeeper server and get the following response. $ Using config: /Users/./zookeeper-3.4.6/bin/./conf/zoo.cfg Use the following command to start the ZooKeeper server.Īfter executing this command, you will get a response as follows − Once the configuration file has been saved successfully, you can start the ZooKeeper server. Open configuration file named “conf/zoo.cfg” using the command "vi conf/zoo.cfg" and setting all the following parameters as starting point. Step 2.2 − Extract tar fileĮxtract the tar file using the following commands − To install ZooKeeper framework on your machine, visit the following link and download the latest version of ZooKeeper Īs of now, the latest version of ZooKeeper is 3.4.6 (ZooKeeper-3.4.6.tar.gz). Step 2 − ZooKeeper Framework Installation Step 2.1 − Download ZooKeeper ![]() Now verify the Java installation using the verification command (java -version) explained in Step 1. Update-alternatives -install /usr/bin/java java /opt/jdk/jdk1.8.0_60/bin/java 100 ![]() Use the following command to change Java alternatives. Now apply all the changes in to the current running system. To set path and JAVA_HOME variables, add the following commands to ~/.bashrc file. To make Java available to all users, move the extracted java content to “/usr/local/java” folder. Extract the tar setup using the following commands. Generally files are being downloaded onto the downloads folder. Step 1.1 − Download JDKĭownload the latest version of JDK by using the following link − The latest version is JDK 8u 60 and the file is “jdk-8u60-linux-圆4.tar.gz”. Else, download the latest version of JDK. If Java is already there, then you would see its version number. Use the following command to check whether you have Java already installed on your system. Install Java on your system, if you don’t have it already.Let us now see how to install Apache Storm framework on your machine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |