This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-04-08
Channels
- # admin-announcements (7)
- # aws (5)
- # beginners (37)
- # boot (39)
- # cider (4)
- # clara (2)
- # cljs-dev (32)
- # cljsjs (1)
- # cljsrn (12)
- # clojure (235)
- # clojure-austin (3)
- # clojure-belgium (7)
- # clojure-berlin (11)
- # clojure-dev (36)
- # clojure-france (10)
- # clojure-japan (10)
- # clojure-poland (2)
- # clojure-russia (39)
- # clojure-uk (4)
- # clojurescript (81)
- # code-reviews (9)
- # core-async (6)
- # core-logic (1)
- # datomic (32)
- # editors (7)
- # emacs (1)
- # hoplon (191)
- # jobs-discuss (14)
- # juxt (4)
- # lein-figwheel (4)
- # leiningen (3)
- # off-topic (7)
- # om (49)
- # onyx (34)
- # other-lisps (1)
- # overtone (11)
- # parinfer (1)
- # proton (5)
- # re-frame (11)
- # reagent (12)
- # spacemacs (2)
- # untangled (90)
- # yada (15)
Thanks for pointing me the right direction, docker now takes --shm-size=“” Im using compose though, they are not ready with this update yet.. but its comming in 1.7.
@drankard: yeah unfortunately you need the manual script work around + privileged mode until compuse supports it
I’ve generated a Onyx template (no customization yet), started a local cluster via docker-compose, submitted a job. I’ve started a dashboard succesfully. I’m figuring out what everything means. I’m seeing a recurring error in the docker logs. Is that expected?
Hmm, that’s not good, but it’s probably because the template was created vanilla. Lemme check how it looks
Hmm, so I assume you created with:lein new onyx-app my-app-name -- +docker
Oh, you must have done both?
i.e. +metrics +docker
yeah
lein new onyx-app load-test -- +docker +metrics
And I followed the README instruction to start the cluster
If I look at the dashboard something seems to happen (not sure what exactly :))
Can you change the following file:
src/my_app_name/tasks/metrics.clj
to look more like this?
(defn add-metrics
"Adds throughput and latency metrics to a task"
([job task] (add-metrics job task {}))
([job task opts]
(-> job
(update-in [:lifecycles] conj (merge
{:lifecycle/task :all ; or :task-name for an individual task
:lifecycle/calls :onyx.lifecycle.metrics.metrics/calls
:metrics/buffer-capacity 10000
:metrics/sender-fn :onyx.lifecycle.metrics.timbre/timbre-sender
:lifecycle/doc "Instruments a task's metrics to timbre"}
opts)))))
I think there’s a bug in the template
cool, thanks I’ll try
I think i don’t have to restart the cluster, right?
Alternatively you can just remove this line in src/my_app_name/jobs/meetup_job.clj (= :prod mode) (metrics-behavior/add-metrics :read-lines)))
It should be enough to just resubmit the job
Hey Lucas… Did you have an opportunity to look at the :trigger/fire-all-extents? issue we spoke the other day?
Sorry, I’ve been busy with other things. I’ll give it a look tonight
@lucasbradstreet: Thanks, both approaches worked
Thanks @jeroenvandijk. I'll create an issue and we'll get that fixed up asap
The funny thing is that before when there was an error I saw more events in the dashboard. I still need to get my head around this
Mmm you should've at least seen the job killed and the peers reassigned.
yeah sorry, the job is running. And i see peers reassigned. I killed the cluster as I missed your comment about resubmitting. Before I saw more activity under jobs “None"
Ah. Ok, kinda hard to know what was going on but let me know if you need anything clarified
Yeah I think i just need to get some experience before i take more of your time
The onyx-template generates a 0.8 Onyx application. Is that still the recommended version?
I guess not, reading the Onyx readme
@jeroenvandijk: You can upgrade to 0.9.0. We didn't get around to upgrading the template yet. It's one of the few pieces not in our automated release pipeline.
@ymilky: Heads up with travel-zoo: https://github.com/onyx-platform/onyx/issues/563#issuecomment-206686151