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 02786C8CE for ; Tue, 26 Jun 2012 06:51:15 +0000 (UTC) Received: (qmail 47430 invoked by uid 500); 26 Jun 2012 06:51:14 -0000 Delivered-To: apmail-incubator-chukwa-user-archive@incubator.apache.org Received: (qmail 47184 invoked by uid 500); 26 Jun 2012 06:51:09 -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 47156 invoked by uid 99); 26 Jun 2012 06:51:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 06:51:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dengyule@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-pz0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2012 06:51:03 +0000 Received: by dalh21 with SMTP id h21so6130737dal.6 for ; Mon, 25 Jun 2012 23:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2XEx9MVsakItj7UhhewwsOfaK7X9ek9OHqZWYSLYOa0=; b=Mg724qdNiw9G6RPQATwPI8hlzidZAwoN57ZnoAn0XQkF9EwWbQTzCcD1VTQxpJ9X8G RQg3aB1qaEcRCJ0hAaTqc7HbSL/318f9er/mfVsL4WDIz7eNDlOueRl5UDVkGB/gB/rH Ygthj9npQtfBrR7IDGAxP8kPm4Ff5yMHrEr+jlCe079a1C+boe3hn0MYuoK+1OXCgj3P uVCkJG2V6KKBIb2Dyq7o+f2dXsWfoSdzEQKAF7KqLj5l7gJJK+i6pX1f5n1Xac0cq23o SfCf6yt2k4Cp0cDnN7bL2i2UuaoP872wZdkGVlCTCcZykcjLflP4vS4N9PdE3U/d9T4r MpJQ== MIME-Version: 1.0 Received: by 10.68.241.232 with SMTP id wl8mr48092182pbc.106.1340693443219; Mon, 25 Jun 2012 23:50:43 -0700 (PDT) Received: by 10.142.80.1 with HTTP; Mon, 25 Jun 2012 23:50:43 -0700 (PDT) In-Reply-To: References: <1340028175.14161.0.camel@rainerdun-K42JE> Date: Tue, 26 Jun 2012 14:50:43 +0800 Message-ID: Subject: Re: About the hicc start in eclipse From: mason deng To: chukwa-user@incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b339bf56f8fd504c35a842d X-Virus-Checked: Checked by ClamAV on apache.org --047d7b339bf56f8fd504c35a842d Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi Eric. thank you for your tips. I have solved the former questions. but now , I encountered a new problem. it is also about the hicc. last night, when i start chuka , and log on the http://localhost:4080/hicc/. It can display all the data as expect,that is to say every thing is ok. but this morning ,when i restart my computer and start chukwa,it doesn't load the data,the chukwa hicc logs have no anything error tips. but in http://localhost:4080/hicc/jsp/graph_explorer.jsp, i can get all data and plot it .I view at the past time of the mailing list solutions,and found that maybe the time zone problem,so i alter the time zone in Time Widget, and changed the UTC to Asia/Shanghai .But it seems to have no effect. Regards mason On Thu, Jun 21, 2012 at 1:31 PM, Eric Yang wrote: > You might want to check if hicc.log is written somewhere in your > system. It is default to /tmp/chukwa/logs, but it may be at different > location when running in eclipse. The log file might have more > information regarding populating /chukwa/hicc directory on hdfs. > > regards, > Eric > > On Wed, Jun 20, 2012 at 10:29 PM, Eric Yang wrote: > > If you are running this in eclipse, chukwa-env.sh is not executed. > > Therefore you should defined all environment declared in chukwa-env.sh > > in environment variables in eclipse run configuration. > > > > regards, > > Eric > > > > On Wed, Jun 20, 2012 at 7:04 AM, mason deng wrote: > >> hi ,Eric: > >> > >> thanks. you are right ,there must be a .xml file > rather > >> than a directory. and i have already set it according to your > instructions > >> . now the question is that the config.get("fs.default.name") > result > >> is null. Actually, even if when i manually > >> loading config.get("fs.default.name") =3Dhdfs://localhost:9000. just > only > >> create a /chukwa/hicc/widgets empty directory structure on the hdf= s > =A3=ACand > >> did not upload the "descriptors" file to hdfs=A1=A3 > >> the key is why unable to find the jar file in the classpath of the > >> current=A1=A3 > >> This is my chukwa-env.sh > >> > >> > >> export JAVA_HOME=3D/home/rainerdun/project/jdk1.6.0_21 > >> > >> #export HADOOP_HOME=3D/home/rainerdun/project/hadoop-1.0.0 > >> export HADOOP_CONF_DIR=3D/home/rainerdun/project/hadoop-1.0.0/conf > >> > >> #export HBASE_HOME=3D/home/rainerdun/project/hbase-0.90.4 > >> export HBASE_CONF_DIR=3D/home/rainerdun/project/hbase-0.90.4/conf > >> > >> export > >> > CLASSPATH=3D${CLASSPATH}:/home/rainerdun/project/hbase-0.90.4/conf:/home/= rainerdun/project/hadoop-1.0.0/conf > >> # The location of chukwa data repository (in either HDFS or your local > >> # file system, whichever you are using) > >> export chukwaRecordsRepository=3D"/chukwa/repos/" > >> > >> # The directory where pid files are stored. CHUKWA_HOME/var/run by > default. > >> #export CHUKWA_PID_DIR=3D/tmp/chukwa/pidDir > >> > >> # The location of chukwa logs, defaults to CHUKWA_HOME/logs > >> #export CHUKWA_LOG_DIR=3D/tmp/chukwa/log > >> > >> # The location to store chukwa data, defaults to CHUKWA_HOME/data > >> #export CHUKWA_DATA_DIR=3D"${CHUKWA_HOME}/data" > >> > >> # Instance name for chukwa deployment > >> export CHUKWA_IDENT_STRING=3D$USER > >> > >> export JAVA_PLATFORM=3DLinux-i386-32 > >> export JAVA_LIBRARY_PATH=3D${HADOOP_HOME}/lib/native/${JAVA_PLATFORM} > >> > >> # Datatbase driver name for storing Chukwa Data. > >> export JDBC_DRIVER=3D${TODO_CHUKWA_JDBC_DRIVER} > >> > >> # Database URL prefix for Database Loader. > >> export JDBC_URL_PREFIX=3D${TODO_CHUKWA_JDBC_URL_PREFIX} > >> > >> # HICC Jetty Server heap memory settings > >> # Specify min and max size of heap to JVM, e.g. 300M > >> export CHUKWA_HICC_MIN_MEM=3D > >> export CHUKWA_HICC_MAX_MEM=3D > >> > >> # HICC Jetty Server port, defaults to 4080 > >> #export CHUKWA_HICC_PORT=3D > >> > >> core-site.xml file > >> > >> > >> > >> fs.default.name > >> hdfs://localhost:9000 > >> > >> > >> > >> > >> and chukwa-collector-conf.xml file > >> ...... > >> > >> > >> writer.hdfs.filesystem > >> hdfs://localhost:9000 > >> HDFS to dump to > >> > >> ...... > >> > >> > >> > >> Best Regards > >> Mason > >> > --=20 =D5=E2=B8=F6=CA=C0=BD=E7=B2=BB=CF=E0=D0=C5=D1=DB=C0=E1 --047d7b339bf56f8fd504c35a842d Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi Eric.
   thank you for your tips. I have solved the former= questions. but now , I encountered a new  problem. it is also ab= out the hicc. last night, when i start chuka , and  log on the http://localhost:40= 80/hicc/.  It can display all the data as expect,that is to say ev= ery thing is ok. but this morning ,when i restart my computer and start chu= kwa,it doesn't load the data,the chukwa hicc logs have no anything er= ror tips. but in http://localhost:4080/hicc/jsp/graph= _explorer.jsp, i  can get all data and plot it .I view at the past= time of the mailing list solutions,and found that maybe the time zone prob= lem,so i alter the time zone in Time Widget, and changed the UTC  to A= sia/Shanghai .But it seems to have no effect. 


