<?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 Re: Hive: Can't get the md5 value in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-t-get-the-md5-value/m-p/117698#M47032</link>
    <description>&lt;P&gt;You were right, it was Hive view version, my bad  The Hive version is 1.2.1000.&lt;STRONG&gt;2.4&lt;/STRONG&gt;.3.0-227 and we are still on HDP 2.4 stack. It explains why the MD5 won't work.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2016 23:41:58 GMT</pubDate>
    <dc:creator>ashsskum</dc:creator>
    <dc:date>2016-11-23T23:41:58Z</dc:date>
    <item>
      <title>Hive: Can't get the md5 value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-t-get-the-md5-value/m-p/117696#M47030</link>
      <description>&lt;P&gt;I get the following error.  Any suggestions?&lt;/P&gt;&lt;P&gt;Hive Version: 1.5.0&lt;/P&gt;&lt;P&gt;hive&amp;gt; select md5(name) from account limit 1; &lt;/P&gt;&lt;P&gt;FAILED: SemanticException [Error 10011]: Line 1:7 Invalid function 'md5'&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-Misc.Functions" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-Misc.Functions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 13:29:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-t-get-the-md5-value/m-p/117696#M47030</guid>
      <dc:creator>ashsskum</dc:creator>
      <dc:date>2016-11-23T13:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hive: Can't get the md5 value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-t-get-the-md5-value/m-p/117697#M47031</link>
      <description>&lt;P&gt;I am not aware of Hive Version 1.5.0 (do you mean Hive View?)&lt;/P&gt;&lt;P&gt;Anyhow, it works on Hive 1.2.1 (as of HDP 2.5)&lt;/P&gt;&lt;PRE&gt;$ beeline -u "jdbc:hive2://192.168.124.145:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2" -n hive
Connecting to jdbc:hive2://192.168.124.145:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2
Connected to: Apache Hive (version 1.2.1000.2.5.0.0-1245)
Driver: Hive JDBC (version 1.2.1000.2.5.0.0-1245)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 1.2.1000.2.5.0.0-1245 by Apache Hive

0: jdbc:hive2://192.168.124.145:2181/&amp;gt; select dept_name, md5(dept_name) from departments limit 1;
+-------------------+-----------------------------------+--+
|     dept_name     |                _c1                |
+-------------------+-----------------------------------+--+
| Customer Service  | d5552e0564007d93ff5937a9cb3bc491  |
+-------------------+-----------------------------------+--+
1 row selected (0.337 seconds)&lt;/PRE&gt;&lt;P&gt;and on Hive 2.1 (TP in HDP 2.5)&lt;/P&gt;&lt;PRE&gt;$ beeline -u "jdbc:hive2://192.168.124.145:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2-hive2" -n hive
Connecting to jdbc:hive2://192.168.124.145:2181/;serviceDiscoveryMode=zooKeeper;zooKeeperNamespace=hiveserver2-hive2
Connected to: Apache Hive (version 2.1.0.2.5.0.0-1245)
Driver: Hive JDBC (version 1.2.1000.2.5.0.0-1245)
Transaction isolation: TRANSACTION_REPEATABLE_READ
Beeline version 1.2.1000.2.5.0.0-1245 by Apache Hive

0: jdbc:hive2://192.168.124.145:2181/&amp;gt; select dept_name, md5(dept_name) from departments limit 1;
+-------------------+-----------------------------------+--+
|     dept_name     |                c1                 |
+-------------------+-----------------------------------+--+
| Customer Service  | d5552e0564007d93ff5937a9cb3bc491  |
+-------------------+-----------------------------------+--+
1 row selected (6.083 seconds)&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:41:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-t-get-the-md5-value/m-p/117697#M47031</guid>
      <dc:creator>bwalter1</dc:creator>
      <dc:date>2016-11-23T15:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hive: Can't get the md5 value</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-t-get-the-md5-value/m-p/117698#M47032</link>
      <description>&lt;P&gt;You were right, it was Hive view version, my bad  The Hive version is 1.2.1000.&lt;STRONG&gt;2.4&lt;/STRONG&gt;.3.0-227 and we are still on HDP 2.4 stack. It explains why the MD5 won't work.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 23:41:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Hive-Can-t-get-the-md5-value/m-p/117698#M47032</guid>
      <dc:creator>ashsskum</dc:creator>
      <dc:date>2016-11-23T23:41:58Z</dc:date>
    </item>
  </channel>
</rss>

