Re: web access to sparkUI on docker or k8s pods

2019-08-27 Thread Yaniv Harpaz
thank you, I will check it out


Yaniv Harpaz
[ yaniv.harpaz at gmail.com ]


On Wed, Aug 28, 2019 at 7:14 AM Rao, Abhishek (Nokia - IN/Bangalore) <
abhishek@nokia.com> wrote:

> Hi,
>
>
>
> We have seen this issue when we tried to bringup the UI on custom ingress
> path (default ingress path “/” works). Do you also have similar
> configuration?
>
> We tired setting spark.ui.proxyBase and spark.ui.reverseProxy but did not
> help.
>
>
>
> As a workaround, we’re using ingress port (port on edge node) for now.
> There is option of using nodeport as well. That also works.
>
>
>
> Thanks and Regards,
>
> Abhishek
>
>
>
> *From:* Yaniv Harpaz 
> *Sent:* Tuesday, August 27, 2019 7:34 PM
> *To:* user@spark.apache.org
> *Subject:* web access to sparkUI on docker or k8s pods
>
>
>
> hello guys,
>
> when I launch driver pods or even when I use docker run with the spark
> image,
>
> the spark master UI (8080) works great,
>
> but the sparkUI (4040) is loading w/o the CSS
>
>
>
> when I dig a bit deeper I see
>
> "Refused to apply style from '' because its MIME type ('text/html')
> is not supported stylesheet MIME type, and strict MIME checking is enabled."
>
>
>
> what am I missing here?
>
> Yaniv
>
>
> Yaniv Harpaz
> [ yaniv.harpaz at gmail.com ]
>


RE: web access to sparkUI on docker or k8s pods

2019-08-27 Thread Rao, Abhishek (Nokia - IN/Bangalore)
Hi,

We have seen this issue when we tried to bringup the UI on custom ingress path 
(default ingress path “/” works). Do you also have similar configuration?
We tired setting spark.ui.proxyBase and spark.ui.reverseProxy but did not help.

As a workaround, we’re using ingress port (port on edge node) for now. There is 
option of using nodeport as well. That also works.

Thanks and Regards,
Abhishek

From: Yaniv Harpaz 
Sent: Tuesday, August 27, 2019 7:34 PM
To: user@spark.apache.org
Subject: web access to sparkUI on docker or k8s pods

hello guys,
when I launch driver pods or even when I use docker run with the spark image,
the spark master UI (8080) works great,
but the sparkUI (4040) is loading w/o the CSS

when I dig a bit deeper I see
"Refused to apply style from '' because its MIME type ('text/html') is not 
supported stylesheet MIME type, and strict MIME checking is enabled."

what am I missing here?
[https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif]
Yaniv

Yaniv Harpaz
[ yaniv.harpaz at gmail.com ]