Re: Calling Scala function from angular submit button

2019-10-09 Thread Jeff Zhang
I remember there's a bug in 0.8.0 about the z variable in yarn-cluster mode, but should be fixed in 0.8.1 Joshua Ochsankehl 于2019年10月10日周四 上午3:10写道: > What I ended up doing was creating a variable that was shared between the > angular and scala instances and created a watch and case statement

Re: Calling Scala function from angular submit button

2019-10-09 Thread Joshua Ochsankehl
What I ended up doing was creating a variable that was shared between the angular and scala instances and created a watch and case statement that would call a function dependent on the value of the variable which would be changed on button click. This worked well until my company went to a YARN cl

Re: Calling Scala function from angular submit button

2019-10-05 Thread Jeff Zhang
Maybe this PR is what you want, see the examples in screenshot https://github.com/apache/zeppelin/pull/3464 Joshua Ochsankehl 于2019年10月5日周六 上午7:39写道: > Thanks for the tip! I'll likely stubbornly figure it out myself lol. I > got it to work so far by making paragraphs that call the functions b

Re: Calling Scala function from angular submit button

2019-10-04 Thread Joshua Ochsankehl
Thanks for the tip! I'll likely stubbornly figure it out myself lol. I got it to work so far by making paragraphs that call the functions but that's messy. If I figure it out I'll be sure to add the solution here. On Fri, Oct 4, 2019, 6:30 PM Stephen Boesch wrote: > I don't have the scala sid

Re: Calling Scala function from angular submit button

2019-10-04 Thread Stephen Boesch
I don't have the scala side code anymore apologies (former company private codebase). I coded it due to not wanting to use a heavier weight framework - e.g. Play. If you don't mind integrating a heavy framework it's baked into Play/Play2 : but that adds codebase complexity. Your call. otherwi

Re: Calling Scala function from angular submit button

2019-10-04 Thread Joshua Ochsankehl
Ok, I understand what you're saying but I'm not sure how to go about it. Any tips or good tutorials on it to point me in the right direction. Thanks for the response. On Fri, Oct 4, 2019 at 5:58 PM Stephen Boesch wrote: > You'll need to start a listener/server on the scala end and communicate >

Re: Calling Scala function from angular submit button

2019-10-04 Thread Stephen Boesch
You'll need to start a listener/server on the scala end and communicate vai a websocket connection from angular. Am Fr., 4. Okt. 2019 um 13:00 Uhr schrieb Joshua Ochsankehl < joshua.ochsank...@gmail.com>: > Is it possible to pass a value to a spark/scala function from > an angular submit button?

Calling Scala function from angular submit button

2019-10-04 Thread Joshua Ochsankehl
Is it possible to pass a value to a spark/scala function from an angular submit button?