You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/02 09:11:26 UTC

[jira] [Commented] (TAJO-1903) Insert clause occassionally fails on S3

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

ASF GitHub Bot commented on TAJO-1903:
--------------------------------------

GitHub user jinossy opened a pull request:

    https://github.com/apache/tajo/pull/798

    TAJO-1903: Insert clause occassionally fails on S3.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jinossy/tajo TAJO-1903

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/798.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 #798
    
----
commit 90965326f8a483dfe6a2ddb3e97ff50c98c661ed
Author: Jinho Kim <jh...@apache.org>
Date:   2015-10-02T07:09:38Z

    TAJO-1903: Insert clause occassionally fails on S3.

----


> Insert clause occassionally fails on S3
> ---------------------------------------
>
>                 Key: TAJO-1903
>                 URL: https://issues.apache.org/jira/browse/TAJO-1903
>             Project: Tajo
>          Issue Type: Bug
>          Components: Storage
>            Reporter: Jinho Kim
>
> We should remove the duplicate file check
> {noformat}
> 015-10-01 11:53:23,006 INFO org.apache.hadoop.fs.s3native.NativeS3FileSystem: OutputStream for key 'tpch-1g-p/lineitem/.staging/q_1443665123010_0001/RESULT/l_shipdate=1995-12-05/part-02-000002-000' upload complete
> 2015-10-01 11:53:23,255 ERROR org.apache.tajo.worker.TaskImpl: s3n://buket/tpch-1g-p/lineitem/.staging/q_1443665123010_0001/RESULT/l_shipdate=1995-11-04/part-02-000001-000
> java.io.FileNotFoundException: s3n://buket/tpch-1g-p/lineitem/.staging/q_1443665123010_0001/RESULT/l_shipdate=1995-11-04/part-02-000001-000
>         at org.apache.tajo.storage.text.DelimitedTextFile$DelimitedTextFileAppender.init(DelimitedTextFile.java:137)
>         at org.apache.tajo.engine.planner.physical.ColPartitionStoreExec.openAppender(ColPartitionStoreExec.java:206)
>         at org.apache.tajo.engine.planner.physical.ColPartitionStoreExec.getNextPartitionAppender(ColPartitionStoreExec.java:152)
>         at org.apache.tajo.engine.planner.physical.SortBasedColPartitionStoreExec.next(SortBasedColPartitionStoreExec.java:75)
>         at org.apache.tajo.worker.TaskImpl.run(TaskImpl.java:405)
>         at org.apache.tajo.worker.TaskContainer.run(TaskContainer.java:65)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> 2015-10-01 11:53:23,257 ERROR org.apache.tajo.worker.TaskContainer:
> java.lang.NullPointerException
>         at org.apache.tajo.storage.text.DelimitedTextFile$DelimitedTextFileAppender.close(DelimitedTextFile.java:243)
>         at org.apache.tajo.engine.planner.physical.SortBasedColPartitionStoreExec.close(SortBasedColPartitionStoreExec.java:99)
>         at org.apache.tajo.worker.TaskImpl.run(TaskImpl.java:416)
>         at org.apache.tajo.worker.TaskContainer.run(TaskContainer.java:65)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> {noformat}



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