Tôi tiếp tục nhận được ngoại lệ sau rất thường xuyên và tôi tự hỏi tại sao điều này xảy ra? Sau khi nghiên cứu tôi thấy tôi có thể làm .set("spark.submit.deployMode", "nio");
nhưng điều đó không làm việc, hoặc và tôi đang sử dụng tia lửa 2.0.0Làm thế nào để sửa chữa kết nối thiết lập lại bằng tin nhắn ngang hàng từ apache-spark?
WARN TransportChannelHandler: Exception in connection from /172.31.3.245:46014
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
at io.netty.buffer.PooledUnsafeDirectByteBuf.setBytes(PooledUnsafeDirectByteBuf.java:221)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:898)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
Kết nối đã được thiết lập lại bằng các đồng đẳng. Không có gì bạn có thể làm về nó ở cuối này, trừ khi bạn đang gây ra nó, ví dụ: bằng cách gửi dữ liệu đến một kết nối đã được đóng bởi đồng đẳng. – EJP