Quantcast

problem with hicc

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

problem with hicc

scott
This post was updated on .
i started hicc, and can load the dashboard now, but it seems it doesn't load the data
i try it in the browser to a rest api call:
http://***:4080/hicc/v1/metrics/series/HRegionMetrics/blockcache:blockCacheCount/session/hosts
i wonder when session of hosts is set and with what values, i see it will be used as rowkey in HBase call (table, rkey, cf, ...) to load the data.

Now SessionManager shows that cluster and hosts are with null value here
so how to solve the problem here?
Any one can help?

time_type:last
time_zone:UTC
start:1337831067078
hosts:
cluster:none
_:
period:last7d
end:1337834667078

厚积薄发

System.out.println("hello world again!")

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem with hicc

Eric Yang-3
Hi Scott,

Cluster Selector and Host Selector widget are used to set the cluster
and hostname in the session.
Click on the select drop down and click apply, should do the trick.

regards,
Eric

On Fri, May 25, 2012 at 12:09 AM, scott <[hidden email]> wrote:

> i started hicc, and can load the dashboard now, but it seems it doesn't load
> the data
> i try it in the browser to a rest api call:
> *http://***:4080/hicc/v1/metrics/series/HRegionMetrics/blockcache:blockCacheCount/session/hosts*
> i wonder when session of hosts is set and with what values, i see it will be
> used as *rowkey* in HBase call (table, rkey, cf, ...) to load the data.
>
> I see in the sessionManager, cluster and hosts are with null value here, how
> to solve the problem here? any one can help????
>
> time_type:last
> time_zone:UTC
> start:1337831067078
> hosts:
> cluster:none
> _:
> period:last7d
> end:1337834667078
>
> --
> View this message in context: http://apache-chukwa.679492.n3.nabble.com/problem-with-hicc-tp4014774.html
> Sent from the Chukwa - Users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem with hicc

scott
Hi, Eric,

Thanks for your reply.

However, Cluster Selector and Host Selector widget don't has any options to
select.... can you tell why and how these options are set in (Cluster/Host)
Selector widget?

Session Debugger shows:
/time_type:last
time_zone:UTC
start:1338087467009
hosts:
cluster:
_:
period:last24hr
end:1338091067009/

-----
厚积薄发
System.out.println("hello world again!")
--
View this message in context: http://apache-chukwa.679492.n3.nabble.com/problem-with-hicc-tp4014774p4018595.html
Sent from the Chukwa - Users mailing list archive at Nabble.com.

厚积薄发

System.out.println("hello world again!")

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem with hicc

Eric Yang-3
Hi Scott,

Cluster selection widget is based on data in ClusterSummary table.
Does the ClusterSummary table have value populated?  Cluster Summary
table will only have data populated when ClusterSummary.pig script is
executed for aggregation.

regards,
Eric

On Sun, May 27, 2012 at 7:07 PM, scott <[hidden email]> wrote:

> Hi, Eric,
>
> Thanks for your reply.
>
> However, Cluster Selector and Host Selector widget don't has any options to
> select.... can you tell why and how these options are set in (Cluster/Host)
> Selector widget?
>
> Session Debugger shows:
> /time_type:last
> time_zone:UTC
> start:1338087467009
> hosts:
> cluster:
> _:
> period:last24hr
> end:1338091067009/
>
> -----
> 厚积薄发
> System.out.println("hello world again!")
> --
> View this message in context: http://apache-chukwa.679492.n3.nabble.com/problem-with-hicc-tp4014774p4018595.html
> Sent from the Chukwa - Users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem with hicc

scott
hi Eric,
Many thanks for you reply~

things go wrong, i can't "load the dashboard" now...

when i access via rest API like:
http://master:4080/hicc/v1/metrics/series/SystemMetrics/network/TxPackets/rowkey/slave
No data is shown~ Logs are as follows, plz help to check it....

when run Collector, the record can be inserted into HBase, but can't to fetch it out through HICC webserver, someone tells that my hbase client is not the same as running hbase instance, i have changed hbase.*jar to hbase-0,92.1 in /share/chukwa/lib



