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

when inserting to a column partitioned table, if a queryunit attempt fails, an AlreadyExistsStorageException will throw

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 0.8.0
    • distributed query plan
    • None

    Description

      I came across such exception these days.

      ColumnPartitionedTableStoreExec creates hdfs directories based on partition values. For example is one of the partitions is 'col1=2', a directory named 'col1=2' will be created. If query unit attempt fails, that directory still exist. After that TajoQueryMaster start another query unit attempt to reprocessing the logic in ColumnPartitionedTableStoreExec. This physical executor try to create 'col1=2' again, but before creating, it found the target directory already exist, it will throw an AlreadyExistsStorageException. And eventually, the query fails.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              coderplay Min Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: