You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tajo.apache.org by "Min Zhou (JIRA)" <ji...@apache.org> on 2014/01/15 00:45:20 UTC
[jira] [Created] (TAJO-504) when inserting to a column partitioned
table, if a queryunit attempt fails, an AlreadyExistsStorageException will
throw
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)