In this tutorial, we will go over step by step to install Apache Ignite in standalone windows system. We’ll cover the Linux installation in the subsequent blog. If you have any question/clarification regarding this blog post, feel free to use the comment box below.
As part of this tutorial, I will install Apache ignite in my personal Windows 10 laptop. Followings are used as part of this activity:
1 2 3 |
JAVA version "1.8.0_144" Apache Ignite version "2.0.0" Windows 10 Laptop |
- To start with, I already have Oracle JAVA installed (1.8.0_144) in my laptop. I am not showing how to install JAVA as part of this blog. Do let me know if you need any help here. As per ignite official pre-requisite, Oracle JDK7 onward is acceptable.
- Next, it’s time to download Apache Ignite. In order to do that, navigate to https://ignite.apache.org/download.cgi#binaries url and download the latest binary release. While writing this blog few weeks back, the latest released version was apache-ignite-fabric-2.0.0-bin.zip. Click on the binary release link and download the zip file. In my case, I have downloaded it in local “F:\” drive.
- Extract the zip file in the suitable location of your choice. In my case, the extracted files are in “F:\apache-ignite-fabric-2.0.0-bin”.
- Next, we’ll set up environment variable IGNITE_HOME in the user variable section from Advanced System Settings.
- Next, we will start a single node ignite server. Open a command prompt and change your directory to %IGNITE_HOME%/bin.
- Now issue the following command –
1ignite.bat %IGNITE_HOME%/examples/config/example-ignite.xml
Notice the .xml file after the ignite.bat; this configuration file is part of the standard ignite downloaded file.We’ll talk more about this file in detail, as we progress in the series. - You will observe something similar to following in your terminal and our first single node ignite server is started. Notice the number of servers (=1) in the last line.
- Next, we’ll open another command window and run start another server node by issuing the same command as in step 6. We’ll see similar logs in this window as well; however, interestingly, you will observe first command window log is also updated as it has auto-detected the new node. You will notice the server count has increased to 2. Check the following screenshot –
- With this, we have setup a multi-node ignite cluster in a single system.
- Hope this tutorial helps and check out the next ones in the apache ignite series.
Rahul Choudhary
January 27, 2018Thanks for this article.
Need to know when we put ignite-rest in libs , it runs on jetty server but by default ie: when we start the node server nodes run and that runs on which server any idea ?
Sadruddin Md
February 9, 2018While revisiting you question, while the ignite server nodes run its own server, ignite clinet nodes (when started) join the same server
Sadruddin Md
January 27, 2018Hi rahul – ignite runs its own in server mode.
saikumari
January 31, 2018Hi Thanks for the article.
Error: Could not find or load main class org.apache.ignite.startup.cmdline.CommandLineTransformer
Error: Could not find or load main class org.apache.ignite.startup.cmdline.CommandLineRandomNumberGenerator
Can you help me with below error that I got when I issued ignite.bat
Sadruddin Md
February 2, 2018Hi Saikumari,
Could you please check what value IGNITE_HOME is set to? And also which folder did you extract it to? Ensure there is no space in the folder names in the extraction path when you unzip.
Please let me know these information and I will take a look. Thanks.
ismail
October 15, 2018Hello Sadruddin Md,
Nice Article .
Could you please update us how to create the database instance of Ignite and popular sql connectors as well.
Thank you.
Sadruddin Md
October 15, 2018Hi Ismail – Thank you.
I already have some article on DB connectivity. Please check those out. Should you need any other specific topic, please let me know. I’ll be glad to write something around it.
Gaurav Agnihori
July 8, 2019Can you provide an Ignite Linux setup steps?
Sadruddin Md
July 16, 2019Hi, of late i am busy elsewhere. But sure, i keep your request in mind. Let me see how quickly i can work on it. Thank you for reading my blog
jai
September 30, 2020How to connect from ignite to power bi desktop ..is any connector used ?
Sadruddin Md
December 12, 2020Sorry my friend. I have not explored this yet