You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Jihoon Son (JIRA)" <ji...@apache.org> on 2013/09/04 08:17:51 UTC

[jira] [Commented] (TAJO-152) The tajo local directory path is mismatched in PullServer

    [ https://issues.apache.org/jira/browse/TAJO-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757497#comment-13757497 ] 

Jihoon Son commented on TAJO-152:
---------------------------------

I solved this problem by removing the configuration 'tajo.task.localdir' from tajo-default.xml.
However, the default configuration is used in some tests, so it should be remained in somewhere.

Do you have any better solutions?
                
> The tajo local directory path is mismatched in PullServer
> ---------------------------------------------------------
>
>                 Key: TAJO-152
>                 URL: https://issues.apache.org/jira/browse/TAJO-152
>             Project: Tajo
>          Issue Type: Bug
>          Components: worker
>            Reporter: Jihoon Son
>
> In PullServer, the local directory path is different with what I configured.
> As a result, DiskErrorException is occurred because the local directory path does not exist.
> Followings are an error log.
> {code}
> 2013-09-03 15:00:43,453 INFO org.apache.tajo.pullserver.PullServerAuxService: PullServer baseDir: /tmp/tajo-localdir/QUERYID/output/
> 2013-09-03 15:00:43,457 ERROR org.apache.tajo.pullserver.PullServerAuxService: PullServer error:
> org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find QUERYID/output//4/5_0/output/ in any of the configured local directories
>         at org.apache.hadoop.fs.LocalDirAllocator$AllocatorPerContext.getLocalPathToRead(LocalDirAllocator.java:445)
>         at org.apache.hadoop.fs.LocalDirAllocator.getLocalPathToRead(LocalDirAllocator.java:164)
>         at org.apache.tajo.pullserver.PullServerAuxService$PullServer.messageReceived(PullServerAuxService.java:405)
>         at org.jboss.netty.handler.stream.ChunkedWriteHandler.handleUpstream(ChunkedWriteHandler.java:142)
>         at org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:148)
>         at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
>         at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:455)
>         at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:538)
>         at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:437)
>         at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
>         at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
>         at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:84)
>         at org.jboss.netty.channel.socket.nio.AbstractNioWorker.processSelectedKeys(AbstractNioWorker.java:471)
>         at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:332)
>         at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:35)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:679)
> 2013-09-03 15:00:43,457 ERROR org.apache.tajo.pullserver.PullServerAuxService: PullServer error [id: 0x5705e753, /SRC_IP:PORT => /DST_IP:PORT] EXCEPTION: org.apache.hadoop.util.DiskChecker$DiskErrorException: Could not find QUERYID/output//4/5_0/output/ in any of the configured local directories
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira