You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2013/05/03 03:13:13 UTC

[jira] [Updated] (TAJO-47) RowFile has the duplicated initialization problem and unflipped ByteBuffer problem

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

Jihoon Son updated TAJO-47:
---------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)
    
> 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