Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 80964 invoked from network); 10 Jun 2009 05:31:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 05:31:21 -0000 Received: (qmail 15772 invoked by uid 500); 10 Jun 2009 05:31:32 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 15755 invoked by uid 500); 10 Jun 2009 05:31:32 -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 15745 invoked by uid 99); 10 Jun 2009 05:31:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 05:31:32 +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; Wed, 10 Jun 2009 05:31:30 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EB1B9234C004 for ; Tue, 9 Jun 2009 22:31:09 -0700 (PDT) Message-ID: <1779901930.1244611869948.JavaMail.jira@brutus> Date: Tue, 9 Jun 2009 22:31:09 -0700 (PDT) From: "Ari Rabkin (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=12717920#action_12717920 ] Ari Rabkin commented on CHUKWA-5: --------------------------------- Is this on the roadmap for 0.2? It's going to be a backwards-incompatible change to the agent wire protocol, checkpoints, and initial_adaptors, I'm afraid, maybe more. And so I'd like to bite the bullet and do it sooner, rather than later. > 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.