Processing Big Data with Apache Hive and Esri ArcPy
Data Scientists, if you are processing and analyzing spatial data and are using Python , then ArcPy should be included in your arsenal of tools and ArcMap should be utilized for geo spatial data visualization. Following the last post where I extended Apache Hive with spatial User Defined Functions (UDFs), in this post I will demonstrate the usage of the "extended" Hive within Python and how to save the output into a feature class for rendering within ArcMap or any ArcWeb client using ArcGIS Server. Given a running Hadoop instance and assuming that you have installed Hive and have created a Hive table as described in the last post, start the Hive Thrift server as follows: $ hive --service hiveserver When ArcGIS for Desktop is installed on a host, Python is optionally installed and is enabled with GeoProcessing capabilities. Install Hive on your desktop and set the environment variable HIVE_HOME to the location where Hive is residing. To access the Hive python ...