Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD94E10A98 for ; Tue, 1 Sep 2015 00:03:50 +0000 (UTC) Received: (qmail 53571 invoked by uid 500); 1 Sep 2015 00:03:45 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 53538 invoked by uid 500); 1 Sep 2015 00:03:45 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 53524 invoked by uid 99); 1 Sep 2015 00:03:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Sep 2015 00:03:45 +0000 Date: Tue, 1 Sep 2015 00:03:45 +0000 (UTC) From: "Xi Wang (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-12951) Prompt user to save checkpoint before shutdown if last checkpoint is too old MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-12951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xi Wang updated AMBARI-12951: ----------------------------- Attachment: AMBARI-12951.patch > Prompt user to save checkpoint before shutdown if last checkpoint is too old > ---------------------------------------------------------------------------- > > Key: AMBARI-12951 > URL: https://issues.apache.org/jira/browse/AMBARI-12951 > Project: Ambari > Issue Type: Task > Components: ambari-web > Affects Versions: 2.1.2 > Reporter: Xi Wang > Assignee: Xi Wang > Fix For: 2.1.2 > > Attachments: AMBARI-12951.patch, Popup saying No JMX data .png, Popup to create new checkpoint.png > > > If the admin attempts to shutdown the HDFS NameNode(s) through Ambari in following situations: > * HDFS service > Stop / Restart All components, > * HDFS summary/configs page> Restart Affected, > * Host Details > NameNode Stop / Restart, > * Host Details > Stop/Restart all components, > * Stop All Services > * Hosts Actions > All/Selected/Filtered Hosts > Hosts > Stop/Restart All Components > A check should be run to see when the last HDFS checkpoint was created. > If the checkpoint was created more than 12 hours ago, Ambari should prompt the user to save/create a checkpoint first. > "The last HDFS checkpoint is older than 12 hours. Make sure that you have taken a checkpoint before proceeding. Otherwise, the NameNode(s) can take a very long time to start up." > The check should be skipped if there's no NameNode to shut down (i.e., all NameNodes are already down) as a result of the operation. > The user should be warned with instructions to create a new checkpoint, it is up to User if they would like to create a new checkpoint. User can always proceed with button "Next". > The Active NameNode JMX is checked to figure out when the last checkpoint was taken. If the Active NameNode JMX is not available for whatever reason, check for any available NameNode JMX (Standby). > If no JMX info is available, then something is wrong. In this case, display warning along the line of "Could not determine the age of the last HDFS checkpoint. Please ensure that you have a recent checkpoint. Otherwise, the NameNode(s) can take a very long time to start up." > *Limitations* > * NameNode shutdown that are part of any Wizard will not be taken care of in this RMP (e.g., NameNode HA wizard) -- This message was sent by Atlassian JIRA (v6.3.4#6332)