[
https://issues.apache.org/jira/browse/HIVE-12064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057183#comment-15057183
]
Eugene Koifman commented on HIVE-12064:
---------------------------------------
The reason that testTransactionalValidation() fails in the 4 cases above is
that these are all instances of TestRemoteHiveMetaStore. It passes in
TestEmbeddedHiveMetaStore. The patch adds an EventListener that throws an
exception which is not propagated to the client in Remote case but is
propagated with Embedded.
I've modified
AuthorizationPreEventListener.authorizeCreateDatabase(PreCreateDatabaseEvent
context) to throw
if(true) {
throw new MetaException("Oops!!!!");
}
then when I look at TestAuthorizationPreEventListener.testListener() it does
"driver.run("create database " + dbName);" but no exception is surfaced
but hive.log definitely has the "Oops" exception
cc [~sushanth]
> prevent transactional=false
> ---------------------------
>
> Key: HIVE-12064
> URL: https://issues.apache.org/jira/browse/HIVE-12064
> Project: Hive
> Issue Type: Bug
> Components: Transactions
> Affects Versions: 1.0.0
> Reporter: Eugene Koifman
> Assignee: Eugene Koifman
> Priority: Critical
> Attachments: HIVE-12064.2.patch, HIVE-12064.patch
>
>
> currently a tblproperty transactional=true must be set to make a table behave
> in ACID compliant way.
> This is misleading in that it seems like changing it to transactional=false
> makes the table non-acid but on disk layout of acid table is different than
> plain tables. So changing this property may cause wrong data to be returned.
> Should prevent transactional=false.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)