Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 96361 invoked from network); 4 Apr 2008 00:28:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Apr 2008 00:28:00 -0000 Received: (qmail 89179 invoked by uid 500); 4 Apr 2008 00:27:58 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 89153 invoked by uid 500); 4 Apr 2008 00:27:58 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 89142 invoked by uid 99); 4 Apr 2008 00:27:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 17:27:58 -0700 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; Fri, 04 Apr 2008 00:27:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6A2A8234C0B9 for ; Thu, 3 Apr 2008 17:25:24 -0700 (PDT) Message-ID: <1151428677.1207268724433.JavaMail.jira@brutus> Date: Thu, 3 Apr 2008 17:25:24 -0700 (PDT) From: "Zheng Shao (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3168) reduce amount of logging in hadoop streaming In-Reply-To: <778868465.1207265844473.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-3168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Zheng Shao updated HADOOP-3168: ------------------------------- Attachment: patch.txt > reduce amount of logging in hadoop streaming > -------------------------------------------- > > Key: HADOOP-3168 > URL: https://issues.apache.org/jira/browse/HADOOP-3168 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.15.3, 0.16.0, 0.16.1, 0.16.2 > Reporter: Joydeep Sen Sarma > Attachments: patch.txt > > > logs every 100 records: > void maybeLogRecord() { > if (numRecRead_ >= nextRecReadLog_) { > String info = numRecInfo(); > logprintln(info); > logflush(); > //nextRecReadLog_ *= 10; > nextRecReadLog_ += 100; > } > } > ouch. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.