-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexOutOfBoundsException occurred in presto 0.161 #6936
Comments
@wyukawa We pushed a fix for a similar issue. I'm closing this for now, if you see it in versions > 0.162, please let us know. |
I'm still getting this error on occasion with presto-server-0.207 Ubuntu 18.04 presto-ethereum presto-go-client |
@BenKnigge Can you please share the entire stack trace (and more details like java version other environment info), and, if possible, a way to reproduce it? |
@nezihyigitbasi It was an intermittent issue and I've added code to catch and retry on failure when this error occurs so I'm no longer seeing the error. The error that I was getting is "java.lang.IndexOutOfBoundsException: Index: 0, Size: 0" As I'm using the golang client it may be obscuring the complete stack trace. Java info java -version SQL select erc20_token, erc20_from, erc20_to, erc20_value, erc20_txhash, erc20_blocknumber from ethereum.default.erc20 where erc20_blocknumber > ? and erc20_blocknumber <= ? This is being called in a loop of 1000 blocks at at a time. |
I don't encounter this issue in presto 0.207 yet. |
@wyukawa The web-ui is only listing quarries from the past 2 hours. I've reverted my code so that it will break on the error being returned and restarted the app. When/If the error pops back up I'll post the results. |
Got the stack trace out of the web ui
JSON FROM WEB UI { |
It seems another issue and a presto-ethereum issue.
|
Close it out and I'll report it over there . |
Hi
I use presto 0.161 + jdk1.8.0_101 + HDP 2.1 + hive connector + CentOS 6.5.
The following error occurred.
But if I reran, it succeeded.
So I guess this is a problem related to concurrency.
presto query
log
The text was updated successfully, but these errors were encountered: