Fork me on GitHub
#onyx
<
2017-11-01
>
michaeldrogalis16:11:51

I went looking for the best channel on Clojurians to find Kafka users before realizing that's probably here, hah. Is anyone here using Kafka with or without Onyx that wouldn't mind 3-4 questions about how you use it?

jholmberg16:11:02

My answers would be around the same issues as @camechis but I'm happy to answer any as well.

michaeldrogalis16:11:28

Thanks! Ill PM @camechis since you're in cahoots 😛

jholmberg16:11:59

np 🙂

souenzzo17:11:02

I'm getting "tons"(not sure if tons, everything in zookeeper is verbose) of PrepRequestProcessor

- Got user-level KeeperException when processing sessionid:0x25f77fe7d5d0005 
  type:create cxid:0x386d zxid:0x100006868 txntype:-1 
  reqpath:n/a Error Path:/onyx/1a6000c9-13f0-4b96-bb89-91e7f1f406bf/checkpoint/9d2c5ffc-a3c1-7c67-d09d-50b2a119d08d/44-259 
  Error:KeeperErrorCode = NoNode for /onyx/1a6000c9-13f0-4b96-bb89-91e7f1f406bf/
  checkpoint/9d2c5ffc-a3c1-7c67-d09d-50b2a119d08d/44-259
sorry for this pretty-print On peers (there is 3 on this zookeeper, each one with a different catalog), there is no log (they are on log/info). Where I can start to debug this?

lucasbradstreet17:11:32

Those are actually fine. ZooKeeper is way too chatty

lucasbradstreet17:11:16

Hmm, actually, I see that it’s using ZK for checkpointing which is not something we recommend in prod as it doesn’t get garbage collected

souenzzo17:11:14

I will dig about it.

the2bears19:11:24

@michaeldrogalis using Kafka w/out Onyx.

michaeldrogalis19:11:57

@the2bears Great! Ill PM you to keep the side chatter out of the channel.

the2bears19:11:07

but would love to figure out a way to use Onyx instead of Storm... 🙂

michaeldrogalis19:11:26

We can help with that 😉

the2bears19:11:03

It's probably more of a political minefield but yes, I realize you're the best source for help with this.

the2bears19:11:14

Well, politics and process

mccraigmccraig19:11:28

happy to answer kafka qs @michaeldrogalis

michaeldrogalis19:11:04

Thanks! Actually need to catch a bus somewhere, Ill PM you when Im back. 🙂

Travis20:11:46

having a dumb moment here. I am setting up a couple peers on compute instances using my docker images and for some reason I cannot get the virtual peers to start all I see on the peer log is

Attempting to connect to Zookeeper @ 10.142.0.3:2181
Started peers. Blocking forever.
I usually see the number of vpeers starting up

michaeldrogalis20:11:21

I think your logging is configured to suppress INFO messages

Travis20:11:35

no i am seeing those

Travis20:11:43

17-11-01 20:33:09 304f8674517b INFO [onyx.http-query:468] - Starting http query server on 0.0.0.0:8095
17-11-01 20:33:09 304f8674517b INFO [onyx.monitoring.metrics-monitoring:114] - Started Metrics Reporting to JMX.

Travis20:11:06

also not seeing any peers in zookeeper either just the new Tenant Id

lucasbradstreet20:11:17

It’s probably having trouble connecting to Aeron

Travis20:11:26

lol, my friend

lucasbradstreet20:11:30

I should probably make it emit a message periodically to say that Aeron is not up

Travis20:11:57

ok will double check, probably just some configs since I am constructing this by hand

lucasbradstreet20:11:13

We do it like that so that you don’t have peers that say they’re up but don’t have an aeron connection

Travis20:11:45

makes since, figured it was something like that

michaeldrogalis20:11:44

"It’s probably having trouble connecting to Aeron" I laughed out loud at this one, sorry

Travis20:11:21

it knows I am beat down and its trying to finish me off

eriktjacobsen21:11:37

Is there a low-friction way to get the latest state for a window on a running system that has a server repl installed? Using zkCli to pull out the info manually from the last checkpoint gives the right data based on some ascii-strings matching, but it also has a lot of binary characters and doesn't seem straightforward to get edn. Is there an api call or something to get the state, or should I just update my job code to store the state into an atom that could be accessed via server repl?

michaeldrogalis22:11:36

@eriktjacobsen Yep there is! Via peer-http-query

eriktjacobsen22:11:22

😞 we're still on 0.10. Thanks, another reason to upgrade

michaeldrogalis22:11:52

Ah 😕 Sure thing.