Good catch. Thanks for reporting this issue. I've filed
IMPALA-749<https://issues.cloudera.org/browse/IMPALA-749> to
track it.
Thanks,
Alan
On Mon, Jan 13, 2014 at 7:52 PM, Sammy Yu wrote:
Hi Alan,
Thanks for the reply. The explain shows (32,767 partitions which
is less than the expected 38,687 partitions):
Are there any logs that I can provide? Is there a way to to dump out
what catalogd views of the partitions like I can see the partitions in
hive's metastore:
mysql> select count(1) from PARTITIONS where TBL_ID=6;
+----------+
1 row in set (0.00 sec)
Thanks,
Sammy
the
an
To unsubscribe from this group and stop receiving emails from it, send an
email to impala-user+unsubscribe@cloudera.org.To unsubscribe from this group and stop receiving emails from it, send an
email to impala-user+unsubscribe@cloudera.org.
To unsubscribe from this group and stop receiving emails from it, send an email to impala-user+unsubscribe@cloudera.org.Hi Alan,
Thanks for the reply. The explain shows (32,767 partitions which
is less than the expected 38,687 partitions):
0:SCAN HDFS
table=default.raw_3p #partitions=32767/32767 size=130.69GB |
I ran "invalidate metadata", but the explain still came back with 32,767..table=default.raw_3p #partitions=32767/32767 size=130.69GB |
Are there any logs that I can provide? Is there a way to to dump out
what catalogd views of the partitions like I can see the partitions in
hive's metastore:
mysql> select count(1) from PARTITIONS where TBL_ID=6;
+----------+
count(1) |
+----------+
38687 |
+----------++----------+
38687 |
1 row in set (0.00 sec)
Thanks,
Sammy
On Mon, Jan 13, 2014 at 7:32 PM, Alan Choi wrote:
Hi Sammy,
If you run "explain select count(*) from your_tbl", the plan will tell you
the number of partitions being scanned. Is that number correct?
If it is correct, that probably means that some of the data files can't be
read correctly by Impala.
If it's not correct, then maybe you can try running "invalidate metadata"
(that's different from refresh; see this link for more details)?
Thanks,
Alan
differedHi Sammy,
If you run "explain select count(*) from your_tbl", the plan will tell you
the number of partitions being scanned. Is that number correct?
If it is correct, that probably means that some of the data files can't be
read correctly by Impala.
If it's not correct, then maybe you can try running "invalidate metadata"
(that's different from refresh; see this link for more details)?
Thanks,
Alan
On Fri, Jan 10, 2014 at 7:39 PM, Sammy Yu wrote:
Hi,
I'm running impala 1.2.3 on with a rcfile table with 38687 partitions
that was created from hive. Afterwards, I did a refresh metadata and
compared the select count(1) results and noticed that the result
Hi,
I'm running impala 1.2.3 on with a rcfile table with 38687 partitions
that was created from hive. Afterwards, I did a refresh metadata and
compared the select count(1) results and noticed that the result
(impala results was significantly smaller than hive). I did further
investigation and determined that impala was not considering some of my
later partitions.
The hive show partition results came back as expected. I tried using
investigation and determined that impala was not considering some of my
later partitions.
The hive show partition results came back as expected. I tried using
show table stats command in impala, but I'm getting an error:
[ip-10-124-195-6.ec2.internal:21000] > SHOW TABLE STATS rcfile_3p;
Query: show TABLE STATS rcfile_3p
ERROR: IllegalArgumentException: Comparison method violates its general
contract!
Thanks for your help.
Best,
Sammy
To unsubscribe from this group and stop receiving emails from it, send
[ip-10-124-195-6.ec2.internal:21000] > SHOW TABLE STATS rcfile_3p;
Query: show TABLE STATS rcfile_3p
ERROR: IllegalArgumentException: Comparison method violates its general
contract!
Thanks for your help.
Best,
Sammy
To unsubscribe from this group and stop receiving emails from it, send
email to impala-user+unsubscribe@cloudera.org.
To unsubscribe from this group and stop receiving emails from it, send an
email to impala-user+unsubscribe@cloudera.org.
email to impala-user+unsubscribe@cloudera.org.