Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3306419DEA for ; Thu, 10 Mar 2016 02:19:41 +0000 (UTC) Received: (qmail 35957 invoked by uid 500); 10 Mar 2016 02:19:41 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 35899 invoked by uid 500); 10 Mar 2016 02:19:41 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 35707 invoked by uid 99); 10 Mar 2016 02:19:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 02:19:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id BE2382C1F5C for ; Thu, 10 Mar 2016 02:19:40 +0000 (UTC) Date: Thu, 10 Mar 2016 02:19:40 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-15364) Ability to trigger NameNode checkpoint from Ambari Web 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-15364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sumit Mohanty updated AMBARI-15364: ----------------------------------- Affects Version/s: 2.2.0 > Ability to trigger NameNode checkpoint from Ambari Web > ------------------------------------------------------ > > Key: AMBARI-15364 > URL: https://issues.apache.org/jira/browse/AMBARI-15364 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.2.0 > Reporter: Sumit Mohanty > Fix For: 2.4.0 > > Attachments: Screen Shot 2016-03-09 at 6.18.28 PM.png > > > Expose the checkpoint action in the UI and make it work E2E (and ability to check on progress): > Services > HDFS > Service Actions > Save Namespace > Ample documentation is available that describe checkpoint process for HDFS. Roughly, this translate to > {code} > >> hdfs dfsadmin -safemode enter > Safe mode is ON > >> hdfs dfsadmin -saveNamespace > Save namespace successful > >> hdfs dfsadmin -safemode leave > Safe mode is OFF > {code} > One approach is to have custom commands for each operation. In general, having support to get into and out of SAFEMODE is useful. > saveNamespace may be a long running command. Therefore custom command for this operation may be long running and thus there is a chance of timeout or may even block execution of other commands on the NN host. So the better approach would be to design a custom command that can start "saveNamespace", check the status, and if needed kill the command. > -- This message was sent by Atlassian JIRA (v6.3.4#6332)