<?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 Impala can not read the files stored in the hive dir in hdfs in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322179#M228704</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table in Impala and it had some files in its location in hdfs. All of a sudden it can not read the files. I tried to invalidate and recover the partitions but nothing happened. I also moved the files from this folder into a new's folder path but it couldn't read them too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE&lt;/P&gt;&lt;P&gt;Tried to repair the table in hive&lt;/P&gt;&lt;PRE&gt;set hive.msck.repair.batch.size=1;
set hive.msck.path.validation=ignore;
msck REPAIR TABLE db.table&lt;/PRE&gt;&lt;P&gt;but received this error :&lt;/P&gt;&lt;PRE&gt;Error while processing statement: FAILED: Execution Error, return code 1 
from org.apache.hadoop.hive.ql.exec.DDLTask&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Aug 2021 11:09:50 GMT</pubDate>
    <dc:creator>drgenious</dc:creator>
    <dc:date>2021-08-07T11:09:50Z</dc:date>
    <item>
      <title>Impala can not read the files stored in the hive dir in hdfs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322179#M228704</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table in Impala and it had some files in its location in hdfs. All of a sudden it can not read the files. I tried to invalidate and recover the partitions but nothing happened. I also moved the files from this folder into a new's folder path but it couldn't read them too.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UPDATE&lt;/P&gt;&lt;P&gt;Tried to repair the table in hive&lt;/P&gt;&lt;PRE&gt;set hive.msck.repair.batch.size=1;
set hive.msck.path.validation=ignore;
msck REPAIR TABLE db.table&lt;/PRE&gt;&lt;P&gt;but received this error :&lt;/P&gt;&lt;PRE&gt;Error while processing statement: FAILED: Execution Error, return code 1 
from org.apache.hadoop.hive.ql.exec.DDLTask&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 11:09:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322179#M228704</guid>
      <dc:creator>drgenious</dc:creator>
      <dc:date>2021-08-07T11:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Impala can not read the files stored in the hive dir in hdfs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322201#M228718</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you provide these below details to understand the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Initially from where you created the table in hive or impala?&lt;/P&gt;&lt;P&gt;2. Provide the DDL of the table that you are trying to query from impala.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;# show create table &amp;lt;table-name&amp;gt;;&lt;/P&gt;&lt;P&gt;3. list the files from hdfs path ( you will see the table path in the DDL def. )&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; # hdfs dfs -ls /table/path/&lt;/P&gt;&lt;P&gt;4. Are you able to access the same table data from hive?( if you are facing the issues from impala?&amp;nbsp; vice versa)&lt;/P&gt;&lt;P&gt;5. Go to HS2 logs/coordinator logs copy the entire error stack trace for the query that is failing and paste here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think these are the basic details needed for analysing the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;</description>
      <pubDate>Sun, 08 Aug 2021 16:47:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322201#M228718</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2021-08-08T16:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Impala can not read the files stored in the hive dir in hdfs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322223#M228724</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75213"&gt;@ChethanYM&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)I have created in impala.&lt;/P&gt;&lt;P&gt;2)result&lt;BR /&gt;CREATE TABLE db.table (&lt;BR /&gt;...&lt;BR /&gt;)&lt;BR /&gt;PARTITIONED BY (&lt;BR /&gt;...&lt;BR /&gt;)&lt;BR /&gt;SORT BY (&lt;BR /&gt;...&lt;BR /&gt;)&lt;BR /&gt;STORED AS PARQUET&lt;BR /&gt;LOCATION 'hdfs://path/'&lt;BR /&gt;TBLPROPERTIES ('DO_NOT_UPDATE_STATS'='true', 'STATS_GENERATED'='TASK', 'impala.lastComputeStatsTime'='1627655409', 'numRows'='0', 'parquet.compression'='snappy', 'totalSize'='0')&lt;/P&gt;&lt;P&gt;3) I have listed the files and they seem ok&lt;/P&gt;&lt;P&gt;4)I can access it but returns again 0 results&lt;/P&gt;&lt;P&gt;5)It is not failing the query. It can not read the partitions as it did before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Aug 2021 06:14:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322223#M228724</guid>
      <dc:creator>drgenious</dc:creator>
      <dc:date>2021-08-09T06:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Impala can not read the files stored in the hive dir in hdfs</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322274#M228738</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the query you are using to read the data from table? can you attach its "query profile" and coordinator logs to have a look?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan YM&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 00:40:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-can-not-read-the-files-stored-in-the-hive-dir-in-hdfs/m-p/322274#M228738</guid>
      <dc:creator>ChethanYM</dc:creator>
      <dc:date>2021-08-10T00:40:40Z</dc:date>
    </item>
  </channel>
</rss>

