[
https://issues.apache.org/jira/browse/IMPALA-12228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17756095#comment-17756095
]
ASF subversion and git services commented on IMPALA-12228:
----------------------------------------------------------
Commit e155ab35f5823f766bb8d8e3a2b9d13e0622fee3 in impala's branch
refs/heads/master from Andrew Sherman
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e155ab35f ]
IMPALA-12228: Simulate the failure of an iceberg transaction.
The commit of an Iceberg transaction is done by the Iceberg catalog. In
the common case for Impala the Iceberg catalog is HiveCatalog, and the
actual commit is performed by HMS. This means the commit could fail
because of some activity outside of Impala. It is useful therefore to
be able to simulate what happens when an Iceberg commit fails.
Extend Java DebugAction to allow it to throw an exception. For now this
is limited to throwing unchecked exceptions, which is all that is
needed for this patch.
Add two DebugActions that can be used to throw Iceberg
CommitFailedExceptions at the point where the Iceberg transaction is
about to commit.
Add a new test that uses the new DebugActions to abort an insert and the
addition of a column.
Change-Id: Iafdacc3377a0a946ead9331ba6a63a1fbb11f0eb
Reviewed-on: http://gerrit.cloudera.org:8080/20306
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Extend Java DebugAction to simulate the failure of an iceberg transaction.
> --------------------------------------------------------------------------
>
> Key: IMPALA-12228
> URL: https://issues.apache.org/jira/browse/IMPALA-12228
> Project: IMPALA
> Issue Type: Bug
> Reporter: Andrew Sherman
> Priority: Major
>
> Simulate the failure of an iceberg transaction.
> This can happen if there is a commit from Hive or elsewhere
> Extend Java DebugAction to allow it to throw an exception.
> For now this will be limited to throwing unchecked exceptions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]