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

BSTIndexScanExec should not seek a negative offset

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • Physical Operator
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: