Fork me on GitHub
#onyx
<
2016-07-29
>
Drew Verlee00:07:18

@gardnervickers: yes its because i wasn’t visiting the docker host ip. I vaguely remember that being addressed in the docker tutorial i did.

Drew Verlee00:07:51

i get the dashboard & and it seems to be recieving data...

➜  onyx-dashboard git:(update-docker-run-command-in-readme) ✗ docker run -p 3000:3000 onyx/onyx-dashboard:latest "192.168.1.170:2188"
Starting Sente
Starting HTTP Server
Http-kit server is running at 
Connected:  192.168.99.1 4e4ca526-ae1f-4aa4-b058-1f90bf45161d
Connected:  192.168.99.1 4e4ca526-ae1f-4aa4-b058-1f90bf45161d
Connected:  192.168.99.1 4e4ca526-ae1f-4aa4-b058-1f90bf45161d
Connected:  192.168.99.1 4e4ca526-ae1f-4aa4-b058-1f90bf45161d
Connected:  192.168.99.1 4e4ca526-ae1f-4aa4-b058-1f90bf45161d
But where i would expect to be able to select a job id in the dashboard there is nothing.

dignati07:07:46

@drewverlee: Looks like it is not connected to Zookeeper. Can you ping the zookeeper address from inside the docker container?

agile_geek07:07:17

@michaeldrogalis: I'm thinking about tools for an ETL problem I may be tackling with a client and I was looking at Onyx but I noticed onyx-etl is not actively maintained. I'm interested in the reason?

vijaykiran07:07:25

@michaeldrogalis: no worries about the doc, let me know if I can help

drankard12:07:38

Im not sure i undestand the windows and triggers correctly, are the windows passed on to the next tasks in the workflow ? the docs doesnt seem to address it. And its a bit hard to explain, but i try.. Lets say a task is splitting a stream of un-ordred but timestamped input sentence segments into words, the task have fixed windowing with a watermark trigger, now the word segments is passed on to the output, it transact the words to a table in a database holding the words and window range, how can the output know which window the words is comming from ?

gardnervickers12:07:34

No the window state is passed to the trigger fn when the trigger conditions are met or the job is terminated

gardnervickers12:07:35

We don't support putting window stat back into your pipeline yet, that's coming in our next major release.

drankard12:07:39

damn ok.. i guess i then can pass the timestamp on thougout the workflow and move the windowing to the last task and have the trigger fn do the transact…

gardnervickers12:07:49

Sure, you can also trigger to durable storage and then use an input plugin to read it again.

Travis14:07:49

Is there any best practices for upgrading a live onyx job? In my case I will be using marathon ( still a relative newbie ) just wondering how this might work.

michaeldrogalis14:07:19

@agile_geek: Too many projects on our plate, not enough immediate interest. It was really just a thin wrapper around Onyx anyway. If you know what you're doing with Onyx, you were better off just using Onyx directly anyway.

michaeldrogalis14:07:15

@vijayakkineni: Actually, that'd be great. I've been trying to get the user guide into a more pleasing state for a long time. If you have any ideas about how we could set it up better, would love to get some help there. 🙂

vijaykiran14:07:02

Of course, I would like to help in anyway I can - first order of business would be to order the docs in more palatable way ?

michaeldrogalis15:07:03

@vijaykiran: Yeah, ordering by topic would be best. The reason we don't do that now is because we're using Jekyll, and we're maintaining multiple versions of the docs for every release. Jekyll is doing an automatic sweep of the docs directory everytime we build the time, and since not all versions have every page, its hard to order by any other way.

michaeldrogalis15:07:17

I think the real thing is that we need to get off of Jekyll. We outgrew that like a month after we picked it up. 😕

vijaykiran15:07:46

hmm - any plans on moving to something like http://readthedocs.org ?

michaeldrogalis15:07:34

We were on ReadTheDocs for a while. It was alright, we wanted something that would integrate directly into our larger website - like Postgres or Datomic.

vijaykiran15:07:00

Ah - okay sounds like a nice challenge 🙂

michaeldrogalis15:07:01

We might have to go back to that though. There's a lot of work to make things "nice" otherwise.

dominicm15:07:26

@michaeldrogalis: Check out asciidoctor. You can do some really cool stuff with it.

vijaykiran15:07:37

either way, I’d like to help out, because I think this hurts pretty bad for people who want to get started with onyx 😞

michaeldrogalis15:07:23

@dominicm: That's what I've been experimenting with lately. I had to put it down though. The problem I ran into is that it doesn't let you render the content into an arbitrary HTML template. They only seem to have preformatted templates to render into.

michaeldrogalis15:07:45

@vijaykiran: Cool, it's much appreciated. There's a lot to maintain these days, we can use all the help we can get.

dominicm15:07:12

@michaeldrogalis: I think it's possible, this is built with AD: https://juxt.pro/yada/manual/index.html

vijaykiran15:07:26

is there any list of concrete tasks that I can pickup or more research needs to be done ?

michaeldrogalis15:07:55

@dominicm: Oh, wow. Yeah, that'd be perfect.

michaeldrogalis15:07:24

@vijaykiran: Hm. Let's see. I'm pretty set on moving all the User Guide files from Markdown to AsciiDoc. I actually have a branch that starts doing that. I moved all the user guide pages into a directory called "staging" while I was experimenting - https://github.com/onyx-platform/onyx/tree/adoc-userguide/doc/user-guide

michaeldrogalis15:07:38

My idea was to take all the adoc files, concat them together, and do a single-page user guide with AsciiDoctor.

agile_geek15:07:41

@michaeldrogalis: thanks. I thought it was something like that but just wanted to confirm you hadn't suddenly decided ETL was a bad use case 😉

dominicm15:07:16

@michaeldrogalis: So, for conversion check out pandoc

dominicm15:07:21

it can do MD->AD now

michaeldrogalis15:07:25

I actually got it to render a nice looking page. If we could come up with a script to generate something like that and substitute that in the website, I'd be very happy.

michaeldrogalis15:07:57

@dominicm: Dang. I spent a whole evening doing the conversion, ha. Ill know for next time.

michaeldrogalis15:07:40

Anywho. @vijaykiran I think a good plan of action would be to work on that branch and move all those user guide files from staging back into their proper home (one directory above), and make a script to compile a one-page user guide, as seen above (I just sorted of hacking it into place to see what it would look like).

michaeldrogalis15:07:59

I could take that script and plop it into our website build, and we should be in a better place.

vijaykiran16:07:48

okay - will take a look this weekend, I’ll poke you now and then 🙂

michaeldrogalis16:07:03

@vijaykiran: Thank you very much ^^