[ 
https://issues.apache.org/jira/browse/HIVE-21430?focusedWorklogId=213646&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-213646
 ]

ASF GitHub Bot logged work on HIVE-21430:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Mar/19 09:21
            Start Date: 15/Mar/19 09:21
    Worklog Time Spent: 10m 
      Work Description: ashutosh-bapat commented on pull request #572: 
HIVE-21430 : INSERT into a dynamically partitioned table with autogather stats 
disabled throws a MetaException
URL: https://github.com/apache/hive/pull/572
 
 
   loadDynamicPartitions is not passing a valid writeId list while altering 
multiple partitions. It's
   also fetching table snapshot separately for each of the partitions. Instead 
fetch the snapshot once
   to be used for all partitions. Use the same snapshot to alter partitions.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 213646)
            Time Spent: 10m
    Remaining Estimate: 47h 50m  (was: 48h)

> 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
>              Labels: pull-request-available
>         Attachments: metaexception_repro.patch, 
> org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt
>
>   Original Estimate: 48h
>          Time Spent: 10m
>  Remaining Estimate: 47h 50m
>
> 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)

Reply via email to