[
https://issues.apache.org/jira/browse/TAJO-2001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15035487#comment-15035487
]
ASF GitHub Bot commented on TAJO-2001:
--------------------------------------
GitHub user jinossy opened a pull request:
https://github.com/apache/tajo/pull/894
TAJO-2001: DirectRawFileScanner.getProgress occasionally fails.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jinossy/tajo TAJO-2001
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/894.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 #894
----
commit ecab5c25d027944c445f1a1886ca33ec9294ec56
Author: Jinho Kim <[email protected]>
Date: 2015-12-02T08:56:10Z
TAJO-2001: DirectRawFileScanner.getProgress occasionally fails.
----
> DirectRawFileScanner.getProgress occasionally fails
> ---------------------------------------------------
>
> Key: TAJO-2001
> URL: https://issues.apache.org/jira/browse/TAJO-2001
> Project: Tajo
> Issue Type: Bug
> Components: Storage
> Affects Versions: 0.11.1
> Reporter: Jinho Kim
> Assignee: Jinho Kim
> Priority: Minor
> Fix For: 0.11.1
>
>
> if getProgress is called after scanner is closed, ClosedChannelException can
> cause
> Here is the log
> {noformat}
> 2015-11-30 17:15:09,131 ERROR
> org.apache.tajo.storage.rawfile.DirectRawFileScanner:
> java.nio.channels.ClosedChannelException
> at sun.nio.ch.FileChannelImpl.ensureOpen(FileChannelImpl.java:109)
> at sun.nio.ch.FileChannelImpl.position(FileChannelImpl.java:252)
> at
> org.apache.tajo.storage.LocalFileInputChannel.position(LocalFileInputChannel.java:54)
> at
> org.apache.tajo.storage.rawfile.DirectRawFileScanner.getProgress(DirectRawFileScanner.java:221)
> at
> org.apache.tajo.engine.planner.physical.ExternalSortExec$PairWiseMerger.getProgress(ExternalSortExec.java:768)
> at
> org.apache.tajo.engine.planner.physical.ExternalSortExec$PairWiseMerger.getProgress(ExternalSortExec.java:768)
> at
> org.apache.tajo.engine.planner.physical.ExternalSortExec$PairWiseMerger.getProgress(ExternalSortExec.java:768)
> at
> org.apache.tajo.engine.planner.physical.ExternalSortExec.getProgress(ExternalSortExec.java:849)
> at
> org.apache.tajo.engine.planner.physical.UnaryPhysicalExec.getProgress(UnaryPhysicalExec.java:87)
> at org.apache.tajo.worker.TaskImpl.updateProgress(TaskImpl.java:315)
> at
> org.apache.tajo.worker.ExecutionBlockContext$Reporter$1.run(ExecutionBlockContext.java:407)
> at java.lang.Thread.run(Thread.java:745)
> 2015-11-30 17:15:09,131 ERROR
> org.apache.tajo.storage.rawfile.DirectRawFileScanner:
> java.nio.channels.ClosedChannelException
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)