Regards
mason

On Thu, Jun 21, 2012 at 1:31 PM, Eric Yang <= span dir=3D"ltr"><eric818@gmail.com> wrote:
You might want to check if hicc.log is written somewhere in your
system.  It is default to /tmp/chukwa/logs, but it may be at different=
location when running in eclipse.  The log file might have more
information regarding populating /chukwa/hicc directory on hdfs.

regards,
Eric

On Wed, Jun 20, 2012 at 10:29 PM, Eric Yang <eric818@gmail.com> wrote:
> If you are running this in eclipse, chukwa-env.sh is not executed.
> Therefore you should defined all environment declared in chukwa-env.sh=
> in environment variables in eclipse run configuration.
>
> regards,
> Eric
>
> On Wed, Jun 20, 2012 at 7:04 AM, mason deng <dengyule@gmail.com> wrote:
>> hi ,Eric:
>>
>>                  than= ks. you are right ,there must be  a .xml file rather
>> than a directory.  and i have already set it according to you= r instructions
>> .  now     the question is that the config.get(&quo= t;fs.default.name&= quot;)  result
>> is null. Actually, even if when i manually
>> loading  config.get("fs.default.name") =3Dhdfs://localhost:9000. &nbs= p;just only
>>  create a  /chukwa/hicc/widgets  empty directory &n= bsp;structure on the hdfs =A3=ACand
>> did not upload the "descriptors" file to hdfs=A1=A3
>>    the key is why  unable to find the jar file in t= he classpath of the
>> current=A1=A3
>>    This is my chukwa-env.sh
>>
>>
>> export JAVA_HOME=3D/home/rainerdun/project/jdk1.6.0_21
>>
>> #export HADOOP_HOME=3D/home/rainerdun/project/hadoop-1.0.0
>> export HADOOP_CONF_DIR=3D/home/rainerdun/project/hadoop-1.0.0/conf=
>>
>> #export HBASE_HOME=3D/home/rainerdun/project/hbase-0.90.4
>> export HBASE_CONF_DIR=3D/home/rainerdun/project/hbase-0.90.4/conf<= br> >>
>> export
>> CLASSPATH=3D${CLASSPATH}:/home/rainerdun/project/hbase-0.90.4/conf= :/home/rainerdun/project/hadoop-1.0.0/conf
>> # The location of chukwa data repository (in either HDFS or your l= ocal
>> # file system, whichever you are using)
>> export chukwaRecordsRepository=3D"/chukwa/repos/"
>>
>> # The directory where pid files are stored. CHUKWA_HOME/var/run by= default.
>> #export CHUKWA_PID_DIR=3D/tmp/chukwa/pidDir
>>
>> # The location of chukwa logs, defaults to CHUKWA_HOME/logs
>> #export CHUKWA_LOG_DIR=3D/tmp/chukwa/log
>>
>> # The location to store chukwa data, defaults to CHUKWA_HOME/data<= br> >> #export CHUKWA_DATA_DIR=3D"${CHUKWA_HOME}/data"
>>
>> # Instance name for chukwa deployment
>> export CHUKWA_IDENT_STRING=3D$USER
>>
>> export JAVA_PLATFORM=3DLinux-i386-32
>> export JAVA_LIBRARY_PATH=3D${HADOOP_HOME}/lib/native/${JAVA_PLATFO= RM}
>>
>> # Datatbase driver name for storing Chukwa Data.
>> export JDBC_DRIVER=3D${TODO_CHUKWA_JDBC_DRIVER}
>>
>> # Database URL prefix for Database Loader.
>> export JDBC_URL_PREFIX=3D${TODO_CHUKWA_JDBC_URL_PREFIX}
>>
>> # HICC Jetty Server heap memory settings
>> # Specify min and max size of heap to JVM, e.g. 300M
>> export CHUKWA_HICC_MIN_MEM=3D
>> export CHUKWA_HICC_MAX_MEM=3D
>>
>> # HICC Jetty Server port, defaults to 4080
>> #export CHUKWA_HICC_PORT=3D
>>
>>       core-site.xml file
>>
>> <configuration>
>>      <property>
>>          <name>fs.default.name</name>
>>          <value>hdfs://localhost:90= 00</value>
>>      </property>
>> </configuration>
>>
>>
>>       and  chukwa-collector-conf.xml file
>>           ......
>>
>>  <property>
>>     <name>writer.hdfs.filesystem</name>
>>      <value>hdfs://localhost:9000</value&g= t;
>>     <description>HDFS to dump to</description&g= t;
>>   </property>
>> ......
>>
>>
>>
>>  Best Regards
>>   Mason
>>



--
= =D5=E2=B8=F6=CA=C0=BD=E7=B2=BB=CF=E0=D0=C5=D1=DB=C0=E1 
--047d7b339bf56f8fd504c35a842d--