alluxio.exception.BlockInfoException

Cannot complete a file without all the blocks committed

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web6

  • via Unknown by Amran Chen,
  • via Unknown by Alessandro Andrioni,
  • Stack trace

    • alluxio.exception.BlockInfoException: Cannot complete a file without all the blocks committed at alluxio.client.file.FileOutStream.close(FileOutStream.java:227) at java.io.FilterOutputStream.close(FilterOutputStream.java:159) at alluxio.examples.BasicNonByteBufferOperations.write(BasicNonByteBufferOperations.java:89) Caused by: alluxio.exception.BlockInfoException: Cannot complete a file without all the blocks committed at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at alluxio.exception.AlluxioException.fromThrift(AlluxioException.java:99) at alluxio.AbstractClient.retryRPC(AbstractClient.java:326) at alluxio.client.file.FileSystemMasterClient.completeFile(FileSystemMasterClient.java:128) at alluxio.client.file.FileOutStream.close(FileOutStream.java:225) ... 3 more Caused by: java.io.IOException: alluxio.exception. BlockAlreadyExistsException: Temp blockId 33,554,432 is not available, because it is already committed at alluxio.client.block.BlockWorkerClient.requestBlockLocation(BlockWorkerClient.java:358) at alluxio.client.block.LocalBlockOutStream.<init>(LocalBlockOutStream.java:64) at alluxio.client.block.AlluxioBlockStore.getOutStream(AlluxioBlockStore.java:170) at alluxio.client.file.FileOutStream.getNextBlock(FileOutStream.java:320) at alluxio.client.file.FileOutStream.write(FileOutStream.java:252) ... 8 more Caused by: alluxio.exception.BlockAlreadyExistsException: Temp blockId 33, 554,432 is not available, because it is already committed at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:408) at alluxio.exception.AlluxioException.fromThrift(AlluxioException.java:99) at alluxio.AbstractClient.retryRPC(AbstractClient.java:326) at alluxio.client.block.BlockWorkerClient.requestBlockLocation(BlockWorkerClient.java:348) ... 12 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.