[ https://issues.apache.org/jira/browse/HIVE-17681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192839#comment-16192839 ]
Sankar Hariappan commented on HIVE-17681: ----------------------------------------- Thanks for the review [~anishek]! Committed the patch to master. > Need to log bootstrap dump progress state property to HS2 logs. > --------------------------------------------------------------- > > Key: HIVE-17681 > URL: https://issues.apache.org/jira/browse/HIVE-17681 > Project: Hive > Issue Type: Sub-task > Components: HiveServer2, repl > Affects Versions: 3.0.0 > Reporter: Sankar Hariappan > Assignee: Sankar Hariappan > Labels: DDL, DR, Doc, pull-request-available, replication > Fix For: 3.0.0 > > Attachments: HIVE-17681.01.patch, HIVE-17681.02.patch > > > Currently, rename is disabled if bootstrap dump in progress. This is achieved > by setting a "ACTIVE" flag in database properties which is referred by rename > operation. If HiveServer2 crashes when dump in progress, then this flag is > not unset (to IDLE state) which make the rename operation disabled for ever. > User need to manually enable rename in this scenario. So, need to log the > property name associated with bootstrap dump which was in progress when HS2 > crashes. Using this, user will reset this property of the database to enable > rename again. > Also, need document update for the same. -- This message was sent by Atlassian JIRA (v6.4.14#64029)