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 <joshua.ochsank...@gmail.com> 于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 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 > cluster which apparently no longer supports the z libraries for passing > variables. Good times.... > > On Sat, Oct 5, 2019 at 1:59 AM Jeff Zhang <zjf...@gmail.com> wrote: > >> Maybe this PR is what you want, see the examples in screenshot >> >> https://github.com/apache/zeppelin/pull/3464 >> >> >> Joshua Ochsankehl <joshua.ochsank...@gmail.com> 于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 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 <java...@gmail.com> wrote: >>> >>>> 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. otherwise you could code it up in under a day. Surprisingly i've >>>> not seen a standalone websockets server in scala out there : maybe just >>>> overlooked. >>>> >>>> Am Fr., 4. Okt. 2019 um 16:14 Uhr schrieb Joshua Ochsankehl < >>>> joshua.ochsank...@gmail.com>: >>>> >>>>> 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 <java...@gmail.com> >>>>> wrote: >>>>> >>>>>> 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? >>>>>>> >>>>>> >> >> -- >> Best Regards >> >> Jeff Zhang >> > -- Best Regards Jeff Zhang