Traceback (most recent call last):
File "/Users/klala/skyline/bin/../src/analyzer/analyzer-agent.py", line 70, in <module>
daemon_runner.do_action()
File "/Library/Python/2.7/site-packages/daemon/runner.py", line 189, in do_action
func(self)
File "/Library/Python/2.7/site-packages/daemon/runner.py", line 124, in _start
self.daemon_context.open()
File "/Library/Python/2.7/site-packages/daemon/daemon.py", line 346, in open
self.pidfile.__enter__()
File "/Library/Python/2.7/site-packages/lockfile/__init__.py", line 238, in __enter__
self.acquire()
File "/Library/Python/2.7/site-packages/daemon/pidfile.py", line 42, in acquire
super(TimeoutPIDLockFile, self).acquire(timeout, *args, **kwargs)
File "/Library/Python/2.7/site-packages/lockfile/pidlockfile.py", line 88, in acquire
self.path)
lockfile.LockTimeout: Timeout waiting to acquire lock for /var/run/skyline/analyzer.pid
2015-06-29 14:28:27 :: 72722 :: seconds to run :: 0.49
2015-06-29 14:28:27 :: 72722 :: total metrics :: 1
2015-06-29 14:28:27 :: 72722 :: total analyzed :: 1
2015-06-29 14:28:27 :: 72722 :: total anomalies :: 0
2015-06-29 14:28:27 :: 72722 :: exception stats :: {}
2015-06-29 14:28:27 :: 72722 :: anomaly breakdown :: {}
2015-06-29 14:28:27 :: 72722 :: sleeping due to low run time...
Traceback (most recent call last):
File "/Users/klala/skyline/bin/../src/horizon/horizon-agent.py", line 89, in <module>
daemon_runner.do_action()
File "/Library/Python/2.7/site-packages/daemon/runner.py", line 189, in do_action
func(self)
File "/Library/Python/2.7/site-packages/daemon/runner.py", line 124, in _start
self.daemon_context.open()
File "/Library/Python/2.7/site-packages/daemon/daemon.py", line 346, in open
self.pidfile.__enter__()
File "/Library/Python/2.7/site-packages/lockfile/__init__.py", line 238, in __enter__
self.acquire()
File "/Library/Python/2.7/site-packages/daemon/pidfile.py", line 42, in acquire
super(TimeoutPIDLockFile, self).acquire(timeout, *args, **kwargs)
File "/Library/Python/2.7/site-packages/lockfile/pidlockfile.py", line 88, in acquire
self.path)
lockfile.LockTimeout: Timeout waiting to acquire lock for /var/run/skyline/horizon.pid
2015-06-29 15:08:38 :: 72738 :: worker queue is empty and timed out
How do I fix this?
3. Getting stuff to show up on Web UI
When I run the web UI, it is blank. How do I get my seed data to show up on it? (I tried reducing DURATION to 300 milliseconds to see if something showed up, but it didn't)
I really don't know what I am doing and I would appreciate any help :)
Thanks!
2015-06-29 16:08:39 :: 78059 :: metrics. keyspace is 1
2015-06-29 16:08:39 :: 78059 :: blocked 0 times
2015-06-29 16:08:39 :: 78059 :: euthanized 0 geriatric keys
2015-06-29 16:08:39 :: 78059 :: sleeping due to low run time...
2015-06-29 16:08:49 :: 78067 :: operated on metrics. in 0.161651 seconds
2015-06-29 16:08:49 :: 78067 :: metrics. keyspace is 1
2015-06-29 16:08:49 :: 78067 :: blocked 0 times
2015-06-29 16:08:49 :: 78067 :: euthanized 0 geriatric keys
2015-06-29 16:08:49 :: 78067 :: sleeping due to low run time...
2015-06-29 16:08:52 :: 76735 :: worker queue is empty and timed out
despite the fact that I ran the seed data on it. How do I fix this?
Thank you!
ByteArrayOutputStream out = new ByteArrayOutputStream();
MessagePacker messagepacker = MessagePack.newDefaultPacker(out);
double[] message = new double[2]; //formatted as Key/Value pair. message[0] = epoch seconds, [1] = data value
messagepacker
.packArrayHeader(2)
.packString(metricName)
.packArrayHeader(2)
.packDouble(message[0])
.packDouble(message[1])
.close();
byte[] buf = out.toByteArray();
out.reset();