[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] mahesh kumar behera updated HIVE-21430: --- Resolution: Fixed Status: Resolved (was: Patch Available) [^HIVE-21430.04.patch] is committed to master. Thanks [~ashutosh.bapat] for the fix. > 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 > Fix For: 4.0.0 > > Attachments: HIVE-21430.01.patch, HIVE-21430.02.patch, > HIVE-21430.03.patch, HIVE-21430.04.patch, metaexception_repro.patch, > org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt > > Original Estimate: 48h > Time Spent: 50m > Remaining Estimate: 47h 10m > > 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)
[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Bapat updated HIVE-21430: -- Attachment: HIVE-21430.04.patch Status: Patch Available (was: In Progress) Attaching 02 patch again to trigger ptests. The failure in the last run is irrelevant. > 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 > Fix For: 4.0.0 > > Attachments: HIVE-21430.01.patch, HIVE-21430.02.patch, > HIVE-21430.03.patch, HIVE-21430.04.patch, metaexception_repro.patch, > org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt > > Original Estimate: 48h > Time Spent: 50m > Remaining Estimate: 47h 10m > > 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)
[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Bapat updated HIVE-21430: -- Status: In Progress (was: Patch Available) > 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 > Fix For: 4.0.0 > > Attachments: HIVE-21430.01.patch, HIVE-21430.02.patch, > HIVE-21430.03.patch, metaexception_repro.patch, > org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt > > Original Estimate: 48h > Time Spent: 50m > Remaining Estimate: 47h 10m > > 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)
[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Bapat updated HIVE-21430: -- Attachment: HIVE-21430.03.patch Status: Patch Available (was: In Progress) The test failure in the last ptest run seems unrelated to the patch. Reattaching same patch as 02 again to trigger ptests. > 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 > Fix For: 4.0.0 > > Attachments: HIVE-21430.01.patch, HIVE-21430.02.patch, > HIVE-21430.03.patch, metaexception_repro.patch, > org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt > > Original Estimate: 48h > Time Spent: 50m > Remaining Estimate: 47h 10m > > 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)
[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Bapat updated HIVE-21430: -- Status: In Progress (was: Patch Available) > 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 > Fix For: 4.0.0 > > Attachments: HIVE-21430.01.patch, HIVE-21430.02.patch, > metaexception_repro.patch, > org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt > > Original Estimate: 48h > Time Spent: 50m > Remaining Estimate: 47h 10m > > 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)
[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Bapat updated HIVE-21430: -- Attachment: HIVE-21430.02.patch Status: Patch Available (was: In Progress) > 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 > Fix For: 4.0.0 > > Attachments: HIVE-21430.01.patch, HIVE-21430.02.patch, > metaexception_repro.patch, > org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt > > Original Estimate: 48h > Time Spent: 50m > Remaining Estimate: 47h 10m > > 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)
[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Bapat updated HIVE-21430: -- Status: In Progress (was: Patch Available) > 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 > Fix For: 4.0.0 > > Attachments: HIVE-21430.01.patch, metaexception_repro.patch, > org.apache.hadoop.hive.ql.stats.TestStatsUpdaterThread-output.txt > > Original Estimate: 48h > Time Spent: 50m > Remaining Estimate: 47h 10m > > 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)
[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashutosh Bapat updated HIVE-21430: -- Fix Version/s: 4.0.0 Attachment: HIVE-21430.01.patch Status: Patch Available (was: Open) 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 onceto be used for all partitions. Use the same snapshot to alter partitions. > 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 > Fix For: 4.0.0 > > Attachments: HIVE-21430.01.patch, 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)
[jira] [Updated] (HIVE-21430) INSERT into a dynamically partitioned table with hive.stats.autogather = false throws a MetaException
[ https://issues.apache.org/jira/browse/HIVE-21430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ASF GitHub Bot updated HIVE-21430: -- Labels: pull-request-available (was: ) > 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 > 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)