Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AsynchronousException{java.lang.Exception: Could not materialize checkpoint 3 for operator Source: Custom Source (1/1).}
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:948)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: java.lang.Exception: Could not materialize checkpoint 3 for operator Source: Custom Source (1/1).
- ... 6 more
- Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Could not flush and close the file system output stream to hdfs://namenode:8020/flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 in order to obtain the stream state handle
- at java.util.concurrent.FutureTask.report(FutureTask.java:122)
- at java.util.concurrent.FutureTask.get(FutureTask.java:192)
- at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:43)
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:892)
- ... 5 more
- Suppressed: java.lang.Exception: Could not properly cancel managed operator state future.
- at org.apache.flink.streaming.api.operators.OperatorSnapshotResult.cancel(OperatorSnapshotResult.java:99)
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.cleanup(StreamTask.java:976)
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:939)
- ... 5 more
- Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Could not flush and close the file system output stream to hdfs://namenode:8020/flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 in order to obtain the stream state handle
- at java.util.concurrent.FutureTask.report(FutureTask.java:122)
- at java.util.concurrent.FutureTask.get(FutureTask.java:192)
- at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:43)
- at org.apache.flink.runtime.state.StateUtil.discardStateFuture(StateUtil.java:66)
- at org.apache.flink.streaming.api.operators.OperatorSnapshotResult.cancel(OperatorSnapshotResult.java:97)
- ... 7 more
- Caused by: java.io.IOException: Could not flush and close the file system output stream to hdfs://namenode:8020/flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 in order to obtain the stream state handle
- at org.apache.flink.runtime.state.filesystem.FsCheckpointStreamFactory$FsCheckpointStateOutputStream.closeAndGetHandle(FsCheckpointStreamFactory.java:336)
- at org.apache.flink.runtime.state.DefaultOperatorStateBackend$1.performOperation(DefaultOperatorStateBackend.java:300)
- at org.apache.flink.runtime.state.DefaultOperatorStateBackend$1.performOperation(DefaultOperatorStateBackend.java:230)
- at org.apache.flink.runtime.io.async.AbstractAsyncCallableWithResources.call(AbstractAsyncCallableWithResources.java:75)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:40)
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:892)
- ... 5 more
- Caused by: org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and no node(s) are excluded in this operation.
- at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1550)
- at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNewBlockTargets(FSNamesystem.java:3110)
- at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3034)
- at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:723)
- at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:492)
- at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
- at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
- at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969)
- at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2049)
- at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2045)
- at java.security.AccessController.doPrivileged(Native Method)
- at javax.security.auth.Subject.doAs(Subject.java:422)
- at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
- at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2043)
- at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1481)
- at org.apache.hadoop.ipc.Client.call(Client.java:1427)
- at org.apache.hadoop.ipc.Client.call(Client.java:1337)
- at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:227)
- at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)
- at com.sun.proxy.$Proxy13.addBlock(Unknown Source)
- at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:440)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:398)
- at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:163)
- at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:155)
- at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
- at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:335)
- at com.sun.proxy.$Proxy14.addBlock(Unknown Source)
- at org.apache.hadoop.hdfs.DataStreamer.locateFollowingBlock(DataStreamer.java:1733)
- at org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1536)
- at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:658)
- [CIRCULAR REFERENCE:java.io.IOException: Could not flush and close the file system output stream to hdfs://namenode:8020/flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 in order to obtain the stream state handle]
- Source: Custom Source (1/1)
- Timestamp: 2018-01-17, 12:03:40 Location: 8898d49999cf:33727
- AsynchronousException{java.lang.Exception: Could not materialize checkpoint 3 for operator Source: Custom Source (1/1).}
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:948)
- at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
- at java.lang.Thread.run(Thread.java:748)
- Caused by: java.lang.Exception: Could not materialize checkpoint 3 for operator Source: Custom Source (1/1).
- ... 6 more
- Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Could not flush and close the file system output stream to hdfs://namenode:8020/flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 in order to obtain the stream state handle
- at java.util.concurrent.FutureTask.report(FutureTask.java:122)
- at java.util.concurrent.FutureTask.get(FutureTask.java:192)
- at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:43)
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:892)
- ... 5 more
- Suppressed: java.lang.Exception: Could not properly cancel managed operator state future.
- at org.apache.flink.streaming.api.operators.OperatorSnapshotResult.cancel(OperatorSnapshotResult.java:99)
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.cleanup(StreamTask.java:976)
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:939)
- ... 5 more
- Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Could not flush and close the file system output stream to hdfs://namenode:8020/flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 in order to obtain the stream state handle
- at java.util.concurrent.FutureTask.report(FutureTask.java:122)
- at java.util.concurrent.FutureTask.get(FutureTask.java:192)
- at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:43)
- at org.apache.flink.runtime.state.StateUtil.discardStateFuture(StateUtil.java:66)
- at org.apache.flink.streaming.api.operators.OperatorSnapshotResult.cancel(OperatorSnapshotResult.java:97)
- ... 7 more
- Caused by: java.io.IOException: Could not flush and close the file system output stream to hdfs://namenode:8020/flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 in order to obtain the stream state handle
- at org.apache.flink.runtime.state.filesystem.FsCheckpointStreamFactory$FsCheckpointStateOutputStream.closeAndGetHandle(FsCheckpointStreamFactory.java:336)
- at org.apache.flink.runtime.state.DefaultOperatorStateBackend$1.performOperation(DefaultOperatorStateBackend.java:300)
- at org.apache.flink.runtime.state.DefaultOperatorStateBackend$1.performOperation(DefaultOperatorStateBackend.java:230)
- at org.apache.flink.runtime.io.async.AbstractAsyncCallableWithResources.call(AbstractAsyncCallableWithResources.java:75)
- at java.util.concurrent.FutureTask.run(FutureTask.java:266)
- at org.apache.flink.util.FutureUtil.runIfNotDoneAndGet(FutureUtil.java:40)
- at org.apache.flink.streaming.runtime.tasks.StreamTask$AsyncCheckpointRunnable.run(StreamTask.java:892)
- ... 5 more
- Caused by: org.apache.hadoop.ipc.RemoteException(java.io.IOException): File /flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 could only be replicated to 0 nodes instead of minReplication (=1). There are 1 datanode(s) running and no node(s) are excluded in this operation.
- at org.apache.hadoop.hdfs.server.blockmanagement.BlockManager.chooseTarget4NewBlock(BlockManager.java:1550)
- at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getNewBlockTargets(FSNamesystem.java:3110)
- at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:3034)
- at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:723)
- at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:492)
- at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
- at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:616)
- at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:969)
- at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2049)
- at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2045)
- at java.security.AccessController.doPrivileged(Native Method)
- at javax.security.auth.Subject.doAs(Subject.java:422)
- at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
- at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2043)
- at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1481)
- at org.apache.hadoop.ipc.Client.call(Client.java:1427)
- at org.apache.hadoop.ipc.Client.call(Client.java:1337)
- at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:227)
- at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)
- at com.sun.proxy.$Proxy13.addBlock(Unknown Source)
- at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.addBlock(ClientNamenodeProtocolTranslatorPB.java:440)
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- at java.lang.reflect.Method.invoke(Method.java:498)
- at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:398)
- at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:163)
- at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:155)
- at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
- at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:335)
- at com.sun.proxy.$Proxy14.addBlock(Unknown Source)
- at org.apache.hadoop.hdfs.DataStreamer.locateFollowingBlock(DataStreamer.java:1733)
- at org.apache.hadoop.hdfs.DataStreamer.nextBlockOutputStream(DataStreamer.java:1536)
- at org.apache.hadoop.hdfs.DataStreamer.run(DataStreamer.java:658)
- [CIRCULAR REFERENCE:java.io.IOException: Could not flush and close the file system output stream to hdfs://namenode:8020/flink/checkpoints/a6579ec75602a754b0d604f8429f1a6b/chk-3/7440f364-9160-41dd-bcd7-e72b4eae6324 in order to obtain the stream state handle]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement