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 1140092FD for ; Mon, 12 Dec 2011 05:10:02 +0000 (UTC) Received: (qmail 16223 invoked by uid 500); 12 Dec 2011 05:10:01 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 16178 invoked by uid 500); 12 Dec 2011 05:10:00 -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 16171 invoked by uid 99); 12 Dec 2011 05:10:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 05:10:00 +0000 X-ASF-Spam-Status: No, hits=-0.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of eric818@gmail.com designates 209.85.216.47 as permitted sender) Received: from [209.85.216.47] (HELO mail-qw0-f47.google.com) (209.85.216.47) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 05:09:54 +0000 Received: by qadb17 with SMTP id b17so3129369qad.6 for ; Sun, 11 Dec 2011 21:09:34 -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=Mg3VCHJC9bUPrFZayBhr71Gxa8xaF23YoAkqN9OMbxY=; b=OGwwN3CZhyxYDyojiycvxo3HqtqbJhpkUoHWgm5i3e12d01lcheDqLovOYefWS8ldA 3pfNvgyWm6l3nzgb21coESYuY/GfhQ+/D0H9HzGZaBbtL6z6C28oHexF5b2v0GPompBe Qng6VHpNHVRPd1fNfKsiiQDb/LJ8EORRfM2LE= MIME-Version: 1.0 Received: by 10.224.199.134 with SMTP id es6mr16053171qab.2.1323666574093; Sun, 11 Dec 2011 21:09:34 -0800 (PST) Received: by 10.229.247.196 with HTTP; Sun, 11 Dec 2011 21:09:34 -0800 (PST) In-Reply-To: <1E7DAA69-9EAD-4A40-AC74-61BAC2D49FAD@gmail.com> References: <1E7DAA69-9EAD-4A40-AC74-61BAC2D49FAD@gmail.com> Date: Sun, 11 Dec 2011 21:09:34 -0800 Message-ID: Subject: Re: about hicc installation From: Eric Yang To: chukwa-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable For HICC, just run it as ./bin/chukwa hicc. There is no need to deploy it to Tomcat. Remove it from apache-tomcat webapp directory and stop apache tomcat. Make sure HADOOP_CONF_DIR is in class path by adding to chukwa-env.sh like this: export CLASSPATH=3D${CLASSPATH}:${HADOOP_CONF_DIR} regards, Eric On Sun, Dec 11, 2011 at 5:18 PM, wang zhihao wrote: > HI Eric > I just try to install hicc, but I have encounter some troubles. Follows a= re my operations: > > (1) copy hicc.war to /opt/apache-tomcat-6.0.18/webapps/ > (2) /chukwa/bin/hicc.sh start > > but it didn't work,here is the error: > java.lang.NullPointerException > =A0 =A0 =A0 =A0at org.apache.hadoop.chukwa.rest.resource.ViewResource.get= View(ViewResource.java:55) > > Finally I found that it could not load the hadoop configration from the s= ome files like core-site.xml, > could you tell me what should I do to solve this problem? Or could you sh= ow me your install flow about hicc? Thanks. > > Regards > Zhang liuhang