<?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: deleting files after ingesting data in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/deleting-files-after-ingesting-data/m-p/208606#M66316</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12437/balavigneshnagamuthuvenkatesan.html" nodeid="12437"&gt;@Bala Vignesh N V&lt;/A&gt; I have sorted it, thanks for your help&lt;/P&gt;</description>
    <pubDate>Fri, 24 Nov 2017 00:16:12 GMT</pubDate>
    <dc:creator>mark_hadoop</dc:creator>
    <dc:date>2017-11-24T00:16:12Z</dc:date>
    <item>
      <title>deleting files after ingesting data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/deleting-files-after-ingesting-data/m-p/208604#M66314</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to understand the below.&lt;/P&gt;&lt;P&gt;1. I have placed a log file in to hdfs&lt;/P&gt;&lt;P&gt;2. Then processed the log file in hdfs to csv format, say location of the csv is "/my/loc/" (both steps (1&amp;amp;2) using nifi).&lt;/P&gt;&lt;P&gt;3. created a table in hive "create external table load_table (col1, col2, ...) fields terminated by ',' lines terminated by '\n' stored as textfile location '/my/loc'&lt;/P&gt;&lt;P&gt;-----I want to do as below-----&lt;/P&gt;&lt;P&gt;4. copy the above data from load_table to orig_table(internal table)&lt;/P&gt;&lt;P&gt;5. remove the csv file (as the data is stream data in to csv, it may grow endless).&lt;/P&gt;&lt;P&gt;&lt;U&gt;Things need clarification:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;I have used puthiveql processor to do step 4, as &lt;STRONG&gt;insert overwrite table orig_table select col1, col2, ... from load_table;&lt;/STRONG&gt; but I was getting error that &lt;STRONG&gt;"extraneous input ";" expecting  EOF near &amp;lt;EOF&amp;gt;.&lt;/STRONG&gt; I thought because of ";" in the insert statement, removed it but got &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;STRONG&gt;org.apache.hadoop.hive.ql.exec.movetask" &lt;/STRONG&gt;error.&lt;/P&gt;&lt;P&gt;Also,  for step 5, how can I remove csv, as streaming data is coming and storing in csv, this may grow huge.&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2017 20:54:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/deleting-files-after-ingesting-data/m-p/208604#M66314</guid>
      <dc:creator>mark_hadoop</dc:creator>
      <dc:date>2017-08-09T20:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: deleting files after ingesting data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/deleting-files-after-ingesting-data/m-p/208605#M66315</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/23208/hadoopuserhadoop.html" nodeid="23208"&gt;@Hadoop User&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Could you help with the complete log. It will be easier to sort it out if the complete log file is available.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 14:01:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/deleting-files-after-ingesting-data/m-p/208605#M66315</guid>
      <dc:creator>balavignesh_nag</dc:creator>
      <dc:date>2017-08-10T14:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: deleting files after ingesting data</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/deleting-files-after-ingesting-data/m-p/208606#M66316</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12437/balavigneshnagamuthuvenkatesan.html" nodeid="12437"&gt;@Bala Vignesh N V&lt;/A&gt; I have sorted it, thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 24 Nov 2017 00:16:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/deleting-files-after-ingesting-data/m-p/208606#M66316</guid>
      <dc:creator>mark_hadoop</dc:creator>
      <dc:date>2017-11-24T00:16:12Z</dc:date>
    </item>
  </channel>
</rss>

