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

Insert clause occassionally fails on S3

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.1
    • Fix Version/s: 0.11.0, 0.12.0
    • Component/s: Storage
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: