<?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>topic Re: Error: Unsupported Hive2 protocol in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-Unsupported-Hive2-protocol/m-p/2306270#M77834</link>
    <description>Hi,
&lt;BR /&gt;For your&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Talend Data Fabric&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;product, have you already reported a ticket on Talend Support Portal? In this way, we can give you a remote assistance through support cycle with priority.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
    <pubDate>Fri, 22 Jul 2016 04:55:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-07-22T04:55:23Z</dc:date>
    <item>
      <title>Error: Unsupported Hive2 protocol</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Unsupported-Hive2-protocol/m-p/2306269#M77833</link>
      <description>Here is my case: 
&lt;BR /&gt;Talend Data Fabric 6.11 
&lt;BR /&gt;I created a job with 2 ELTHiveMap component, one's output as other's input, 
&lt;BR /&gt; 
&lt;BR /&gt;I ran this job in Talend without any problem, 
&lt;BR /&gt;but after I build the job deploy to Cluster, start with the shell script cust_snapshot_acct_rltnp_master_run.sh 
&lt;BR /&gt;I got the error message: 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;...&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;: org.apache.hive.jdbc.HiveConnection - Error opening session&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;org.apache.thrift.TException: Unsupported Hive2 protocol&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hive.jdbc.HiveConnection.openSession(HiveConnection.java:461)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:178)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.sql.DriverManager.getConnection(DriverManager.java:571)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.sql.DriverManager.getConnection(DriverManager.java:233)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_tsz_account_relationship_to_ez_cust_acct_rltnp_0_1.CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.tELTHiveMap_1Process(CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.java:684)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_tsz_account_relationship_to_ez_cust_acct_rltnp_0_1.CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.runJobInTOS(CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.java:1173)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_tsz_account_relationship_to_ez_cust_acct_rltnp_0_1.CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.runJob(CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.java:900)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_snapshot_acct_rltnp_master_0_1.cust_snapshot_acct_rltnp_master.tRunJob_1Process(cust_snapshot_acct_rltnp_master.java:713)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_snapshot_acct_rltnp_master_0_1.cust_snapshot_acct_rltnp_master.runJobInTOS(cust_snapshot_acct_rltnp_master.java:1124)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_snapshot_acct_rltnp_master_0_1.cust_snapshot_acct_rltnp_master.main(cust_snapshot_acct_rltnp_master.java:841)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;: project.cust_tsz_account_relationship_to_ez_cust_acct_rltnp_0_1.CUST_tsz_account_relationship_to_ez_cust_acct_rltnp - tELTHiveOutput_1 Could not establish connection to jdbc:hive2://xxxxxxx (I masked the connection information): Unsupported Hive2 protocol&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;Exception in component tELTHiveOutput_1&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;java.sql.SQLException: Could not establish connection to jdbc:hive2://xxxxxxx (I masked the connection information): Unsupported Hive2 protocol&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hive.jdbc.HiveConnection.openSession(HiveConnection.java:467)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hive.jdbc.HiveConnection.&amp;lt;init&amp;gt;(HiveConnection.java:178)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:105)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.sql.DriverManager.getConnection(DriverManager.java:571)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at java.sql.DriverManager.getConnection(DriverManager.java:233)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_tsz_account_relationship_to_ez_cust_acct_rltnp_0_1.CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.tELTHiveMap_1Process(CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.java:684)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_tsz_account_relationship_to_ez_cust_acct_rltnp_0_1.CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.runJobInTOS(CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.java:1173)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_tsz_account_relationship_to_ez_cust_acct_rltnp_0_1.CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.runJob(CUST_tsz_account_relationship_to_ez_cust_acct_rltnp.java:900)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_snapshot_acct_rltnp_master_0_1.cust_snapshot_acct_rltnp_master.tRunJob_1Process(cust_snapshot_acct_rltnp_master.java:713)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_snapshot_acct_rltnp_master_0_1.cust_snapshot_acct_rltnp_master.runJobInTOS(cust_snapshot_acct_rltnp_master.java:1124)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at project.cust_snapshot_acct_rltnp_master_0_1.cust_snapshot_acct_rltnp_master.main(cust_snapshot_acct_rltnp_master.java:841)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;Caused by: org.apache.thrift.TException: Unsupported Hive2 protocol&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; at org.apache.hive.jdbc.HiveConnection.openSession(HiveConnection.java:461)&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ... 10 more&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#3333ff"&gt;...&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;when I open the shell script cust_snapshot_acct_rltnp_master_run.sh 
&lt;BR /&gt;I found there are couple of hadoop related jar reference with different version: 
&lt;BR /&gt; 
&lt;FONT color="#339999"&gt;#!/bin/sh&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#339999"&gt;cd `dirname $0`&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#339999"&gt;ROOT_PATH=`pwd`&lt;/FONT&gt; 
&lt;BR /&gt; 
&lt;FONT color="#339999"&gt;java -Xms256M -Xmx1024M -cp .:$ROOT_PATH...:$ROOT_PATH/../lib/hadoop-hdfs-2.7.1.2.3.2.0-2950.jar...:$ROOT_PATH/../lib/hadoop-hdfs-2.6.0-amzn-0.jar...&lt;/FONT&gt; 
&lt;BR /&gt;We have the reference to hadoop-hdfs-2.7 and hadoop-hdfs-2.6 at same time, also with other jar like&amp;nbsp;hive-jdbc have two version, 
&lt;BR /&gt;After I remove the lower version (because my cluster is 2.7), then the job work properly. 
&lt;BR /&gt;All other job without multiple ELTHiveMap component works find, I checked those job's shell script file, no duplicated versionof jar reference. 
&lt;BR /&gt;Can you please check what cause the problem? 
&lt;BR /&gt;really appreciated. 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MB2e.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154080iFF0FA6722FFFFF9E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MB2e.png" alt="0683p000009MB2e.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Jul 2016 14:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Unsupported-Hive2-protocol/m-p/2306269#M77833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-16T14:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Unsupported Hive2 protocol</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-Unsupported-Hive2-protocol/m-p/2306270#M77834</link>
      <description>Hi,
&lt;BR /&gt;For your&amp;nbsp;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Talend Data Fabric&lt;/FONT&gt;&lt;/FONT&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;&amp;nbsp;product, have you already reported a ticket on Talend Support Portal? In this way, we can give you a remote assistance through support cycle with priority.&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Best regards&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;FONT size="1"&gt;&lt;FONT face="Verdana, Helvetica, Arial, sans-serif"&gt;Sabrina&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 22 Jul 2016 04:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-Unsupported-Hive2-protocol/m-p/2306270#M77834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-22T04:55:23Z</dc:date>
    </item>
  </channel>
</rss>

