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

ASF GitHub Bot commented on TAJO-1070:
--------------------------------------

GitHub user jinossy opened a pull request:

    https://github.com/apache/tajo/pull/159

    TAJO-1070: BSTIndexScanExec should not seek a negative offset

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jinossy/tajo TAJO-1070

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/159.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #159
    
----
commit 1d0f5844f14a03636988ecf609634be418ac87c8
Author: jhkim <[email protected]>
Date:   2014-09-24T05:09:39Z

    TAJO-1070: BSTIndexScanExec should not seek a negative offset

----


> BSTIndexScanExec should not seek a negative offset
> --------------------------------------------------
>
>                 Key: TAJO-1070
>                 URL: https://issues.apache.org/jira/browse/TAJO-1070
>             Project: Tajo
>          Issue Type: Task
>          Components: physical operator
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>             Fix For: 0.9.0
>
>
> Recent hadoop filesystem apis defined strictly. So we should fix it correctly.
> https://issues.apache.org/jira/browse/HADOOP-9361
> It cause by unnecessary seek to -1
> {code}
> java.io.EOFException: Cannot seek to a negative offset
>       at org.apache.hadoop.fs.FSInputChecker.seek(FSInputChecker.java:399)
>       at 
> org.apache.hadoop.fs.FSDataInputStream.seek(FSDataInputStream.java:62)
>       at 
> org.apache.hadoop.fs.ChecksumFileSystem$FSDataBoundedInputStream.seek(ChecksumFileSystem.java:325)
>       at org.apache.tajo.storage.CSVFile$CSVScanner.seek(CSVFile.java:544)
>       at 
> org.apache.tajo.engine.planner.physical.BSTIndexScanExec.next(BSTIndexScanExec.java:119)
>       at 
> org.apache.tajo.engine.planner.physical.TestBSTIndexExec.testEqual(TestBSTIndexExec.java:184)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to