FIELD NOTES ON BUILDING SYSTEMS

A personal technical publication

·

Install or Setup Apache Ignite in Windows Step by Step Tutorial

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…

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:

JAVA version "1.8.0_144"
Apache Ignite version "2.0.0"
Windows 10 Laptop
  1. 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.
  2. 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.
  3. 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”.
  4. Next, we’ll set up environment variable IGNITE_HOME in the user variable section from Advanced System Settings. 
  5. Next, we will start a single node ignite server. Open a command prompt and change your directory to %IGNITE_HOME%/bin.
  6. Now issue the following command –
    ignite.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.

  7. 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.
  8. 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 –
  9. With this, we have setup a multi-node ignite cluster in a single system.
  10. Hope this tutorial helps and check out the next ones in the apache ignite series.

Filed under: ·
Next article

11 responses

  1. Rahul Choudhary Avatar

    Thanks 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 ?

    1. Sadruddin Md Avatar

      While revisiting you question, while the ignite server nodes run its own server, ignite clinet nodes (when started) join the same server

  2. Sadruddin Md Avatar

    Hi rahul – ignite runs its own in server mode.

  3. saikumari Avatar
    saikumari

    Hi 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

    1. Sadruddin Md Avatar

      Hi 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.

  4. ismail Avatar
    ismail

    Hello 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.

  5. Sadruddin Md Avatar

    Hi 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.

  6. Gaurav Agnihori Avatar
    Gaurav Agnihori

    Can you provide an Ignite Linux setup steps?

    1. Sadruddin Md Avatar

      Hi, 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

  7. jai Avatar
    jai

    How to connect from ignite to power bi desktop ..is any connector used ?

    1. Sadruddin Md Avatar

      Sorry my friend. I have not explored this yet

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.