[
https://issues.apache.org/jira/browse/HIVE-16722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204877#comment-16204877
]
Eugene Koifman commented on HIVE-16722:
---------------------------------------
TestEmbeddedHiveMetaStore etc have
{noformat}
java.lang.IllegalArgumentException: Wrong FS:
pfile:/home/hiveptest/104.197.70.162-hiveptest-0/apache-github-source-source/itests/hive-unit/target/warehouse/aciddb.db/acidtable,
expected: file:///
{noformat}
> Converting bucketed non-acid table to acid should perform validation
> --------------------------------------------------------------------
>
> Key: HIVE-16722
> URL: https://issues.apache.org/jira/browse/HIVE-16722
> Project: Hive
> Issue Type: Sub-task
> Components: Transactions
> Affects Versions: 1.0.0
> Reporter: Eugene Koifman
> Assignee: Eugene Koifman
> Attachments: HIVE-16722.01.patch, HIVE-16722.WIP.patch
>
>
> Converting a non acid table to acid only performs metadata validation (in
> _TransactionalValidationListener_).
> The data read code path only understands certain directory layouts and file
> names and ignores (generally) files that don't match the expected format.
> In Hive, directory layout and bucket file naming (especially older releases)
> is poorly enforced.
> Need to add a validation step on
> {noformat}
> alter table T SET TBLPROPERTIES ('transactional'='true')
> {noformat}
> to
> scan the file system and report any possible data loss scenarios.
> Currently Acid understands bucket files name like "00000_0" and (with
> HIVE-16177) 00000_0_copy1" etc at the root of the partition.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)