Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 64984 invoked from network); 18 Jul 2007 16:32:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2007 16:32:24 -0000 Received: (qmail 59700 invoked by uid 500); 18 Jul 2007 16:32:12 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 59406 invoked by uid 500); 18 Jul 2007 16:32:12 -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 Delivered-To: moderator for hadoop-dev@lucene.apache.org Received: (qmail 43846 invoked by uid 99); 18 Jul 2007 15:52:53 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of acidbriggs@gmail.com designates 209.85.132.242 as permitted sender) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GVulV+CTnQesnt+ny7UJX1wXBsWJq3AEjFqGKGuwVAiwo5xwQ/xzX0OJH55kNrdyicpATRPPnalxHo8lreAT+XBtqVWY8/aTUCeu9G2dZueV3cdHCfHCzW9OXvtXcyUXzXlEqJIG2uMnq5ppvwEXMX2uY0YGzNuq6AsRPJBuBXs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=R2vWMDeCz74NXctte8rXMxwQya7qCGjhvMtt4Bvsrz6AdTQzCpb+IDxRiCfGHEOZYVXa4+MlyHw3gOsqZJnrndT4wnfsCT48p01BVfvoiS0Yu6hesXHWnIl70wERT/05PSkFlgfYgGrsGdHreTgm3p4N6+vZl21gtv8fhE2XbH4= Message-ID: <1c0e93080707180852w25e97a40r43df28c247136225@mail.gmail.com> Date: Wed, 18 Jul 2007 11:52:26 -0400 From: Briggs To: hadoop-dev@lucene.apache.org Subject: Configuration.java and bad constructor MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org The constructor of Configuration is written like this: Starting at line 90 of org.apache.hadoop.conf.Configuration.java /** A new configuration. */ public Configuration() { if (LOG.isDebugEnabled()) { LOG.debug(StringUtils.stringifyException(new IOException("config()"))); } defaultResources.add("hadoop-default.xml"); finalResources.add("hadoop-site.xml"); } Now, why would anyone create an IOException and log it like this? I was wondering why all these darned exceptions were in my logs. -- "Conscious decisions by conscious minds are what make reality real"