History server UI not working

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

History server UI not working

pwestermann
We recently upgraded from Flink 1.7 to Flink 1.9.2 and the history server UI
now seems to be broken. It doesn't load and always just displays a blank
screen.
The individual endpoints (e.g. /jobs/overview) still work.
Could this be an issue caused by the Angular update for the regular UI?




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: History server UI not working

Yang Wang
If all the rest api could be viewed successfully, then the reason may be js cache.
You could try to force a refresh(e.g. Cmd+Shft+R for Mac). It solved my problem before.


Best,
Yang

pwestermann <[hidden email]> 于2020年3月4日周三 下午8:40写道:
We recently upgraded from Flink 1.7 to Flink 1.9.2 and the history server UI
now seems to be broken. It doesn't load and always just displays a blank
screen.
The individual endpoints (e.g. /jobs/overview) still work.
Could this be an issue caused by the Angular update for the regular UI?




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: History server UI not working

rmetzger0
I'm also suspecting a problem with the UI updated

Do the Developer Tools of the browser show any error messages?

On Thu, Mar 5, 2020 at 7:00 AM Yang Wang <[hidden email]> wrote:
If all the rest api could be viewed successfully, then the reason may be js cache.
You could try to force a refresh(e.g. Cmd+Shft+R for Mac). It solved my problem before.


Best,
Yang

pwestermann <[hidden email]> 于2020年3月4日周三 下午8:40写道:
We recently upgraded from Flink 1.7 to Flink 1.9.2 and the history server UI
now seems to be broken. It doesn't load and always just displays a blank
screen.
The individual endpoints (e.g. /jobs/overview) still work.
Could this be an issue caused by the Angular update for the regular UI?




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: History server UI not working

pwestermann
I am seeing this error in firefox:

ERROR TypeError: "this.statusService.configuration.features is undefined"
    t http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    qr http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    Gr http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    ko http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    Oo http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    Bo http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    create http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    create http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    bootstrap http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    _moduleDoBootstrap
http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    _moduleDoBootstrap
http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    o http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    invoke http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    onInvoke http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    invoke http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    run http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    I http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    invokeTask http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    onInvokeTask http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    invokeTask http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    runTask http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    g http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    invokeTask http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    m http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    k http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1

And this one in Chrome (both on Mac):

main.177039bdbab11da4f8ac.js:1 ERROR TypeError: Cannot read property
'web-submit' of undefined
    at new t (main.177039bdbab11da4f8ac.js:1)
    at qr (main.177039bdbab11da4f8ac.js:1)
    at Gr (main.177039bdbab11da4f8ac.js:1)
    at ko (main.177039bdbab11da4f8ac.js:1)
    at Oo (main.177039bdbab11da4f8ac.js:1)
    at Object.Bo [as createRootView] (main.177039bdbab11da4f8ac.js:1)
    at e.create (main.177039bdbab11da4f8ac.js:1)
    at e.create (main.177039bdbab11da4f8ac.js:1)
    at t.bootstrap (main.177039bdbab11da4f8ac.js:1)
    at main.177039bdbab11da4f8ac.js:1

Refreshing doesn't do anything.

Thanks for looking into this,

Peter



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: History server UI not working

rmetzger0
Hey Peter,

I tried reproducing the error, and for a second, I though the 1.10 release really broke the web ui, because I saw a pretty similar error.
However after clearing the cache, the error was gone.
Are you sure that you cleared the cache of your browser?

I have also asked the main contributor working on the web UI to take a look at this thread.

Best,
Robert

On Fri, Mar 6, 2020 at 5:52 PM pwestermann <[hidden email]> wrote:
I am seeing this error in firefox:

ERROR TypeError: "this.statusService.configuration.features is undefined"
    t http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    qr http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    Gr http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    ko http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    Oo http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    Bo http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    create http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    create http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    bootstrap http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    _moduleDoBootstrap
http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    _moduleDoBootstrap
http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    o http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    invoke http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    onInvoke http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    invoke http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    run http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    I http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    invokeTask http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    onInvokeTask http://10.25.197.60:8082/main.177039bdbab11da4f8ac.js:1
    invokeTask http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    runTask http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    g http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    invokeTask http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    m http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1
    k http://10.25.197.60:8082/polyfills.b37850e8279bc3caafc9.js:1

And this one in Chrome (both on Mac):

main.177039bdbab11da4f8ac.js:1 ERROR TypeError: Cannot read property
'web-submit' of undefined
    at new t (main.177039bdbab11da4f8ac.js:1)
    at qr (main.177039bdbab11da4f8ac.js:1)
    at Gr (main.177039bdbab11da4f8ac.js:1)
    at ko (main.177039bdbab11da4f8ac.js:1)
    at Oo (main.177039bdbab11da4f8ac.js:1)
    at Object.Bo [as createRootView] (main.177039bdbab11da4f8ac.js:1)
    at e.create (main.177039bdbab11da4f8ac.js:1)
    at e.create (main.177039bdbab11da4f8ac.js:1)
    at t.bootstrap (main.177039bdbab11da4f8ac.js:1)
    at main.177039bdbab11da4f8ac.js:1

Refreshing doesn't do anything.

Thanks for looking into this,

Peter



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: History server UI not working

pwestermann
Hey Robert,

I just tried Flink 1.10 and the history server UI works for me too. Only
Flink 1.9.2 is not loading.
Since we were already looking into upgrading to 1.10, I might just do that
now.

Thanks,
Peter



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: History server UI not working

Yadong Xie
Hi pwestermann

I believe this is related to
https://issues.apache.org/jira/browse/FLINK-13799

It seems that the configuration.features['web-submit'] is missed from the
api when you upgrading from 1.7 to 1.9.2

Do you have the same problem when upgrading to 1.10? feel free to ping me if
you still have related problems.



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/