[ 
https://issues.apache.org/jira/browse/IMPALA-10071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17189315#comment-17189315
 ] 

ASF subversion and git services commented on IMPALA-10071:
----------------------------------------------------------

Commit 502e1134be595ed5506424ee5f06dcf52f6fc646 in impala's branch 
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=502e113 ]

IMPALA-10071: Impala shouldn't create filename starting with underscore during 
ACID TRUNCATE

When Impala TRUNCATEs an ACID table, it creates a new base directory
with the hidden file "_empty" in it. Newer Hive versions ignore files
starting with underscore, therefore they ignore the whole base
directory.

To resolve this issue we can simply rename the empty file to "empty".

Testing:
 * update acid-truncate.test accordingly

Change-Id: Ia0557b9944624bc123c540752bbe3877312a7ac9
Reviewed-on: http://gerrit.cloudera.org:8080/16396
Reviewed-by: Csaba Ringhofer <csringho...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> Impala shouldn't create filename starting with underscore during TRUNCATE
> -------------------------------------------------------------------------
>
>                 Key: IMPALA-10071
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10071
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>
> When Impala TRUNCATEs an ACID table, it creates a new base directory with the 
> hidden file "_empty" in it.
> Newer Hive versions ignore files starting with underscore, therefore they 
> ignore the whole base directory.
> To resolve this issue we can simply rename the empty file to "empty".



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to