Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1903

Insert clause occassionally fails on S3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.1
    • 0.11.0, 0.12.0
    • Storage
    • None

    Description

      We should remove the duplicate file check

      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)
      

      Attachments

        Activity

          People

            jhkim Jinho Kim
            jhkim Jinho Kim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: