Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/6147#discussion_r195083682
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/rest/FileUploadHandler.java
---
@@ -89,7 +89,7 @@ protected void channelRead0(final ChannelHandlerContext
ctx, final HttpObject ms
final HttpContent httpContent = (HttpContent) msg;
currentHttpPostRequestDecoder.offer(httpContent);
- while (currentHttpPostRequestDecoder.hasNext()) {
--- End diff --
The `JobSubmitHandlerTest` never transmits any files via netty. The failure
would occur in the `FileUploadHandler` which is currently completely untested.
I'll try to find a test that can reproduce this
---