- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Impala query error
- Labels:
-
Apache Impala
Created 02-06-2025 08:57 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please note that the previous text was translated using a translator, so it might sound a bit awkward. I apologize for any confusion.
I’m encountering an issue where everything runs fine initially, but sometimes I experience this error. Could anyone help me understand what might be causing it?
[Cloudera][ImpalaJDBCDriver](500051) ERROR processing query/statement. Error Code: ExecuteStatement failed: out of sequence response: expected 6 but got 5, SQL state: HY000,
Query: select * from (SELECT tool_path,tag,act_time,value,row_number() over (partition by tool_path,tag order by act_time desc) as rownum FROM `X`.`Y` WHERE (tag like 'A%' or tag like 'B%' or tag like 'C%' or tag like 'D%' or tag like 'E%' or tag like 'F%' or tag like 'G%' or tag like 'H%' or tag like 'I%' or tag like 'J%' or tag like 'K%' or tag like 'L%' or tag like 'M%' or tag like 'N%' or tag like 'O%' or tag like 'P%' or tag like 'Q%' or tag like 'R%' or tag like 'S%' or tag like 'T%' or tag like 'U%') and act_time BETWEEN DATE_SUB(NOW(), INTERVAL 2 HOUR) AND NOW() and param_type = 'M') a where rownum=1.
Created on 02-06-2025 11:03 PM - edited 02-06-2025 11:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ysong26,Welcome to our community! To help you get the best possible answer, I have tagged our Impala experts @ChethanYM @willx who may be able to assist you further.
Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.
Regards,
Vidya Sargur,Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Created 02-13-2025 05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ysong26 The "out of sequence response" error suggests that the Impala JDBC driver expected a specific response sequence but received an unexpected one.
This can happen due to network latency, dropped packets, or an issue in the client-server communication.
See if you have set high value for "defaultRowBatchSize" property, If yes you can lower it and check which JDBC driver version you are using try to use the latest version available and see if that helps.
Also verify if any network issues in the system.
Regards,
Chethan YM
Created 02-27-2025 02:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ysong26 Did the response assist in resolving your query? If it did, kindly mark the relevant reply as the solution, as it will aid others in locating the answer more easily in the future.
Regards,
Vidya Sargur,Community Manager
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
