java.sql.SQLException

Encountered exception in hash plan [0] execution.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Stack trace

  • java.sql.SQLException: Encountered exception in hash plan [0] execution. at org.apache.phoenix.execute.HashJoinPlan.iterator(HashJoinPlan.java:146) at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:185) at org.apache.phoenix.jdbc.PhoenixStatement$1.call(PhoenixStatement.java:164) at org.apache.phoenix.util.phoenixContextExecutor.call(phoenixContextExecutor.java:54) at org.apache.phoenix.jdbc.PhoenixStatement.executeQuery(PhoenixStatement.java:164) at org.apache.phoenix.jdbc.PhoenixStatement.execute(PhoenixStatement.java:153) at org.apache.phoenix.jdbc.phoenixPreparedStatement.execute(phoenixPreparedStatement.java:147) at org.apache.phoenix.jdbc.phoenixPreparedStatement.execute(phoenixPreparedStatement.java:152) at org.apache.phoenix.jdbc.phoenixConnection.executeStatements(phoenixConnection.java:220) at org.apache.phoenix.util.phoenixRuntime.executeStatements(phoenixRuntime.java:193) at org.apache.phoenix.util.phoenixRuntime.main(phoenixRuntime.java:140) Caused by: java.sql.SQLException: java.util.concurrent.ExecutionException: java.lang.reflect.UndeclaredThrowableException at org.apache.phoenix.cache.ServerCacheClient.addServerCache(ServerCacheClient.java:199) at org.apache.phoenix.join.HashCacheClient.addHashCache(HashCacheClient.java:78) at org.apache.phoenix.execute.HashJoinPlan$1.call(HashJoinPlan.java:119) at org.apache.phoenix.execute.HashJoinPlan$1.call(HashJoinPlan.java:114) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.util.concurrent.ExecutionException: java.lang.reflect.UndeclaredThrowableException at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:202) at org.apache.phoenix.cache.ServerCacheClient.addServerCache(ServerCacheClient.java:191) ... 7 more Caused by: java.lang.reflect.UndeclaredThrowableException at com.sun.proxy.$Proxy10.addServerCache(Unknown Source) at org.apache.phoenix.cache.ServerCacheClient$1.call(ServerCacheClient.java:169) at org.apache.phoenix.cache.ServerCacheClient$1.call(ServerCacheClient.java:164) ... 4 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.