phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Mahonin (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-2074) StackOverflowError for hash join with round robin
Date Fri, 03 Jul 2015 20:12:04 GMT


Josh Mahonin commented on PHOENIX-2074:

Well, this is a bit frustrating.

I regenerated my dataset, with the intent of creating differently-sized sets to test where
it falls over, and now I can't reproduce the problem. I've got an artificially bumped up dataset
at 11M rows, and everything is running just fine. I haven't changed any other settings or
config, and it's definitely still using the RoundRobinIterator.

Is it possible HBase or Phoenix has done something, either with compactions, or maybe something
to do with metrics / guideposts, to change the previous behaviour? 

Will mull it over on the weekend.

> StackOverflowError for hash join with round robin
> -------------------------------------------------
>                 Key: PHOENIX-2074
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>         Attachments: PHOENIX-2074.patch
> EVENTS Table has id,article, and more columns. Id is the primay key
> MAPPING Table has id,article,category columns. Id is the primay key
> There is index on article column of both the tables.
> Below is the query. 
> select count(MAPPING.article) as cnt,MAPPING.category from EVENTS
> join
> MAPPING on MAPPING.article = EVENTS.article
> group by category order by cnt ;
> Here's the stack trace:
> {code}
> Error: Encountered exception in sub plan [0] execution. (state=,code=0)
> java.sql.SQLException: Encountered exception in sub plan [0] execution.
>         at org.apache.phoenix.execute.HashJoinPlan.iterator(
>         at org.apache.phoenix.jdbc.PhoenixStatement$
>         at org.apache.phoenix.jdbc.PhoenixStatement$
>         at
>         at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(
>         at org.apache.phoenix.jdbc.PhoenixStatement.execute(
>         at sqlline.Commands.execute(
>         at sqlline.Commands.sql(
>         at sqlline.SqlLine.dispatch(
>         at sqlline.SqlLine.begin(
>         at sqlline.SqlLine.start(
>         at sqlline.SqlLine.main(
> Caused by: java.lang.StackOverflowError
>         at org.apache.phoenix.iterate.RoundRobinResultIterator$RoundRobinIterator.close(
>         at org.apache.phoenix.iterate.RoundRobinResultIterator$RoundRobinIterator.close(
> {code}

This message was sent by Atlassian JIRA

View raw message