Return-Path: X-Original-To: apmail-incubator-chukwa-user-archive@www.apache.org Delivered-To: apmail-incubator-chukwa-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 891229DA7 for ; Wed, 16 Nov 2011 15:27:38 +0000 (UTC) Received: (qmail 99993 invoked by uid 500); 16 Nov 2011 15:27:38 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 99963 invoked by uid 500); 16 Nov 2011 15:27:38 -0000 Mailing-List: contact chukwa-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-user@incubator.apache.org Delivered-To: mailing list chukwa-user@incubator.apache.org Received: (qmail 99956 invoked by uid 99); 16 Nov 2011 15:27:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 15:27:38 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of asrabkin@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2011 15:27:32 +0000 Received: by bkbzs2 with SMTP id zs2so666484bkb.6 for ; Wed, 16 Nov 2011 07:27:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=UYBnwjFgo1+qeoorb9D8Qza5Wo6/40rb0TKK+Kwa3qc=; b=liq802EUjNv6uwzO7UD+xed93+y/IbSfgZYl6hwRVRxTZ+ikyaPYv0RpWgEbDpal1l lPVDUaLcPNfZNZEdGw5eNVH+YgBZm5jHnmJTOitTfcU4+8xVzlLcErnkgDSkycYQ5Wa3 9ydb7g1GPZs1q8tJDeh1FMMqhwp2wi12P+xJ8= MIME-Version: 1.0 Received: by 10.204.7.144 with SMTP id d16mr29335588bkd.70.1321457230587; Wed, 16 Nov 2011 07:27:10 -0800 (PST) Received: by 10.204.48.212 with HTTP; Wed, 16 Nov 2011 07:27:10 -0800 (PST) In-Reply-To: References: Date: Wed, 16 Nov 2011 07:27:10 -0800 Message-ID: Subject: Re: Chukwa collector confronted with a NPE From: Ariel Rabkin To: chukwa-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hrm. Is there some process that's connecting to the SocketTeeWriter port [9094 by default] and then not sending a command? I think you'll get that NPE if you open the connection and then close it without sending anything. As you suspect, it should be benign, since all that's being killed there is the per-connection handler thread. --Ari On Wed, Nov 16, 2011 at 12:49 AM, IvyTang wrote: > Exception in thread "Thread-332" java.lang.NullPointerException > =A0 =A0 =A0 =A0 at > org.apache.hadoop.chukwa.datacollection.writer.SocketTeeWriter$Tee.setup(= SocketTeeWriter.java:178) > =A0 =A0 =A0 =A0 at > org.apache.hadoop.chukwa.datacollection.writer.SocketTeeWriter$Tee.run(So= cketTeeWriter.java:136) > =A0 =A0 =A0 =A0 at java.lang.Thread.run(Thread.java:662) > 2011-11-16 02:44:07,147 INFO Thread-6 SocketTeeWriter - got connection fr= om > /10.32.149.15 > And the=A010.32.149.15 is our hadoop cluster. > This exception arises very frequently , every 5 mins. > But the collector seemed doesn't been=A0influenced . > Why this exception arises? Is there something wrong with the hadoop? > -- > Best regards, > Ivy Tang > > > --=20 Ari Rabkin asrabkin@gmail.com UC Berkeley Computer Science Department