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

Prasanth Jayachandran edited comment on HIVE-16671 at 5/16/17 9:36 PM:
-----------------------------------------------------------------------

{code}
ix = readLengthBytes(compressed, bytes, ix);
if (ix == 3) break; // Done, we have 3 bytes.
{code}

reset ix=0 inside the while loop? ix could be non-zero value outside while.


was (Author: prasanth_j):
{code}
ix = readLengthBytes(compressed, bytes, ix);
if (ix == 3) break; // Done, we have 3 bytes.
{code}

should ix be resetted inside the while loop? ix could be non-zero value outside 
while.

> LLAP IO: BufferUnderflowException may happen in very rare(?) cases due to ORC 
> end-of-CB estimation
> --------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-16671
>                 URL: https://issues.apache.org/jira/browse/HIVE-16671
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Ravi Mutyala
>            Assignee: Sergey Shelukhin
>         Attachments: HIVE-16671.01.patch, HIVE-16671.patch
>
>




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

Reply via email to