Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1070

BSTIndexScanExec should not seek a negative offset

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Physical Operator
    • Labels:
      None

      Description

      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

      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)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhkim Jinho Kim
                Reporter:
                jhkim Jinho Kim
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: