[
https://issues.apache.org/jira/browse/PHOENIX-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Taylor resolved PHOENIX-968.
----------------------------------
Resolution: Not a Problem
We buffer select * queries in chunks now, so this problem should lessen. You
can, of course, still run out disk space on your client machine as we spool to
disk when necessary.
> java.util.concurrent.ExecutionException:
> org.apache.phoenix.exception.PhoenixIOException: No space left on device
> -----------------------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-968
> URL: https://issues.apache.org/jira/browse/PHOENIX-968
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0, 4.0.0
> Reporter: Cristian Armaselu
>
> I'm querying a PTable with select * , table has 750k rows, 50 columns.
> The client querying the data is on one of the cluster nodes.
> I'm getting the error below
> Exception in thread "main" org.apache.phoenix.exception.PhoenixIOException:
> org.apache.phoenix.exception.PhoenixIOException: No space left on device
> at
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:97)
> at
> org.apache.phoenix.iterate.ParallelIterators.getIterators(ParallelIterators.java:289)
> at
> org.apache.phoenix.iterate.ConcatResultIterator.getIterators(ConcatResultIterator.java:44)
> at
> org.apache.phoenix.iterate.ConcatResultIterator.currentIterator(ConcatResultIterator.java:66)
> at
> org.apache.phoenix.iterate.ConcatResultIterator.next(ConcatResultIterator.java:86)
> at
> org.apache.phoenix.jdbc.PhoenixResultSet.next(PhoenixResultSet.java:732)
> at
> com.epsilon.cds.service.phoenix.PhoenixJdbcTest.queryData(PhoenixJdbcTest.java:727)
> at
> com.epsilon.cds.service.phoenix.PhoenixJdbcTest.main(PhoenixJdbcTest.java:750)
> Caused by: java.util.concurrent.ExecutionException:
> org.apache.phoenix.exception.PhoenixIOException: No space left on device
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:202)
> at
> org.apache.phoenix.iterate.ParallelIterators.getIterators(ParallelIterators.java:283)
> ... 6 more
> Caused by: org.apache.phoenix.exception.PhoenixIOException: No space left on
> device
> at
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:97)
> at
> org.apache.phoenix.iterate.SpoolingResultIterator.<init>(SpoolingResultIterator.java:127)
> at
> org.apache.phoenix.iterate.SpoolingResultIterator.<init>(SpoolingResultIterator.java:73)
> at
> org.apache.phoenix.iterate.SpoolingResultIterator$SpoolingResultIteratorFactory.newIterator(SpoolingResultIterator.java:67)
> at
> org.apache.phoenix.iterate.ParallelIterators$2.call(ParallelIterators.java:255)
> at
> org.apache.phoenix.iterate.ParallelIterators$2.call(ParallelIterators.java:245)
> 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:744)
> Caused by: java.io.IOException: No space left on device
> at java.io.FileOutputStream.writeBytes(Native Method)
> at java.io.FileOutputStream.write(FileOutputStream.java:345)
> at
> org.apache.commons.io.output.ThresholdingOutputStream.write(ThresholdingOutputStream.java:129)
> at java.io.DataOutputStream.write(DataOutputStream.java:107)
> at org.apache.phoenix.util.TupleUtil.write(TupleUtil.java:148)
> at
> org.apache.phoenix.iterate.SpoolingResultIterator.<init>(SpoolingResultIterator.java:109)
> I tried couple of times monitoring the storage on all 3 servers. There is
> plenty of storage.
> I was not able to see any error/exception on the region server logs.
> Where exactly there is no space left on device?
--
This message was sent by Atlassian JIRA
(v6.2#6252)