incubator-chukwa-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rocky X <x...@neusoft.com>
Subject Re: No Data available in HICC
Date Wed, 08 Sep 2010 01:02:01 GMT
Hi,

I delete all data in HDFS and re-format namenode of hadoop yesterday,
now I find
HICC has been running corectly.

Thank Eric, jj<zhu121972@163.com> and all chukwa-user!

于 2010年09月07日 16:28, Rocky X 写道:
> Hi, Eric:
>
> There are some data in system_metrics_*_week, but data not existed in
> cluster_system_metrics_*_week.
> I have only found "cluster selector" in widgets and I select the cluster
> name (I have only one cluster).
> In "Options"->"Add Widget", I try to add some widgets but I found out
> all the widgets have no data.
> For example, I execute select clause:
>
> select count(*) from ClientTrace_2122_week;
> +----------+
> | count(*) |
> +----------+
> | 124 |
> +----------+
> 1 row in set (0.00 sec)
>
> But I add "Hadoop"->"HDFS"->"Client Trace" and there is displaying "No
> Data available".
>
> 于 2010年09月07日 10:06, Eric Yang 写道:
>   
>> Hi,
>>
>> For data in MySQL, does data exist for system_metrics_*_week or
>> cluster_systetm_metrics_*_week?  If data exists in
>> system_metrics_*_week, then you probably need to select a host in Host
>> Selection widget, and click Apply to see metrics for selected host.
>> If data exists in cluster_system_metrics_*_week, then data should
>> render for the default view.  cluster_system_metrics_*_week is not
>> automatically populated unless you run dbAdmin.sh in the background,
>> which will cause SQL based aggregation to happen every 5 minutes.
>> Hope this helps.
>>
>> regards,
>> Eric
>>
>> For the default page, it uses data that is aggregated in MySQL.  Could you
>> On Mon, Sep 6, 2010 at 5:47 PM, Rocky X <xuyj@neusoft.com> wrote:
>>   
>>     
>>> I see, and I can start HICC using command "$CHUKWA_HOME/bin/chukwa hicc".
>>> But I can not get data to display in HICC, and there are displaying "No Data
>>> available",
>>> and I am sure the data existing in MySQL database.
>>>
>>> 于 2010年09月07日 05:36, Eric Yang 写道:
>>>     
>>>       
>>>> Hi guys,
>>>>
>>>> HICC has been converted to run in jetty as a standalone webapp without
>>>> tomcat.  Run:
>>>>
>>>> ./bin/chukwa hicc
>>>>
>>>> This should start up hicc on port 8080.  If it doesn't, show us what
>>>> is written to CHUKWA_HOME/var/log/hicc.log.
>>>>
>>>> regards,
>>>> Eric
>>>>
>>>> On Mon, Sep 6, 2010 at 4:50 AM, jj<zhu121972@163.com>  wrote:
>>>>
>>>>       
>>>>         
>>>>>  Hi Yanjun Xu:
>>>>>
>>>>>         The first question,you should copy dbAdmin.sh from Chukwa 0.3
and
>>>>> put in chukwa-0.4.0/bin directory, This may be caused by lacking of
>>>>> dbAdmin.sh running.
>>>>>
>>>>>          The second question which  I  also have met and  so far it have
>>>>> not
>>>>> been solved.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> From: chukwa-user-return-491-zhu121972=163.com@incubator.apache.org
>>>>> [mailto:chukwa-user-return-491-zhu121972=163.com@incubator.apache.org]
On
>>>>> Behalf Of Yanjun Xu
>>>>> Sent: Monday, September 06, 2010 1:03 PM
>>>>> To: chukwa-user
>>>>> Subject: No Data available in HICC
>>>>>
>>>>>
>>>>>
>>>>> I install chukwa 0.4.0 on the description of admin guide, and now the
>>>>> each
>>>>> parts of chukwa can run smoothly, but there are displaying "No Data
>>>>> available" in HICC.
>>>>>
>>>>>
>>>>>
>>>>> In log file postprocess.log I find some table--just like
>>>>> 'mycluster.filesystem_fsm_2122_week' does not exist, and I create them
in
>>>>> MySQL database manually from templates imported from file
>>>>> $CHUKWA_HOME/conf/database_create_tables.sql. Some tables like
>>>>> 'ClientTrace_2122_week ' have data, and some table--especially
>>>>> 'cluster_*_2122_week' has no data.
>>>>>
>>>>>
>>>>>
>>>>> I start HICC using command "$CHUKWA_HOME/bin/chukwa hicc", and there
seem
>>>>> some mistakes in the description about 'start HICC' in the admin guide,
I
>>>>> can not start hicc when I copy hicc.war to the tomcat's webapps
>>>>> directory.
>>>>> The HICC time zone is 'UTC'.
>>>>>
>>>>>
>>>>>
>>>>> I have some questions as follows:
>>>>>
>>>>>
>>>>>
>>>>> 1. How to automatically creating table in MySQL database in chukwa 0.4.0
>>>>> ?
>>>>>
>>>>>
>>>>>
>>>>> 2. How to display data in HICC ?
>>>>>
>>>>>
>>>>>
>>>>> 2010-09-06
>>>>>
>>>>> ________________________________
>>>>>
>>>>> Yanjun Xu
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------------------------------------
>>>>>
>>>>> Confidentiality Notice: The information contained in this e-mail and
any
>>>>> accompanying attachment(s)
>>>>>
>>>>> is intended only for the use of the intended recipient and may be
>>>>> confidential and/or privileged of
>>>>>
>>>>> Neusoft Corporation, its subsidiaries and/or its affiliates. If any
>>>>> reader
>>>>> of this communication is
>>>>>
>>>>> not the intended recipient, unauthorized use, forwarding, printing,
>>>>> storing, disclosure or copying
>>>>>
>>>>> is strictly prohibited, and may be unlawful.If you have received this
>>>>> communication in error,please
>>>>>
>>>>> immediately notify the sender by return e-mail, and delete the original
>>>>> message and all copies from
>>>>>
>>>>> your system. Thank you.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------------------------------------
>>>>>
>>>>>         
>>>>>           
>>>>       
>>>>         
>>> ---------------------------------------------------------------------------------------------------
>>> Confidentiality Notice: The information contained in this e-mail and any
>>> accompanying attachment(s) is intended only for the use of the intended
>>> recipient and may be confidential and/or privileged of Neusoft Corporation,
>>> its subsidiaries and/or its affiliates. If any reader of this communication
>>> is not the intended recipient, unauthorized use, forwarding, printing,
>>>  storing, disclosure or copying is strictly prohibited, and may be
>>> unlawful.If you have received this communication in error,please immediately
>>> notify the sender by return e-mail, and delete the original message and all
>>> copies from your system. Thank you.
>>> ---------------------------------------------------------------------------------------------------
>>>
>>>     
>>>       
>>   
>>     
> ---------------------------------------------------------------------------------------------------
> Confidentiality Notice: The information contained in this e-mail and any accompanying
attachment(s) 
> is intended only for the use of the intended recipient and may be confidential and/or
privileged of 
> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication
is 
> not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure
or copying 
> is strictly prohibited, and may be unlawful.If you have received this communication in
error,please 
> immediately notify the sender by return e-mail, and delete the original message and all
copies from 
> your system. Thank you. 
> ---------------------------------------------------------------------------------------------------
>   
---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)

is intended only for the use of the intended recipient and may be confidential and/or privileged
of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication
is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or
copying 
is strictly prohibited, and may be unlawful.If you have received this communication in error,please

immediately notify the sender by return e-mail, and delete the original message and all copies
from 
your system. Thank you. 
---------------------------------------------------------------------------------------------------
Mime
View raw message