tajo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Min Zhou (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAJO-504) when inserting to a column partitioned table, if a queryunit attempt fails, an AlreadyExistsStorageException will throw
Date Tue, 14 Jan 2014 23:45:20 GMT
Min Zhou created TAJO-504:
-----------------------------

             Summary: when inserting to a column partitioned table, if a queryunit attempt
fails, an AlreadyExistsStorageException will throw
                 Key: TAJO-504
                 URL: https://issues.apache.org/jira/browse/TAJO-504
             Project: Tajo
          Issue Type: Bug
          Components: distributed query plan
            Reporter: Min Zhou
             Fix For: 0.8-incubating


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.





--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message