Return-Path: Delivered-To: apmail-hadoop-chukwa-dev-archive@minotaur.apache.org Received: (qmail 75567 invoked from network); 10 Jun 2009 23:27:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 23:27:20 -0000 Received: (qmail 78427 invoked by uid 500); 10 Jun 2009 23:27:32 -0000 Delivered-To: apmail-hadoop-chukwa-dev-archive@hadoop.apache.org Received: (qmail 78409 invoked by uid 500); 10 Jun 2009 23:27: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 78398 invoked by uid 99); 10 Jun 2009 23:27:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 23:27: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 23:27:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5AD76234C004 for ; Wed, 10 Jun 2009 16:27:07 -0700 (PDT) Message-ID: <986299807.1244676427358.JavaMail.jira@brutus> Date: Wed, 10 Jun 2009 16:27:07 -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=12718251#action_12718251 ] Ari Rabkin commented on CHUKWA-5: --------------------------------- Just talked to Mac and Jerome. Conclusions: - Agent datastructures will use strings to identify adaptors. Client will use MD5. - Gonna push this into 0.2, but patch will likely happen post-branch. > 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.