12.1. Installing GeoMesa Bigtable¶
12.1.1. Installing the Binary Distribution¶
GeoMesa Bigtable artifacts are available for download or can be built from source. The easiest way to get started is to download the most recent binary version (2.1.1) from GitHub.
Extract it somewhere convenient:
# download and unpackage the most recent distribution: $ wget "https://github.com/locationtech/geomesa/releases/download/geomesa_2.11-$VERSION/geomesa-bigtable_2.11-$VERSION-bin.tar.gz" $ tar xvf geomesa-bigtable_2.11-$VERSION-bin.tar.gz $ cd geomesa-bigtable_2.11-$VERSION $ ls bin conf dist docs examples lib LICENSE.txt logs
To run the command-line tools, the configuration file
hbase-site.xml must be on the classpath. This can
be accomplished by placing the file in the
conf folder. For more information, see Connecting to Cloud Bigtable.
12.1.2. Installing GeoMesa Bigtable in GeoServer¶
- GeoServer 2.13.0 and 2.13.1 are not recommended due to two serious bugs:
- GeoMesa WPS processes are not triggered correctly, and will run slowly or not at all
- GeoMesa count optimizations are bypassed, potentially resulting in large duplicate scans for WFS queries
The HBase GeoServer plugin is bundled by default in a GeoMesa binary distribution. To install, extract
WEB-INF/lib directory. This distribution does not include HBase or Hadoop JARs - the following JARs
should be copied into GeoServer’s
WEB-INF/lib directory. For convenience, the script
will download them from Maven Central.
(Note the versions may vary depending on your installation.)
The Bigtable data store requires the configuration file
hbase-site.xml to be on the classpath. This can
be accomplished by placing the file in
geoserver/WEB-INF/classes (you should make the directory if it
doesn’t exist). For more information, see Connecting to Cloud Bigtable.
Restart GeoServer after the JARs are installed.
22.214.171.124. Jackson Version¶
Some GeoMesa functions (in particular Arrow conversion) requires
jackson-core-2.6.x. Some versions
of GeoServer ship with an older version,
jackson-core-2.5.0.jar. After installing the GeoMesa
GeoServer plugin, be sure to delete the older JAR from GeoServer’s