<?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 Facing transport exception in hive in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292046#M215861</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have implement almost 300 lines of hive query. The query template is as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Insert into targetTable&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Select&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;col1,col2...........cols&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;(Almost 300 lines in select query with lots of case when statemnet)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;From source table&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My observation is that it works without giving any error in apache zeppeline. But when i trying to execute it through beeline it's failing with&amp;nbsp; transport exception response code 500.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other observation,when i remove few number of columns from select query in that&amp;nbsp; also it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not understand why query is failing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know the reason behind failure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Mar 2020 13:46:34 GMT</pubDate>
    <dc:creator>Manus</dc:creator>
    <dc:date>2020-03-18T13:46:34Z</dc:date>
    <item>
      <title>Facing transport exception in hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292046#M215861</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have implement almost 300 lines of hive query. The query template is as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Insert into targetTable&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Select&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;col1,col2...........cols&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;(Almost 300 lines in select query with lots of case when statemnet)&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;From source table&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My observation is that it works without giving any error in apache zeppeline. But when i trying to execute it through beeline it's failing with&amp;nbsp; transport exception response code 500.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other observation,when i remove few number of columns from select query in that&amp;nbsp; also it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not understand why query is failing ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to know the reason behind failure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Mar 2020 13:46:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292046#M215861</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2020-03-18T13:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Facing transport exception in hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292069#M215878</link>
      <description>&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/28114"&gt;@Manus&lt;/a&gt; ,&lt;BR /&gt;&lt;BR /&gt;Can you please share the error from Beeline and HS2 log? Without them, it is difficult to see what is going on.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;Eric</description>
      <pubDate>Wed, 18 Mar 2020 23:01:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292069#M215878</guid>
      <dc:creator>EricL</dc:creator>
      <dc:date>2020-03-18T23:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Facing transport exception in hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292089#M215887</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/10115"&gt;@EricL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I am getting below error in hiveserver log.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;10:20:02 START Executing current statement for: 'SCIP_Test_Env' [Hive]&lt;BR /&gt;10:20:03 FAILED [SELECT - 0 rows, 0.574 secs] [Code: 0, SQL State: 08S01] org.apache.hive.org.apache.thrift.transport.TTransportException: HTTP Response code: 500&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 06:02:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292089#M215887</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2020-03-19T06:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Facing transport exception in hive</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292117#M215898</link>
      <description>&lt;P&gt;Initially , My query was not converted in one line.Due to which i was facing syntax error in beeline itself.&amp;nbsp;&lt;BR /&gt;I converted complete big query into one line and working now.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 10:18:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Facing-transport-exception-in-hive/m-p/292117#M215898</guid>
      <dc:creator>Manus</dc:creator>
      <dc:date>2020-03-19T10:18:17Z</dc:date>
    </item>
  </channel>
</rss>

