You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergey Shelukhin (JIRA)" <ji...@apache.org> on 2017/05/10 20:19:04 UTC

[jira] [Commented] (HIVE-16637) Improve end-of-data checking for LLAP input format

    [ https://issues.apache.org/jira/browse/HIVE-16637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005336#comment-16005336 ] 

Sergey Shelukhin commented on HIVE-16637:
-----------------------------------------

Is it possible to post and RB?
For now: why is any IO exception reported as EOF in a message?
Is it possible to comment on what hasInput is doing? It looks kind of hacky. Why not have a contract that a 0/-1 length chunk is end of input? The chunk stream reads a number for length anyway.

> Improve end-of-data checking for LLAP input format
> --------------------------------------------------
>
>                 Key: HIVE-16637
>                 URL: https://issues.apache.org/jira/browse/HIVE-16637
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-16637.1.patch
>
>
> The existing end of stream checking in the record reader is too forgiving of errors and does not recognize situations where the server connection has closed abruptly like HIVE-14093.
> Try to add a way to indicate that we have truly hit the end of the stream.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)