[ https://issues.apache.org/jira/browse/HIVE-7470?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070043#comment-14070043 ]
Damien Carol commented on HIVE-7470: ------------------------------------ Change Thritft definition from : {noformat} struct ShowCompactResponseElement { ... 3: required string partitionname, 4: required CompactionType type, 5: required string state, 6: required string workerid, 7: required i64 start, 8: required string runAs, } {noformat} To : {noformat} struct ShowCompactResponseElement { ... 3: optional string partitionname, 4: required CompactionType type, 5: required string state, 6: optional string workerid, 7: optional i64 start, 8: optional string runAs, } {noformat} seems to fix the problem. Pushing the first patch. > Wrong Thrift declaration for {{ShowCompactResponseElement}} > ----------------------------------------------------------- > > Key: HIVE-7470 > URL: https://issues.apache.org/jira/browse/HIVE-7470 > Project: Hive > Issue Type: Bug > Components: Metastore, Thrift API > Affects Versions: 0.14.0 > Reporter: Damien Carol > Assignee: Damien Carol > Priority: Minor > Labels: metastore, thrift > Fix For: 0.14.0 > > > Prerequiste : > 1. Remote metastore > 2. Activate ACID and compactions > 3. Launch ALTER TABLE foo COMPACT 'bar' > 4. Call {{show_compact()}} on remote metastore > This use case throws exception in Thrift stack. -- This message was sent by Atlassian JIRA (v6.2#6252)