You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Jinho Kim (JIRA)" <ji...@apache.org> on 2014/12/05 11:17:12 UTC

[jira] [Created] (TAJO-1235) ByteBufLineReader can not read text line with CRLF

Jinho Kim created TAJO-1235:
-------------------------------

             Summary: ByteBufLineReader can not read text line with CRLF
                 Key: TAJO-1235
                 URL: https://issues.apache.org/jira/browse/TAJO-1235
             Project: Tajo
          Issue Type: Bug
          Components: storage
    Affects Versions: 0.9.1
            Reporter: Jinho Kim
            Assignee: Jinho Kim
             Fix For: 0.9.1


Here is the problem example
{noformat}
[text .. \r]  [\n text ..]
  buffer       buffer
{noformat}

{noformat}
2014-12-05 13:46:35,355 ERROR org.apache.tajo.worker.Task: maxCapacity: -1 (expected: >= 0)
java.lang.IllegalArgumentException: maxCapacity: -1 (expected: >= 0)
at io.netty.buffer.AbstractByteBuf.<init>(AbstractByteBuf.java:51)
at io.netty.buffer.AbstractDerivedByteBuf.<init>(AbstractDerivedByteBuf.java:28)
at io.netty.buffer.SlicedByteBuf.<init>(SlicedByteBuf.java:40)
at io.netty.buffer.AbstractByteBuf.slice(AbstractByteBuf.java:938)
at org.apache.tajo.storage.text.ByteBufLineReader.readLineBuf(ByteBufLineReader.java:168)
at org.apache.tajo.storage.text.DelimitedLineReader.readLine(DelimitedLineReader.java:125)
at org.apache.tajo.storage.text.DelimitedTextFile$DelimitedTextFileScanner.init(DelimitedTextFile.java:328)
at org.apache.tajo.engine.planner.physical.SeqScanExec.initScanner(SeqScanExec.java:226)
at org.apache.tajo.engine.planner.physical.SeqScanExec.init(SeqScanExec.java:200)
at org.apache.tajo.engine.planner.physical.UnaryPhysicalExec.init(UnaryPhysicalExec.java:53)
at org.apache.tajo.engine.planner.physical.UnaryPhysicalExec.init(UnaryPhysicalExec.java:53)
at org.apache.tajo.engine.planner.physical.HashShuffleFileWriteExec.init(HashShuffleFileWriteExec.java:83)
at org.apache.tajo.worker.Task.run(Task.java:447)
at org.apache.tajo.worker.TaskRunner$1.run(TaskRunner.java:276)
at java.lang.Thread.run(Thread.java:745)
{noformat}



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