<?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: Query hive acid with spark in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192416#M68480</link>
    <description>&lt;P&gt;@deepesh&lt;BR /&gt;I think there is also problem with hive modification made by hortonworks.&lt;BR /&gt;Could you please look at my comments in Spark Jira ? &lt;A href="https://issues.apache.org/jira/browse/SPARK-16996"&gt;SPARK-16996&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2017 15:41:53 GMT</pubDate>
    <dc:creator>maciek1</dc:creator>
    <dc:date>2017-11-20T15:41:53Z</dc:date>
    <item>
      <title>Query hive acid with spark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192413#M68477</link>
      <description>&lt;P&gt;Unable to query hive acid with 
spark getting following exception&lt;/P&gt;&lt;P&gt;Caused by: 
java.util.concurrent.ExecutionException: java.lang.NumberFormatException: For 
input string: "0012050_0000"&lt;/P&gt;&lt;P&gt;at 
java.util.concurrent.FutureTask.report(FutureTask.java:122)&lt;/P&gt;&lt;P&gt;at 
java.util.concurrent.FutureTask.get(FutureTask.java:192)&lt;/P&gt;&lt;P&gt;at 
org.apache.hadoop.hive.ql.io.orc.OrcInputFormat.generateSplitsInfo(OrcInputFormat.java:998)&lt;/P&gt;&lt;P&gt;... 118 
more&lt;/P&gt;&lt;P&gt;Caused by: 
java.lang.NumberFormatException: For input string: 
"0012050_0000"&lt;/P&gt;&lt;P&gt;at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)&lt;/P&gt;&lt;P&gt;at 
java.lang.Long.parseLong(Long.java:589)&lt;/P&gt;&lt;P&gt;at 
java.lang.Long.parseLong(Long.java:631)&lt;/P&gt;&lt;P&gt;at 
org.apache.hadoop.hive.ql.io.AcidUtils.parseDelta(AcidUtils.java:310)&lt;/P&gt;&lt;P&gt;at 
org.apache.hadoop.hive.ql.io.AcidUtils.getAcidState(AcidUtils.java:379)&lt;/P&gt;&lt;P&gt;at 
org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.call(OrcInputFormat.java:634)&lt;/P&gt;&lt;P&gt;at 
org.apache.hadoop.hive.ql.io.orc.OrcInputFormat$FileGenerator.call(OrcInputFormat.java:620)&lt;/P&gt;&lt;P&gt;at 
java.util.concurrent.FutureTask.run(FutureTask.java:266)&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 22:24:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192413#M68477</guid>
      <dc:creator>itsssudheer</dc:creator>
      <dc:date>2017-09-22T22:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Query hive acid with spark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192414#M68478</link>
      <description>&lt;P&gt;Reading Hive ACID ORC data has some issues, it seems the data is not visible unless you compact the table atleast once, see &lt;A target="_blank" href="https://issues.apache.org/jira/browse/SPARK-16996"&gt;SPARK-16996&lt;/A&gt;. Hive ACID tables ORC data operations are currently not supported from Spark, see &lt;A href="https://issues.apache.org/jira/browse/SPARK-15348"&gt;SPARK-15348&lt;/A&gt;. &lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 23:48:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192414#M68478</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2017-09-22T23:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query hive acid with spark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192415#M68479</link>
      <description>&lt;P&gt;@sudheer &lt;/P&gt;&lt;P&gt;Could you please run the major compact after the ETL ingestion.&lt;/P&gt;&lt;PRE&gt;please find below alter statement for the reference 

alter table &amp;lt;&amp;lt;table_name&amp;gt;&amp;gt; compact 'MAJOR';&lt;/PRE&gt;</description>
      <pubDate>Sat, 23 Sep 2017 04:10:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192415#M68479</guid>
      <dc:creator>njayakumar</dc:creator>
      <dc:date>2017-09-23T04:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: Query hive acid with spark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192416#M68480</link>
      <description>&lt;P&gt;@deepesh&lt;BR /&gt;I think there is also problem with hive modification made by hortonworks.&lt;BR /&gt;Could you please look at my comments in Spark Jira ? &lt;A href="https://issues.apache.org/jira/browse/SPARK-16996"&gt;SPARK-16996&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 15:41:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192416#M68480</guid>
      <dc:creator>maciek1</dc:creator>
      <dc:date>2017-11-20T15:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Query hive acid with spark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192417#M68481</link>
      <description>&lt;P&gt;alter table &amp;lt;&amp;lt;table_name&amp;gt;&amp;gt; compact 'MAJOR';&lt;/P&gt;&lt;P&gt;Hi, Is this way worked for any one ? &lt;/P&gt;&lt;P&gt;If worked for you, can you help me out in for what table we need to this compact action. &lt;/P&gt;&lt;P&gt;In may case I have a master table mt1 and lookup tables t2,t3,t4,t5. And I am inserting this select result to target table t6. These all are orc type.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Thirupathi Nerella&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 01:26:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192417#M68481</guid>
      <dc:creator>thirun66</dc:creator>
      <dc:date>2018-07-30T01:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Query hive acid with spark</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192418#M68482</link>
      <description>&lt;P&gt;Is this worked ?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jul 2018 01:27:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Query-hive-acid-with-spark/m-p/192418#M68482</guid>
      <dc:creator>thirun66</dc:creator>
      <dc:date>2018-07-30T01:27:31Z</dc:date>
    </item>
  </channel>
</rss>

