-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
learn-onyx SG issues #20
Comments
I'm going through learn onyx now, and find it to be a great resource. One suggestion though, is to provide answers to the "questions" put forth in the missing code. At the moment, I can get 2-3 (grouping) to work, with only 1 peer. But if I try to up the peer count to 3, I get an error. I've since figured this out. The catalog config.
The exception that I get when upping the peer count.
As a newbie, it took me a long time to figure out that I needed both
|
@twashing thanks for the report. That error message should be better. I'll fix it in the next onyx release. I'm thinking "Input task is not checkpointable, as the task |
@twashing I've improved the error message and updated examples to use beta12 which includes the new message. |
Hey @lbradstreet I think the main thing is communicating to the user, that those peer values have to be in a range. Your suggested error message would've helped a lot even though I don't know how the Anyways, whatever works best for your code base. Thanks for the fast response. That was great! |
@lbradstreet Challenge 2-2 still has insufficient information for the learner, as you mentioned in your first comment. Only by coming to this thread did I understand that all catalog entries need to include batch-size and batch-timeout |
My notes from the Singapore Onyx Dojo.
TO IMPROVE:
challenge-2-2: mention batch-size / batch-timeout required i.e. partial task-map entry
challenge-2-0: information model link is outdated now
challenge-1-3 DAG is a bit too crazy or hard to understand
Once added, but with invalid min-max-peers, this was printed:
actual: java.lang.IllegalArgumentException: No method in multimethod 'predicate-error-msg' for dispatch value: valid-flux-policy-min-max-n-peers
I've fixed this in core by now.
actual: clojure.lang.ExceptionInfo: Task :identity failed validation. Error: {:onyx/flux-policy missing-required-key}
and
actual: clojure.lang.ExceptionInfo: Value does not match schema: (not (valid-flux-policy-min-max-n-peers a-clojure.lang.PersistentArrayMap))
this one is due to capturing stdout. Should go to stderr plus, we shouldn't depend on capturing standard out in learn-onyx.
GENERAL
The text was updated successfully, but these errors were encountered: