Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 62283 invoked from network); 15 May 2007 19:46:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2007 19:46:40 -0000 Received: (qmail 59293 invoked by uid 500); 15 May 2007 19:46:44 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 59096 invoked by uid 500); 15 May 2007 19:46:43 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 59080 invoked by uid 99); 15 May 2007 19:46:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 12:46:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2007 12:46:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C84A1714073 for ; Tue, 15 May 2007 12:46:16 -0700 (PDT) Message-ID: <20519082.1179258376817.JavaMail.jira@brutus> Date: Tue, 15 May 2007 12:46:16 -0700 (PDT) From: "Sameer Paranjpye (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1328) Hadoop Streaming needs to provide a way for the stream plugin to update global counters In-Reply-To: <13573833.1178314635280.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sameer Paranjpye updated HADOOP-1328: ------------------------------------- Component/s: contrib/streaming Assignee: Owen O'Malley Description: Sometimes, the stream plugin may want to create/update its own global counters. There is no way to do so currently. One possible way to enable that is to use the stderr output of the stream process. The stream process can emit the global counter update information (such as GLOCAL_COUNTER COUNTER_NAME NUM) to the stderr of the process. The Stderr handling thread can call the global counter API whenever it encounters the global counter update information line. was: Sometimes, the stream plugin may want to create/update its own global counters. There is no way to do so currently. One possible way to enable that is to use the stderr output of the stream process. The stream process can emit the global counter update information (such as GLOCAL_COUNTER COUNTER_NAME NUM) to the stderr of the process. The Stderr handling thread can call the global counter API whenever it encounters the global counter update information line. > Hadoop Streaming needs to provide a way for the stream plugin to update global counters > --------------------------------------------------------------------------------------- > > Key: HADOOP-1328 > URL: https://issues.apache.org/jira/browse/HADOOP-1328 > Project: Hadoop > Issue Type: New Feature > Components: contrib/streaming > Reporter: Runping Qi > Assigned To: Owen O'Malley > > Sometimes, the stream plugin may want to create/update its own global counters. > There is no way to do so currently. > One possible way to enable that is to use the stderr output of the stream process. > The stream process can emit the global counter update information (such as GLOCAL_COUNTER COUNTER_NAME NUM) > to the stderr of the process. The Stderr handling thread can call the global counter API whenever it encounters the global counter update information line. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.