Member since
10-27-2015
2
Posts
0
Kudos Received
0
Solutions
10-27-2015
10:53 AM
Thanks for the response, and yes, is looks like that's the issue - going over our logs it sems that this only occurs when we have multiple impalads targeting different partitions in the same table. Incidentally, I think we've seen this with as few as two concurrent operations, but in this case the two operations are likely to both start and complete at almost exactly the same times, so I guess there may be some race condition when updating the partition metadata?
... View more
10-27-2015
04:21 AM
Hi there, We're seeing an intermittent issue with some of our Impala queries, where a compute incremental stats statement will fail with an "AnalysisException: Partition spec does not exist:" error, immediately after we have created the partition in the same script. So, a (faked) example would look like: ALTER TABLE db.table_name DROP IF EXISTS PARTITION (partition_column = 1234);
INSERT INTO TABLE
db.table_name
PARTITION
(
partition_column = 1234
)
SELECT
column1
, column2
, ...
FROM
db.another_table
;
COMPUTE INCREMENTAL STATS db.table_name (partition_column = 1234);
AnalysisException: Partition spec does not exist: (partition_column = 1234). The tables in question are not being modifed by any external processes so we're not sure what could be happening here - has anyone else encountered this issue? Thanks, Mike
... View more
Labels:
- Labels:
-
Apache Impala