Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 73605 invoked from network); 7 May 2009 21:41:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 May 2009 21:41:07 -0000 Received: (qmail 64049 invoked by uid 500); 7 May 2009 21:41:07 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 64031 invoked by uid 500); 7 May 2009 21:41:07 -0000 Mailing-List: contact chukwa-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-dev@hadoop.apache.org Received: (qmail 64021 invoked by uid 99); 7 May 2009 21:41:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 21:41:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 May 2009 21:41:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9AA2E234C04B for ; Thu, 7 May 2009 14:40:45 -0700 (PDT) Message-ID: <1342505344.1241732445631.JavaMail.jira@brutus> Date: Thu, 7 May 2009 14:40:45 -0700 (PDT) From: "Jerome Boulon (JIRA)" To: chukwa-dev@hadoop.apache.org Subject: [jira] Commented: (CHUKWA-5) AdaptorId should be persistent even after an agent restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CHUKWA-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707138#action_12707138 ] Jerome Boulon commented on CHUKWA-5: ------------------------------------ I come back with my MD5, ..., if we're doing an MD5 of the command it should be unique and that could be the name from our log4j Appender (automatically done for you) and from the command line user are still free to put a more descriptive name. > AdaptorId should be persistent even after an agent restart > ---------------------------------------------------------- > > Key: CHUKWA-5 > URL: https://issues.apache.org/jira/browse/CHUKWA-5 > Project: Hadoop Chukwa > Issue Type: Bug > Components: data collection > Reporter: Jerome Boulon > Assignee: Cheng > > In case of agent restart, an adaptor may not get the same adaptorId. > 1)The adaptorId is sent back to the remote application after the Add command. > Now, let suppose the agent dies and restarts. > Each new adaptor created from the checkpoint will now have another adaptorId > . > If the remote application tries to stop/shutdown only using the adaptorId received in step (1), the command may be sent to the wrong adaptor. > if the adaptorId in for example an MD5 of the command line we don't need to save any additional information inside the checkpoint. > This will change the current API from int to String. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.