2012-05-29 14:41:02,310 INFO main ChukwaConfiguration - chukwaConf is /home/hadoop/hadoop/chukwa/conf
2012-05-29 14:41:03,362 INFO main log - Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
2012-05-29 14:41:03,451 INFO main log - jetty-6.1.26
2012-05-29 14:41:03,494 INFO main log - Extract file:/home/hadoop/hadoop/chukwa/share/chukwa/webapps/hicc.war to /tmp/Jetty_0_0_0_0_4080_hicc.war__hicc__z3a3th/webapp
2012-05-29 14:41:06,676 INFO main log - Opened /home/hadoop/hadoop/chukwa/logs/2012_05_29.request.log
2012-05-29 14:41:06,687 INFO main log - Started SelectChannelConnector@0.0.0.0:4080
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:zookeeper.version=3.3.2-1031432, built on 11/05/2010 05:32 GMT
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:host.name=master
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:java.version=1.6.0_31
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:java.vendor=Sun Microsystems Inc.
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:java.home=/usr/local/jdk1.6/jre
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:java.class.path=/home/hadoop/hadoop/chukwa/conf:/home/hadoop/hadoop/hadoop-1.0.0/conf:.:/usr/local/jdk1.6/lib:/
home/hadoop/hadoop/hbase-0.92.1/conf:/home/hadoop/hadoop/hadoop-1.0.0/conf:/home/hadoop/hadoop/hbase-0.92.1/conf:/home/hadoop/hadoop/hadoop-1.0.0/conf:/home/hadoop/hadoop/chukwa/share/chukwa/webapps
/hicc.war::/home/hadoop/hadoop/chukwa/share/chukwa/ChuMetricsController.jar:/home/hadoop/hadoop/chukwa/share/chukwa/chukwa-0.5.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/ChuHBaseStore.jar:/home/h
adoop/hadoop/chukwa/share/chukwa/chukwa-0.5.0-client.jar:/home/hadoop/hadoop/chukwa/share/chukwa/demux.jar:/home/hadoop/hadoop/chukwa/share/chukwa/chukwa-0.5.0-tests.jar:/home/hadoop/hadoop/chukwa/s
hare/chukwa/lib/commons-httpclient-3.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/spring-core-3.0.3.RELEASE.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jackson-xc-1.5.5.jar:/home/hadoop/had
oop/chukwa/share/chukwa/lib/commons-logging-api-1.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/kahadb-5.5.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-digester-1.8.1.jar:/home/hado
op/hadoop/chukwa/share/chukwa/lib/jersey-json-1.4.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/slf4j-log4j12-1.5.8.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/hadoop-core-1.0.0.jar:/home/hado
op/hadoop/chukwa/share/chukwa/lib/commons-configuration-1.7.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jackson-jaxrs-1.5.5.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/servlet-api-2.5-200812
11.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jdiff-1.0.9.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jettison-1.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/prefuse-beta-20071021.jar:
/home/hadoop/hadoop/chukwa/share/chukwa/lib/servlet-api-2.3.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/confspellcheck.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jchronic-0.2.3.jar:/home/ha
doop/hadoop/chukwa/share/chukwa/lib/spring-context-3.0.3.RELEASE.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-el-1.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/geronimo-jms_1.1_spec-
1.1.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/prefuse.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/stax-api-1.0.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/aopalliance-1.0.jar:/home
/hadoop/hadoop/chukwa/share/chukwa/lib/kfs-0.3.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/spring-asm-3.0.3.RELEASE.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/activemq-protobuf-1.1.jar:/hom
e/hadoop/hadoop/chukwa/share/chukwa/lib/mina-core-2.0.0-M5.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-math-2.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/hbase-0.92.1-tests.jar:/ho
me/hadoop/hadoop/chukwa/share/chukwa/lib/asm-3.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/libthrift-0.5.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jsp-2.1-6.1.14.jar:/home/hadoop/hadoo
p/chukwa/share/chukwa/lib/log4j-1.2.16.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-collections-3.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/geronimo-j2ee-management_1.1_spec-1.0.1
.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/avalon-framework-4.1.3.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/json-lib-2.2.3-jdk15.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/slf4j-api
-1.5.11.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-beanutils-1.8.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-fileupload-1.2.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib
/jets3t-0.7.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/spring-aop-3.0.3.RELEASE.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jersey-server-1.4.jar:/home/hadoop/hadoop/chukwa/share/chukwa/l
ib/jackson-mapper-asl-1.0.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/avro-1.3.3.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/ftpserver-deprecated-1.0.0-M2.jar:/home/hadoop/hadoop/chukwa/sh
are/chukwa/lib/servlet-api-2.5-6.1.14.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/html-filter-1.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jaxb-api-2.1.jar:/home/hadoop/hadoop/chukwa/shar
e/chukwa/lib/jaxb-impl-2.1.12.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-io-1.4.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/hamcrest-core-1.1.jar:/home/hadoop/hadoop/chukwa/share/ch
ukwa/lib/xmlenc-0.52.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/activemq-core-5.5.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/protobuf-java-2.3.0.jar:/home/hadoop/hadoop/chukwa/share/chuk
wa/lib/jruby-complete-1.6.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/json-20090211.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jasper-runtime-5.5.12.jar:/home/hadoop/hadoop/chukwa/share/c
hukwa/lib/json-simple-1.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/xercesImpl-2.10.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jsp-api-2.1-6.1.14.jar:/home/hadoop/hadoop/chukwa/share/ch
ukwa/lib/jetty-util-6.1.26.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/spring-beans-3.0.3.RELEASE.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/hbase-0.92.1.jar:/home/hadoop/hadoop/chukwa/shar
e/chukwa/lib/spring-mock-2.0.8.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/core-3.1.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jetty-6.1.26.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib
/xml-apis-1.4.01.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/guava-10.0.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-logging-1.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/comm
ons-lang-2.4.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jasper-compiler-5.5.12.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/oro-2.0.8.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/activati
on-1.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jasypt-1.7.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/hsqldb-1.8.0.10.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/junit-4.10.jar:/home
/hadoop/hadoop/chukwa/share/chukwa/lib/commons-codec-1.3.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/logkit-1.0.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/sigar.jar:/home/hadoop/hadoop/ch
ukwa/share/chukwa/lib/jsr305-1.3.9.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/hadoop-test-1.0.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/json.jar:/home/hadoop/hadoop/chukwa/share/chukwa/
lib/zookeeper-3.4.3.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jackson-core-asl-1.5.5.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jersey-core-1.4.jar:/home/hadoop/hadoop/chukwa/share/chukwa
/lib/ftplet-api-1.0.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-cli-2.0-SNAPSHOT.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/spring-expression-3.0.3.RELEASE.jar:/home/hadoop/hadoop
/chukwa/share/chukwa/lib/commons-net-1.4.1.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/org.osgi.core-4.1.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/ftpserver-core-1.0.0.jar:/home/hadoop/h
adoop/chukwa/share/chukwa/lib/thrift-0.2.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jline-0.9.94.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/commons-cli-1.2.jar:/home/hadoop/hadoop/chukwa
/share/chukwa/lib/NagiosAppender-1.5.0.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/activeio-core-3.1.2.jar:/home/hadoop/hadoop/chukwa/share/chukwa/lib/jersey-bundle-1.10.jar:
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:java.library.path=/home/hadoop/hadoop/hadoop-1.0.0/lib/native/Linux-i386-32
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:java.io.tmpdir=/tmp
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:java.compiler=<NA>
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:os.name=Linux
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:os.arch=amd64
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:os.version=3.0.0-12-generic
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:user.name=hadoop
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:user.home=/home/hadoop
2012-05-29 14:41:18,347 INFO 597295774@qtp-1750442808-7 ZooKeeper - Client environment:user.dir=/home/hadoop/hadoop/chukwa
2012-05-29 14:41:18,348 INFO 597295774@qtp-1750442808-7 ZooKeeper - Initiating client connection, connectString=master:2181 sessionTimeout=180000 watcher=hconnection
2012-05-29 14:41:18,369 INFO 597295774@qtp-1750442808-7-SendThread() ClientCnxn - Opening socket connection to server master/10.197.64.73:2181
2012-05-29 14:41:18,372 INFO 597295774@qtp-1750442808-7-SendThread(master:2181) ClientCnxn - Socket connection established to master/10.197.64.73:2181, initiating session
2012-05-29 14:41:18,380 INFO 597295774@qtp-1750442808-7-SendThread(master:2181) ClientCnxn - Session establishment complete on server master/10.197.64.73:2181, sessionid = 0x13797462ac8000c, negotia
ted timeout = 180000
2012-05-29 14:41:18,461 ERROR 597295774@qtp-1750442808-7 ChukwaHBaseStore - java.lang.IllegalArgumentException: Not a host:port pair: �^@^@^@^K27142@slaveslave,60020,1338272803762
        at org.apache.hadoop.hbase.HServerAddress.<init>(HServerAddress.java:60)
        at org.apache.hadoop.hbase.zookeeper.RootRegionTracker.dataToHServerAddress(RootRegionTracker.java:82)
        at org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(RootRegionTracker.java:73)
        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:579)
        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:559)
        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(HConnectionManager.java:688)
        at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:590)

厚积薄发

System.out.println("hello world again!")

Loading...