[ https://issues.apache.org/jira/browse/HIVE-17681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191057#comment-16191057 ]
ASF GitHub Bot commented on HIVE-17681: --------------------------------------- GitHub user sankarh opened a pull request: https://github.com/apache/hive/pull/256 HIVE-17681: Need to log bootstrap dump progress state property to HS2 logs. You can merge this pull request into a Git repository by running: $ git pull https://github.com/sankarh/hive HIVE-17681 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/hive/pull/256.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #256 ---- commit 8ef048b25cc34681790f79850446e79974f5adac Author: Sankar Hariappan <mailtosank...@gmail.com> Date: 2017-10-04T09:30:06Z HIVE-17681: Need to log bootstrap dump progress state property to HS2 logs. ---- > 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 > > > 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)