<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How do I define ESRI spatial Hive functions to be available across multiple sessions? What happens on Hive service restart? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-define-ESRI-spatial-Hive-functions-to-be-available/m-p/167371#M37084</link>
    <description>&lt;P&gt;How
do I define ESRI spatial Hive functions to be available across multiple
sessions? What happens on Hive service restart?&lt;/P&gt;</description>
    <pubDate>Sat, 06 Aug 2016 01:56:41 GMT</pubDate>
    <dc:creator>sivakumar_sudha</dc:creator>
    <dc:date>2016-08-06T01:56:41Z</dc:date>
    <item>
      <title>How do I define ESRI spatial Hive functions to be available across multiple sessions? What happens on Hive service restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-define-ESRI-spatial-Hive-functions-to-be-available/m-p/167371#M37084</link>
      <description>&lt;P&gt;How
do I define ESRI spatial Hive functions to be available across multiple
sessions? What happens on Hive service restart?&lt;/P&gt;</description>
      <pubDate>Sat, 06 Aug 2016 01:56:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-define-ESRI-spatial-Hive-functions-to-be-available/m-p/167371#M37084</guid>
      <dc:creator>sivakumar_sudha</dc:creator>
      <dc:date>2016-08-06T01:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I define ESRI spatial Hive functions to be available across multiple sessions? What happens on Hive service restart?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-define-ESRI-spatial-Hive-functions-to-be-available/m-p/167372#M37085</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/12317/sivakumarsudhakarannairgirijakumari.html"&gt;sivakumar sudhakarannair girijakumari&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you want the function to be available globally, across multiple sessions, you need to create a permanent function,e.g.&lt;/P&gt;&lt;PRE&gt;create function ST_AsText as 'com.esri.hadoop.hive.ST_AsText';&lt;/PRE&gt;&lt;P&gt;You should issue "create function" statements via a global script. Assuming that you modified a function, in order to recreate it, you would need first to drop it. This script should be executed as part of Hive service start/restart such that functions will still be available.&lt;/P&gt;&lt;PRE&gt;drop function ST_AsText as 'com.esri.hadoop.hive.ST_AsText';&lt;/PRE&gt;</description>
      <pubDate>Sun, 07 Aug 2016 01:21:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-I-define-ESRI-spatial-Hive-functions-to-be-available/m-p/167372#M37085</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-08-07T01:21:52Z</dc:date>
    </item>
  </channel>
</rss>

