onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
sparkofreason 2018-08-01T02:34:21.000044Z

Another instance of similar behavior. Got the "forcefully timed out" thing from S3, the :lifecycle/handle-exception function was called, and Onyx tried to restart the job. However, it got the same exception during the restart (see above), with no more subsequent restart attempts. Is that expected?

lucasbradstreet 2018-08-01T03:19:43.000044Z

Definitely should keep restarting after that exception. There may be a bug in the supervision if that is happening

lucasbradstreet 2018-08-01T03:20:29.000124Z

I could see that not hitting handle-exception because it’s not user code, but it really should be restarting the peer without prejudice

sparkofreason 2018-08-01T03:28:37.000079Z

As in the previous case, after restarting the peers, the job does not start, but runs if I submit it by hand.

lucasbradstreet 2018-08-01T03:29:21.000026Z

OK. It sounds like the handle exception flow is not being used and it is writing out a kill-job log message.

lucasbradstreet 2018-08-01T03:29:54.000078Z

Could you add a println/log message to handle-exception and ensure it’s never called?

sparkofreason 2018-08-01T04:12:49.000033Z

I have one in there. It gets called once, logs the message, and the next thing in the log is the snippet above. At least in the one peer where the exception occurred. If it happens again I'll be sure to collect logs from all of the peers.

lucasbradstreet 2018-08-01T04:13:25.000194Z

K thanks.

2018-08-01T21:21:38.000393Z

hi guys, if I had a legacy onyx cluster from several versions back, and wanted to stand up a new one on the latest version.. .could they run simultaneously on the same zookeeper?

lucasbradstreet 2018-08-01T21:23:50.000029Z

@jgerman yes, they just need their own tenancy-id

2018-08-01T21:25:25.000103Z

great, I was wondering since I read something about submitting jobs even with no peers as long as there was a previous peer-group on that zookeeper and thought maybe there was tenancy independent structure

2018-08-01T21:25:40.000208Z

thanks for the response, this’ll help us move to current

lucasbradstreet 2018-08-01T21:59:47.000211Z

Another option is to completely jail onyx in zookeeper by adding a path to the zookeeper connection string

lucasbradstreet 2018-08-01T21:59:57.000328Z

But it’s not strictly necessary and has some downsides for migration