<?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 Loading data into Hive table is infinite from other hive table in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Loading-data-into-Hive-table-is-infinite-from-other-hive/m-p/242301#M204104</link>
    <description>&lt;P&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;: Loading data into Hive ORC table is infinite, I should manually kill the load process.&lt;/P&gt;&lt;P&gt;I am trying to load data into ORC Hive table from another
Hive TEXTFILE table. Since the source files are TXT/Json, loading data first
into TEXT table and then trying to load into ORC table.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cluster&lt;/STRONG&gt;: HDP 2.6.5-292&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hive version&lt;/STRONG&gt;: 1.2.1000.2.6.5.0-292&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the Hive TEXTFILE table schema&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Create external table if not exists  TEXTTable(ID
bigint, DOCUMENT_ID bigint, NUM varchar(20), SUBMITTER_ID bigint, FILING
string, CODE varchar(10), RECEIPTNUM varchar(20))&lt;/P&gt;&lt;P&gt;row format delimited fields terminated by '|' &lt;/P&gt;&lt;P&gt;Location '/data/3rdPartyData/Hive/ TEXTTable '&lt;/P&gt;&lt;P&gt;TBLPROPERTIES ('skip.header.line.count'='1');&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Data into TEXTFILE table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;load data local inpath '/data/TextFile.txt' overwrite into
table TEXTTable;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the Hive ORC table schema:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create external table if not exists  ORCTable(ID
bigint, DOCUMENT_ID bigint, NUM varchar(20), SUBMITTER_ID bigint, FILING
TIMESTAMP, CODE varchar(10), RECEIPTNUM varchar(20))&lt;/P&gt;&lt;P&gt;row format delimited fields terminated by '|'&lt;/P&gt;&lt;P&gt;STORED as ORC&lt;/P&gt;&lt;P&gt;Location '/data/3rdPartyData/Hive/ ORCTable '&lt;/P&gt;&lt;P&gt;TBLPROPERTIES ('orc.compress'='SNAPPY'); &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load data into ORC table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Insert overwrite table ORCTable select _ID, DOCUMENT_ID,
NUM, SUBMITTER_ID,from_unixtime(unix_timestamp(FILING,
"yyyy-MM-dd'T'HH:mm:ss")) as FILING, CODE, RECEIPTNUM from TEXTTable;&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2019 00:57:08 GMT</pubDate>
    <dc:creator>yrawekumarr</dc:creator>
    <dc:date>2019-01-17T00:57:08Z</dc:date>
    <item>
      <title>Loading data into Hive table is infinite from other hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Loading-data-into-Hive-table-is-infinite-from-other-hive/m-p/242301#M204104</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Issue&lt;/STRONG&gt;: Loading data into Hive ORC table is infinite, I should manually kill the load process.&lt;/P&gt;&lt;P&gt;I am trying to load data into ORC Hive table from another
Hive TEXTFILE table. Since the source files are TXT/Json, loading data first
into TEXT table and then trying to load into ORC table.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cluster&lt;/STRONG&gt;: HDP 2.6.5-292&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hive version&lt;/STRONG&gt;: 1.2.1000.2.6.5.0-292&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the Hive TEXTFILE table schema&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;Create external table if not exists  TEXTTable(ID
bigint, DOCUMENT_ID bigint, NUM varchar(20), SUBMITTER_ID bigint, FILING
string, CODE varchar(10), RECEIPTNUM varchar(20))&lt;/P&gt;&lt;P&gt;row format delimited fields terminated by '|' &lt;/P&gt;&lt;P&gt;Location '/data/3rdPartyData/Hive/ TEXTTable '&lt;/P&gt;&lt;P&gt;TBLPROPERTIES ('skip.header.line.count'='1');&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load Data into TEXTFILE table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;load data local inpath '/data/TextFile.txt' overwrite into
table TEXTTable;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Here is the Hive ORC table schema:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Create external table if not exists  ORCTable(ID
bigint, DOCUMENT_ID bigint, NUM varchar(20), SUBMITTER_ID bigint, FILING
TIMESTAMP, CODE varchar(10), RECEIPTNUM varchar(20))&lt;/P&gt;&lt;P&gt;row format delimited fields terminated by '|'&lt;/P&gt;&lt;P&gt;STORED as ORC&lt;/P&gt;&lt;P&gt;Location '/data/3rdPartyData/Hive/ ORCTable '&lt;/P&gt;&lt;P&gt;TBLPROPERTIES ('orc.compress'='SNAPPY'); &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load data into ORC table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Insert overwrite table ORCTable select _ID, DOCUMENT_ID,
NUM, SUBMITTER_ID,from_unixtime(unix_timestamp(FILING,
"yyyy-MM-dd'T'HH:mm:ss")) as FILING, CODE, RECEIPTNUM from TEXTTable;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 00:57:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Loading-data-into-Hive-table-is-infinite-from-other-hive/m-p/242301#M204104</guid>
      <dc:creator>yrawekumarr</dc:creator>
      <dc:date>2019-01-17T00:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data into Hive table is infinite from other hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Loading-data-into-Hive-table-is-infinite-from-other-hive/m-p/242302#M204105</link>
      <description>&lt;P&gt;I have noticed that it is not only ORC table, it is also the same for normal table. This is happening to load data from other table whereas loading data from source file into table is fine. &lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 01:42:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Loading-data-into-Hive-table-is-infinite-from-other-hive/m-p/242302#M204105</guid>
      <dc:creator>yrawekumarr</dc:creator>
      <dc:date>2019-01-17T01:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Loading data into Hive table is infinite from other hive table</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Loading-data-into-Hive-table-is-infinite-from-other-hive/m-p/242303#M204106</link>
      <description>&lt;P&gt;Since it is weird behavior, I have rechecked all the memory usage and configuration and noticed that it was due to TEZ memory set to Yarn Max memory. After reducing the TEZ memory, this is fixed.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 05:07:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Loading-data-into-Hive-table-is-infinite-from-other-hive/m-p/242303#M204106</guid>
      <dc:creator>yrawekumarr</dc:creator>
      <dc:date>2019-01-17T05:07:10Z</dc:date>
    </item>
  </channel>
</rss>

