<?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 query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124762#M87506</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;: Yes Jitendra I am facing problem for mr also. but when I am using hive cli then it is running fine for tez and mr. &lt;/P&gt;&lt;P&gt;443/default&amp;gt; select * from testtable where lct_nbr=2413 and ivo_nbr in (17469,18630);&lt;/P&gt;&lt;P&gt;Error: java.io.IOException: java.lang.RuntimeException: serious problem (state=,code=0)&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 17:32:31 GMT</pubDate>
    <dc:creator>SK1</dc:creator>
    <dc:date>2016-06-07T17:32:31Z</dc:date>
    <item>
      <title>Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124760#M87504</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;My simple query is failing with following error when I am running on external portioned table though beeline. &lt;/P&gt;&lt;P&gt;0: jdbc:hive2://server1:8443/default&amp;gt; select * from testtable where lct_nbr=2413 and ivo_nbr in (17469,18630);&lt;/P&gt;&lt;P&gt;Error: java.io.IOException: java.lang.RuntimeException: serious problem (state=,code=0)&lt;/P&gt;&lt;P&gt;I found following in hiveserver2 log. &lt;/P&gt;&lt;P&gt;Caused by: java.io.IOException: java.lang.RuntimeException: serious problem
at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:508)
at org.apache.hadoop.hive.ql.exec.FetchOperator.pushRow(FetchOperator.java:415)
at org.apache.hadoop.hive.ql.exec.FetchTask.fetch(FetchTask.java:140)
at org.apache.hive.service.cli.operation.SQLOperation.getNextRowSet(SQLOperation.java:347)
... 43 more
Caused by: java.lang.RuntimeException: serious problem
at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:1059)
at org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.getSplits(OrcInputFormat.java:1086)
at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextSplits(FetchOperator.java:363)
at org.apache.hadoop.hive.ql.exec.FetchOperator.getRecordReader(FetchOperator.java:295)
at org.apache.hadoop.hive.ql.exec.FetchOperator.getNextRow(FetchOperator.java:446)
... 47 more&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 10:23:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124760#M87504</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2022-09-16T10:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124761#M87505</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt;&lt;P&gt;Are you also facign same issue when using mr engine?&lt;/P&gt;&lt;PRE&gt;set hive.execution.engine=mr;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Jun 2016 17:25:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124761#M87505</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-07T17:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124762#M87506</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;: Yes Jitendra I am facing problem for mr also. but when I am using hive cli then it is running fine for tez and mr. &lt;/P&gt;&lt;P&gt;443/default&amp;gt; select * from testtable where lct_nbr=2413 and ivo_nbr in (17469,18630);&lt;/P&gt;&lt;P&gt;Error: java.io.IOException: java.lang.RuntimeException: serious problem (state=,code=0)&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 17:32:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124762#M87506</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-06-07T17:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124763#M87507</link>
      <description>&lt;P&gt;Kindly share more hiveserver2 logs it might have required info. May be permission issue?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 17:51:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124763#M87507</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-07T17:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124764#M87508</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;: I also thought of permission issue. But I did not get anything from ranger audit and even in hiveserevr2 log as well. &lt;/P&gt;&lt;P&gt;I saw one suspicious thing,actually logged in user is getting switched to some other users.&lt;/P&gt;&lt;P&gt;So any idea of such case ?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 19:03:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124764#M87508</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-06-07T19:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124765#M87509</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Is this happening with single user or with all users? Did you checked your Hive impersonation setting?.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 19:17:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124765#M87509</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-06-07T19:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124766#M87510</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt;: This is a bug &lt;A href="https://issues.apache.org/jira/browse/HIVE-13120"&gt;https://issues.apache.org/jira/browse/HIVE-13120&lt;/A&gt; for odbc only. It was checking for wrong user due to this bug. &lt;/P&gt;hive.fetch.task.conversion&lt;UL&gt;
&lt;LI&gt;Default Value: &lt;CODE&gt;minimal&lt;/CODE&gt; in Hive 0.10.0 through 0.13.1, &lt;CODE&gt;more&lt;/CODE&gt; in Hive 0.14.0 and later&lt;/LI&gt;&lt;LI&gt;Added In: Hive 0.10.0 with &lt;A href="https://issues.apache.org/jira/browse/HIVE-2925"&gt;HIVE-2925&lt;/A&gt;; default changed in Hive 0.14.0 with &lt;A href="https://issues.apache.org/jira/browse/HIVE-7397"&gt;HIVE-7397&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Some select queries can be converted to a single FETCH task, minimizing latency. Currently the query should be single sourced not having any subquery and should not have any aggregations or distincts (which incur RS – ReduceSinkOperator, requiring a MapReduce task), lateral views and joins.&lt;/P&gt;&lt;P&gt;Supported values are none, &lt;CODE&gt;minimal&lt;/CODE&gt; and &lt;CODE&gt;more&lt;/CODE&gt;.&lt;/P&gt;&lt;P&gt;0. &lt;CODE&gt;none&lt;/CODE&gt;:  Disable hive.fetch.task.conversion (value added in Hive 0.14.0 with &lt;A href="https://issues.apache.org/jira/browse/HIVE-8389"&gt;HIVE-8389&lt;/A&gt;)
1. &lt;CODE&gt;minimal&lt;/CODE&gt;:  SELECT *, FILTER on partition columns (WHERE and HAVING clauses), LIMIT only
2. &lt;CODE&gt;more&lt;/CODE&gt;:  SELECT, FILTER, LIMIT only (including TABLESAMPLE, virtual columns)&lt;/P&gt;&lt;P&gt;"&lt;CODE&gt;more&lt;/CODE&gt;" can take any kind of expressions in the SELECT clause, including UDFs.
(UDTFs and lateral views are not yet supported – see &lt;A href="https://issues.apache.org/jira/browse/HIVE-5718"&gt;HIVE-5718&lt;/A&gt;.)&lt;/P&gt;&lt;P&gt;So to resolve this issue we have to set none like below and in this way issue will get resolved. &lt;/P&gt;hive.fetch.task.conversion=none</description>
      <pubDate>Wed, 08 Jun 2016 13:02:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124766#M87510</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-06-08T13:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124767#M87511</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt;&lt;P&gt;Looks like this is caused by &lt;A href="https://issues.apache.org/jira/browse/HIVE-13120"&gt;HIVE-13120&lt;/A&gt; and a fix for this will be in HDP 2.4.2.0. The work-around is to set&lt;/P&gt;&lt;PRE&gt;hive.fetch.task.conversion=none&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jun 2016 14:53:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124767#M87511</guid>
      <dc:creator>tstebbens</dc:creator>
      <dc:date>2016-06-08T14:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124768#M87512</link>
      <description>&lt;P&gt;This fixed my problem. I am on HDP 2.5.0 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 21:42:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124768#M87512</guid>
      <dc:creator>priyanxmail</dc:creator>
      <dc:date>2017-02-27T21:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hive query failing with org.apache.hive.service.cli.HiveSQLException: java.io.IOException: java.lang.RuntimeException: serious problem.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124769#M87513</link>
      <description>&lt;P&gt;I saw this error today. Apparently my hdfs file was in .csv but my table structure was in ORC.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 11:05:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-query-failing-with-org-apache-hive-service-cli/m-p/124769#M87513</guid>
      <dc:creator>ihaleem9</dc:creator>
      <dc:date>2018-12-06T11:05:44Z</dc:date>
    </item>
  </channel>
</rss>

