Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 BFE467825 for ; Wed, 26 Oct 2011 20:26:13 +0000 (UTC) Received: (qmail 2487 invoked by uid 500); 26 Oct 2011 20:26:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 2462 invoked by uid 500); 26 Oct 2011 20:26:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 2453 invoked by uid 99); 26 Oct 2011 20:26:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 20:26:13 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2011 20:26:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 15D0F31D7E2 for ; Wed, 26 Oct 2011 20:23:33 +0000 (UTC) Date: Wed, 26 Oct 2011 20:23:33 +0000 (UTC) From: "Todd Lipcon (Updated) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <549400059.20105.1319660613090.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <639861197.2282.1319221112327.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-2487) HA: Administrative CLI to control HA daemons 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/HDFS-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-2487: ------------------------------ Attachment: hdfs-2487.txt Here's a patch which adds an HAAdmin command line tool. Its usage output: {code} Usage: java HAAdmin [-transitionToActive ] [-transitionToStandby ] [-checkHealth ] [-help ] {code} Notes: - I didn't add it to the bin/hadoop wrapper script since this is mostly going to be used as a testing tool for now. Actual failovers will be done through the failover controller. - Similarly, I didn't try to integrate this with configuration for NN addresses or anything - this is a patch for common rather than HDFS. I'll move the JIRA to common. > HA: Administrative CLI to control HA daemons > -------------------------------------------- > > Key: HDFS-2487 > URL: https://issues.apache.org/jira/browse/HDFS-2487 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs client > Affects Versions: HA branch (HDFS-1623) > Reporter: Aaron T. Myers > Assignee: Todd Lipcon > Attachments: hdfs-2487.txt > > > We'll need to have some way of controlling the HA nodes while they're live, probably by adding some more commands to dfsadmin. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira