Member since
07-29-2015
535
Posts
141
Kudos Received
103
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 7742 | 12-18-2020 01:46 PM | |
| 5054 | 12-16-2020 12:11 PM | |
| 3853 | 12-07-2020 01:47 PM | |
| 2504 | 12-07-2020 09:21 AM | |
| 1633 | 10-14-2020 11:15 AM |
07-15-2019
08:37 AM
1 Kudo
You shouldn't be seeing this error. I think you are probably hitting an old bug where sometimes an invalid execution plan was generated. - https://issues.apache.org/jira/browse/IMPALA-5689 or https://issues.apache.org/jira/browse/IMPALA-3063 It should be fixed in CDH5.13.0 or later.
... View more
06-18-2019
02:38 PM
1 Kudo
We fixed this behaviour in CDH6.1/Impala 3.1 - there was a product limitation that queued queries couldn't be cancelled. After the fix they should be cancellable the same as any other query. For reference, https://issues.apache.org/jira/browse/IMPALA-5216
... View more
06-13-2019
11:49 AM
1 Kudo
So IDLE_SESSION_TIMEOUT doesn't actually do anything if you set it in impala-shell. There's a technical distinction here - "set" in impala-shell is implemented in the shell itself, then send along with the queries. Whereas if you run "set" as a statement through, say, the JDBC driver, then "set" is run as a server-side command that modifies the session state. I tried to reproduce the issue on my local Impala environment, but couldn't. I was watching the /sessions page in the debug page and I could see the "last accessed" time get continually incremented while the query was in the queue. I think any timeout issue probably got indirectly fixed by https://issues.apache.org/jira/browse/IMPALA-5216 in CDH6.1/Impala 3.1, since the query state would be polled directly by impala-shell while the query is in the queue, rather than having impala-shell blocked waiting for a response. Thanks for submitting the support request, that should help get to the bottom of this.
... View more
06-13-2019
10:42 AM
Yeah I agree there is some inconsistency in behaviour here - the casting rules, especially around NULL, are too complex and inconsistent.
... View more
06-12-2019
10:48 AM
We have made some changes to decimal type resolution behaviour in recent versions. Most of them are controlled by the DECIMAL_V2 option and the default was changed starting in Impala 3.0. The best way forward is to report a bug in the Impala issue tracker - https://cwiki.apache.org/confluence/display/IMPALA/Contributing+to+Impala with the steps required to reproduce the symptoms you see. Then it can be tracked and triaged properly. This forum is not great for doing that.
... View more
06-11-2019
11:27 PM
1 Kudo
I see what you're saying there. The different from Hive isn't deliberate, but I believe this only happens in the very special case when all of the values in the CASE are NULL, without any cast. If any of them have a type, the query will execute. E.g. the below query runs and returns NULL. select 1 * (CASE WHEN '1' IS NULL THEN NULL ELSE cast(NULL as integer) END); Interestingly postgres behaves the same way as Impala psql (9.5.17, server 9.4.8)
Type "help" for help.
postgres=# select 1 * (CASE WHEN '1' IS NULL THEN NULL ELSE NULL END);
ERROR: operator does not exist: integer * text
LINE 1: select 1 * (CASE WHEN '1' IS NULL THEN NULL ELSE NULL END);
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
postgres=# select 1 * (NULL);
?column?
----------
(1 row)
postgres=# select 1 * (NULL);
?column?
----------
(1 row) We could probably file a bug if this is causing issues for you, there no specific reason it shouldn't work that I know of.
... View more
06-11-2019
02:04 PM
Sessions with queries that are queued in admission control generally shouldn't be considered be considered idle. What Impala server version are you connected to? What does your script look like? Are you running 300+ instances of impala-shell at the same time?
... View more
06-10-2019
07:49 AM
1 Kudo
We're working on the 5.16.2 release at the moment so I'd recommend waiting on that for the fix.
... View more
06-10-2019
07:46 AM
1 Kudo
Hi @honghan, We are aware of this issue, have a fix for it and are planning to include it in future maintenance releases for affected versions. - Tim
... View more
05-06-2019
05:12 PM
The output of "explain <query>" is often helpful too.
... View more