anishek created HIVE-20152: ------------------------------ Summary: reset db state so rename table can be done if repl dump fails Key: HIVE-20152 URL: https://issues.apache.org/jira/browse/HIVE-20152 Project: Hive Issue Type: Bug Components: HiveServer2 Affects Versions: 3.0.0 Reporter: anishek Assignee: mahesh kumar behera
If a repl dump command is run and it fails for some reason while doing table level dumps, the state set on the db parameters is not reset and hence no table / partition renames can be done. the property to be reset is prefixed with key {code}bootstrap.dump.state {code} and it should be unset. meanwhile the workaround is {code} describe database extended [db_name]; {code} assuming property is 'bootstrap.dump.state.something' {code} alter  database [db_name] set dbproperties ('bootstrap.dump.state.something'='idle');" {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)