[ 
https://issues.apache.org/jira/browse/FLINK-9500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chesnay Schepler closed FLINK-9500.
-----------------------------------
    Resolution: Fixed

master: 181559d5bcad50f919e95c7602057b929553f76b

1.5: c78e99007cb9dda3296b10e712e9de5f7d116cff

> FileUploadHandler does not handle EmptyLastHttpContent
> ------------------------------------------------------
>
>                 Key: FLINK-9500
>                 URL: https://issues.apache.org/jira/browse/FLINK-9500
>             Project: Flink
>          Issue Type: Bug
>          Components: Client, REST
>    Affects Versions: 1.5.0, 1.6.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.6.0, 1.5.1
>
>
> The FileUploadHandler does not properly handle {{EmptyLastHttpContent}} 
> messages. When passing these to a decoder an exception is thrown.
> We should either catch the exception or just don't pass such a message in the 
> first place.
> {code}
> 018-06-01 16:05:46,514 WARN 
> org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint - Unhandled 
> exception 
> org.apache.flink.shaded.netty4.io.netty.handler.codec.http.multipart.HttpPostRequestDecoder$EndOfDataDecoderException
>  at 
> org.apache.flink.shaded.netty4.io.netty.handler.codec.http.multipart.HttpPostMultipartRequestDecoder.hasNext(HttpPostMultipartRequestDecoder.java:366)
>  at 
> org.apache.flink.shaded.netty4.io.netty.handler.codec.http.multipart.HttpPostRequestDecoder.hasNext(HttpPostRequestDecoder.java:241)
>  at 
> org.apache.flink.runtime.rest.FileUploadHandler.channelRead0(FileUploadHandler.java:92)
>  at 
> org.apache.flink.runtime.rest.FileUploadHandler.channelRead0(FileUploadHandler.java:51)
>  at 
> org.apache.flink.shaded.netty4.io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
>  at 
> org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(A
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to