Linux/Mac OS Installation Steps

Fire can run independently on any machine, since we package Apache Spark along with or it can be connected to a Spark cluster.

If Sparkflows Fire needs to be connected to a Spark Cluster, install it on an edge node of the cluster. The edge node has the hadoop binaries and spark configs.

Quick Installation Steps of Fire with H2 DB

  • Download the fire tgz file from:

  • Unpack it:

    tar xvf fire-x.y.z.tgz
    
  • Create H2 DB:

    cd <fire install_dir>
    ./create-h2-db.sh
    
  • Launch Fire Server:

    cd <fire install_dir>
    ./run-fire-server.sh start
    
  • Open your web browser and navigate to:

    <machine_name>:8080
    
  • Login with:

    admin/admin or test/test
    

Detailed Installation Steps

  • Glossary

    • <install_dir> : location where you unzipped fire tgz file. For example this can be your home directory.
    • <machine_name> : hostname where your installed Fire
    • # : used for comments and documentation
  • Download the fire tgz file from:

  • Unzip it:

    tar xvf fire-x.y.z.tgz
    
  • Set up H2 or MySQL DB

Fire can be configured to run with H2 db or MySQL. H2 is very easy to set up with Fire. For production deployments MySQL is recommended.

  • ../database/h2-db
  • ../database/mysql-db
  • Launch Fire:

    cd <fire install_dir>
    ./run-fire.sh start
    
  • Launch Fire Server:

    cd <fire install_dir>
    ./run-fire-server.sh start
    
  • Test by opening your web browser and going to:

    localhost:8080
    
    OR
    
    <machine_name>:8080
    
  • Login with:

    username: admin and password: admin.
    

Note

Two user accounts come preconfigured with Fire.

  • admin/admin
  • test/test

You may change these usernames and passwords in Fire under the menu Administration/Users

Stopping Fire

Stop Fire with the below:

./run-fire.sh stop

Stopping the Fire Server

Stop the Fire Server with the below:

./run-fire-server.sh stop

Connecting to Apache Spark Cluster

Now that you have Fire installed, you may want to connect it to your Apache Spark Cluster.