Error code 모음/5. JAVA, Spring errors

[Java error] Jersey, An I/O error has occurred while writing a response message

쟈누이 2022. 3. 17. 10:12
반응형

 

1. 에러 원인


aws emr spark 의 hudi 로 데이터를 쓰는 도중 아래와 같이 에러가 일어났다

$ 22/03/17 00:54:25 ERROR ServerRuntime$Responder: An I/O error has occurred while writing a response message entity to the container output stream.
org.glassfish.jersey.server.internal.process.MappableException: org.sparkproject.jetty.io.EofException

에러의 원인은 client side 로 부터 서버가 닫힌 상황에서 발생하는 것이라고 한다.

 

 

에러의 원인에 대한 설명(stackoverflow)

This kind of error usually happens servlet is writing data back on the stream and connection closed from client side. It is like server in sending some data may be file, string, bytes etc.. but on client side like a browser has closed the connection, like you close the browser tab. It cased early End of file exception on the server.

 

 

 

2. 참고 링크


https://stackoverflow.com/questions/48768006/jersey-an-i-o-error-has-occurred-while-writing-a-response-message

 

Jersey, An I/O error has occurred while writing a response message

I use SpringBoot and Jersey into my project and I often tackle the following error : [ERROR - ServerRuntime$Responder - 2018-02-13 13:16:45,983] An I/O error has occurred while writing a response

stackoverflow.com

 

반응형