Skip to content

Installation

Dave Johnson edited this page Nov 8, 2017 · 6 revisions

Install Dependencies

  1. In order to run MrGeo, you must first install GDAL version 1.9.2 or later on all nodes in your Hadoop cluster. The same version must be installed on each node. Note that if you are installing a MrGeo build that included only web services, there is no need for Hadoop to be installed, but you do need to have the gdal and gdal-java packages installed.

  2. Make sure that when you build MrGeo, you specify the GDAL version that you are installing on your cluster (using -Dgdal.version=).

Install MrGeo

  1. Copy the mrgeo tarball on the master node of your cluster. After building MrGeo, you will find this file in the distribution/distribution-tgz/target subdirectory.

  2. Create a directory where you wish to install MrGeo and change to that directory.

  3. Untar the tarball into that directory.

  4. Define the MRGEO_COMMON_HOME environment variable to point to that directory.

  5. Define the MRGEO_CONF_DIR environment variable to point to the conf subdirectory in that directory.

  6. Copy the color scale files to HDFS by doing the following. Create /mrgeo directory in your HDFS (hadoop fs -mkdir /mrgeo). Change directory to the MrGeo directory. Put the the color-scales directory into HDFS (hadoop fs -put color-scales /mrgeo).

  7. Optionally place the MrGeo bin directory in your system PATH.

  8. Now you are ready to run the MrGeo command-line as described here