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 2015/10/08 10:31:26 UTC

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

     [ https://issues.apache.org/jira/browse/TAJO-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jinho Kim resolved TAJO-1903.
-----------------------------
    Resolution: Fixed

committed it 
Thanks for your review

> 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
>    Affects Versions: 0.10.1
>            Reporter: Jinho Kim
>            Assignee: Jinho Kim
>             Fix For: 0.11.0, 0.12.0
>
>
> 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)