[
https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792457#comment-16792457
]
Ashutosh Bapat commented on HIVE-21430:
---------------------------------------
[~ashutoshc], is there a Jira for removing hive.stats.autogather. If the work
there is going to finish within reasonable amount of time, I will wait for that
to complete and reassess whether we need to fix this problem. Please note that
because of this error a new test, TestStatsReplicationForACIDNoAugtogather,
added for HIVE-21109 is failing. So this is blocking HIVE-21109. We can disable
that test in order to move HIVE-21109 forward but then we will need to
re-enable it or remove based on how the work for hive.stats.autogather removal
proceeds.
> INSERT into a dynamically partitioned table with hive.stats.autogather =
> false throws a MetaException
> -----------------------------------------------------------------------------------------------------
>
> Key: HIVE-21430
> URL: https://issues.apache.org/jira/browse/HIVE-21430
> Project: Hive
> Issue Type: Bug
> Reporter: Ashutosh Bapat
> Assignee: Ashutosh Bapat
> Priority: Major
> Attachments: metaexception_repro.patch,
> org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> When the test TestStatsUpdaterThread#testTxnDynamicPartitions added in the
> attached patch is run it throws exception (full logs attached.)
> org.apache.hadoop.hive.metastore.api.MetaException: Cannot change stats state
> for a transactional table default.simple_stats without providing the
> transactional write state for verification (new write ID 5, valid write IDs
> null; current state \{"BASIC_STATS":"true","COLUMN_STATS":{"s":"true"}}; new
> state null
> at
> org.apache.hadoop.hive.metastore.ObjectStore.alterPartitionNoTxn(ObjectStore.java:4328)
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)