[
https://issues.apache.org/jira/browse/TAJO-1235?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14235334#comment-14235334
]
ASF GitHub Bot commented on TAJO-1235:
--------------------------------------
GitHub user jinossy opened a pull request:
https://github.com/apache/tajo/pull/289
TAJO-1235: ByteBufLineReader can not read text line with CRLF
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jinossy/tajo TAJO-1235
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/289.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 #289
----
commit 3dbf0775b65823d544d09262f11e4544576b06b6
Author: jhkim <[email protected]>
Date: 2014-12-05T10:19:14Z
TAJO-1235: ByteBufLineReader can not read text line with CRLF
----
> 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
>
> Attachments: TAJO-1235.patch
>
>
> 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)