Hi,
I'm puzzled - I have zeppelin 0.10 with spark 3.1.2.
The driver has Anaconda with python 3.6.5 installed.
Running pyspark paragraph, I'm getting some weird behavior. Paragraph runs
successfully on first attempt, but then failing on successive attempts
(until interpreter restarted).
Error is:
Evewrithing works in the if zeppelin and my webapp lives in the same origin,
but NOT when I'm trying to connecto to zeppelin server via CORS,
the login step works,
but others as "notebook list"
jquery cannot set JSESSIONID so Zeppelin respond with redirect to /api/login
throwing an exception becau
Do you embed zeppelin as an iframe in your app ?
Alessandro Busato 于2021年10月17日周日 下午6:11写道:
> Evewrithing works in the if zeppelin and my webapp lives in the same
> origin,
> but NOT when I'm trying to connecto to zeppelin server via CORS,
> the login step works,
> but others as "notebook list"
On 2021/10/17 11:11:21, Jeff Zhang wrote:
> Do you embed zeppelin as an iframe in your app ?
No, it isn't.
Best regards,
Alessandro
>
> Alessandro Busato 于2021年10月17日周日 下午6:11写道:
>
> > Evewrithing works in the if zeppelin and my webapp lives in the same
> > origin,
> > but NOT when I'm
I solved in this way,
I exploited the BasicAuthentication of shiro,
I edited conf/shiro.ini and changed /** = authc into /** = authcBasic
I think this "workaround" is less secure than others but
in this way I can make CORS request even if the jquery doen't set JSESSIONID
$.ajax({