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

Jihoon Son commented on TAJO-47:
--------------------------------

I've just committed.
                
> RowFile has the duplicated initialization problem and unflipped ByteBuffer 
> problem
> ----------------------------------------------------------------------------------
>
>                 Key: TAJO-47
>                 URL: https://issues.apache.org/jira/browse/TAJO-47
>             Project: Tajo
>          Issue Type: Bug
>          Components: storage
>            Reporter: Jihoon Son
>            Assignee: Jihoon Son
>         Attachments: TAJO-47_2.patch, TAJO-47.patch
>
>
> 1) Duplicated initialization problem
> FileScanner has the init() interface which is generally called by upper 
> layers. The init() call in the constructor of RowFileScanner incurs the 
> duplicated initialization problem.
> 2) Unflipped ByteBuffer problem
> RowFileScanner reads data from FSDataInputStream via the ByteBuffer 
> interface. ByteBuffer should be flipped after every reads, but it is not 
> flipped when FSDataInputStream does not return data anymore. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to