You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/04/23 02:47:00 UTC

[jira] [Commented] (IMPALA-9653) Impala shouldn't create/remove staging directory during transactional INSERTs

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

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

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

IMPALA-9653: Impala shouldn't create/remove staging directory during transactional INSERTs

This commit eliminates an unnecessary hdfsDelete() call for INSERT-only
tables. For such tables we don't create a staging directory, hence there
is nothing to delete. It also eliminates a confusing log message about
the deletion of the staging directory (which did not even exist).

I also added a DCHECK to check that we don't even set the staging
directory for such tables.

Change-Id: Ie6a3a502fb3b3cfe7a68323d3b0145e5fb149460
Reviewed-on: http://gerrit.cloudera.org:8080/15737
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Impala shouldn't create/remove staging directory during transactional INSERTs
> -----------------------------------------------------------------------------
>
>                 Key: IMPALA-9653
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9653
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: impala-acid
>
> Transactional INSERTs write their data into their final location, so there is no need to create and remove a staging directory.



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

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