<?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: urgent need: When try to run simple hive query: select count(*) form table , its shows the Error: Invalid distance too far back.. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134085#M39582</link>
    <description>&lt;P&gt;Thank you @&lt;A href="https://community.hortonworks.com/users/3486/cstanca.html"&gt;Constantin Stanca&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Actually i am new to hdp distribution ..i have below concern&lt;/P&gt;&lt;P&gt;#We loaded data into hive as textfile (uncompressed format).&lt;/P&gt;&lt;P&gt;#can  you expand this answer "I would start moving files out of that folder (HDFS) in reverse chronological order and repeat the query until successful"&lt;/P&gt;&lt;P&gt;# I have my query and existing hive file system&lt;/P&gt;&lt;P&gt;select count(*)
from db_c720_krux.events as a
where site_name like ('Ka2XfElb')
and day = '2016-06-17';&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/7394-issue4.png"&gt;issue4.png&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2016 23:45:03 GMT</pubDate>
    <dc:creator>g_rao9704</dc:creator>
    <dc:date>2016-09-06T23:45:03Z</dc:date>
    <item>
      <title>urgent need: When try to run simple hive query: select count(*) form table , its shows the Error: Invalid distance too far back..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134082#M39579</link>
      <description>&lt;P&gt;When i triger simple select count(*) form table on "database.table" its throws error "Invalid distance too far back.."&lt;/P&gt;&lt;P&gt;i have attached error log..please help me ..it is very high priority error for me..its really appreciated if you help me..&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/7312-6854-errorlog.png"&gt;6854-errorlog.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i have below info ..if its is useful to you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reduce.am.max-attempts= 2&lt;/P&gt;&lt;P&gt;yarn.resourcemanager.am.max-attempts =2 &lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 21:15:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134082#M39579</guid>
      <dc:creator>g_rao9704</dc:creator>
      <dc:date>2016-09-02T21:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: urgent need: When try to run simple hive query: select count(*) form table , its shows the Error: Invalid distance too far back..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134083#M39580</link>
      <description>&lt;P&gt;Your zip file may be corrupted.  How were the files imported into HDFS and hive?&lt;/P&gt;&lt;P&gt;Check out this article:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/52722/when-try-to-run-simple-hive-query-select-count-for.html" target="_blank"&gt;https://community.hortonworks.com/questions/52722/when-try-to-run-simple-hive-query-select-count-for.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is a way to load compressed zip files into hive:&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/CompressedStorage" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/CompressedStorage&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Sep 2016 21:27:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134083#M39580</guid>
      <dc:creator>Carolyn</dc:creator>
      <dc:date>2016-09-02T21:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: urgent need: When try to run simple hive query: select count(*) form table , its shows the Error: Invalid distance too far back..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134084#M39581</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/10953/grao9704.html"&gt;@sankar rao&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/10953/grao9704.html"&gt;&lt;/A&gt;An archive has been corrupted. You probably store compressed files (e.g. gzip or lzo) in Hive table directory and at least one of those files is corrupted. I would start moving files out of that folder (HDFS) in reverse chronological order and repeat the query until successful. That way you can find the corrupted archive. There are other ways to test your archives. You could do that too.&lt;/P&gt;&lt;P&gt;Try and let me know.&lt;/P&gt;&lt;P&gt;If this response or any response in this thread, please don't forget to vote and accept best answer.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Sep 2016 03:22:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134084#M39581</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-09-03T03:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: urgent need: When try to run simple hive query: select count(*) form table , its shows the Error: Invalid distance too far back..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134085#M39582</link>
      <description>&lt;P&gt;Thank you @&lt;A href="https://community.hortonworks.com/users/3486/cstanca.html"&gt;Constantin Stanca&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Actually i am new to hdp distribution ..i have below concern&lt;/P&gt;&lt;P&gt;#We loaded data into hive as textfile (uncompressed format).&lt;/P&gt;&lt;P&gt;#can  you expand this answer "I would start moving files out of that folder (HDFS) in reverse chronological order and repeat the query until successful"&lt;/P&gt;&lt;P&gt;# I have my query and existing hive file system&lt;/P&gt;&lt;P&gt;select count(*)
from db_c720_krux.events as a
where site_name like ('Ka2XfElb')
and day = '2016-06-17';&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/7394-issue4.png"&gt;issue4.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 23:45:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134085#M39582</guid>
      <dc:creator>g_rao9704</dc:creator>
      <dc:date>2016-09-06T23:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: urgent need: When try to run simple hive query: select count(*) form table , its shows the Error: Invalid distance too far back..</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134086#M39583</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/10953/grao9704.html"&gt;@rama&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yes. That's the idea. One of the files is somehow corrupted.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 23:52:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/urgent-need-When-try-to-run-simple-hive-query-select-count/m-p/134086#M39583</guid>
      <dc:creator>cstanca</dc:creator>
      <dc:date>2016-09-06T23:52:18Z</dc:date>
    </item>
  </channel>
</rss>

