Mick, can you please share the git repository with me. I tried building from
https://github.com/mhittesdorf/opentsdb.git but whenever I tried to start a tsd I got this following error
-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
10:52:46,224 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
10:52:46,224 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [jar:file:/root/misc_tools/deploy/opentsdb-1.1.1-SNAPSHOT/lib/opentsdb-1.1.1-SNAPSHOT.jar!/logback.xml]
10:52:46,226 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs multiple times on the classpath.
10:52:46,226 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [jar:file:/root/misc_tools/deploy/opentsdb-1.1.1-SNAPSHOT/lib/opentsdb-1.1.1-SNAPSHOT.jar!/logback.xml]
10:52:46,226 |-WARN in ch.qos.logback.classic.LoggerContext[default] - Resource [logback.xml] occurs at [file:/root/misc_tools/deploy/opentsdb-1.1.1-SNAPSHOT/logback.xml]
10:52:46,253 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@596e1fb1 - URL [jar:file:/root/misc_tools/deploy/opentsdb-1.1.1-SNAPSHOT/lib/opentsdb-1.1.1-SNAPSHOT.jar!/logback.xml] is not of type file
10:52:46,291 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
10:52:46,295 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
10:52:46,298 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
10:52:46,317 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
10:52:46,361 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.read.CyclicBufferAppender]
10:52:46,361 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CYCLIC]
10:52:46,366 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache.zookeeper] to INFO
10:52:46,366 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hbase.async] to INFO
10:52:46,366 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.stumbleupon.async] to INFO
10:52:46,366 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
10:52:46,366 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
10:52:46,366 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CYCLIC] to Logger[ROOT]
10:52:46,368 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4ce2cb55 - Registering current configuration as safe fallback point
2013-03-12 10:52:46,373 INFO [main] TSDMain: Starting.
2013-03-12 10:52:46,376 INFO [main] TSDMain: net.opentsdb built at revision 229c3c4 (MINT)
2013-03-12 10:52:46,376 INFO [main] TSDMain: Built on 2013/03/12 05:17:47 +0000 by root@localhost:/root/misc_tools/opentsdb_milli/opentsdb
Exception in thread "main" java.lang.RuntimeException: Initialization failed
at net.opentsdb.tools.TSDMain.main(TSDMain.java:148)
Caused by: java.lang.ExceptionInInitializerError
at org.hbase.async.HBaseClient.getRegion(HBaseClient.java:1309)
at org.hbase.async.HBaseClient.sendRpcToRegion(HBaseClient.java:1027)
at org.hbase.async.HBaseClient.get(HBaseClient.java:755)
at org.hbase.async.HBaseClient.ensureTableFamilyExists(HBaseClient.java:708)
at org.hbase.async.HBaseClient.ensureTableExists(HBaseClient.java:728)
at net.opentsdb.tools.TSDMain.main(TSDMain.java:124)
Caused by: java.lang.RuntimeException: static initializer failed
at org.hbase.async.Bytes.<clinit>(Bytes.java:387)
... 6 more
Caused by: java.lang.NoSuchFieldException: buffer
at java.lang.Class.getDeclaredField(Class.java:1899)
at org.hbase.async.Bytes.<clinit>(Bytes.java:384)
... 6 more
Thanks
Sambit.