You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Tez CI (Jira)" <ji...@apache.org> on 2021/02/10 08:07:00 UTC

[jira] [Commented] (TEZ-3966) Tez UI config couldn't be executed in browser

    [ https://issues.apache.org/jira/browse/TEZ-3966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282295#comment-17282295 ] 

Tez CI commented on TEZ-3966:
-----------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 10m 48s{color} | {color:blue} Docker mode activated. {color} |
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} dupname {color} | {color:green}  0m  0s{color} | {color:green} No case conflicting files found. {color} |
| {color:blue}0{color} | {color:blue} markdownlint {color} | {color:blue}  0m  0s{color} | {color:blue} markdownlint was not available. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:red}-1{color} | {color:red} jshint {color} | {color:red}  0m  5s{color} | {color:red} The patch generated 1 new + 8 unchanged - 0 fixed = 9 total (was 8) {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m  0s{color} | {color:green} The patch has no whitespace issues. {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 59s{color} | {color:green} The patch does not generate ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 12m 35s{color} | {color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Docker | ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-26/2/artifact/out/Dockerfile |
| GITHUB PR | https://github.com/apache/tez/pull/26 |
| JIRA Issue | TEZ-3966 |
| Optional Tests | dupname asflicense markdownlint jshint |
| uname | Linux 53e52c36c6e4 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
| Build tool | maven |
| Personality | personality/tez.sh |
| git revision | master / 851e9d8b5 |
| jshint | https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-26/2/artifact/out/diff-patch-jshint.txt |
| Max. process+thread count | 51 (vs. ulimit of 5500) |
| modules | C: tez-ui U: tez-ui |
| Console output | https://ci-hadoop.apache.org/job/tez-multibranch/job/PR-26/2/console |
| versions | git=2.17.1 maven=3.6.0 jshint=2.12.0 |
| Powered by | Apache Yetus 0.12.0 https://yetus.apache.org |


This message was automatically generated.



> Tez UI config couldn't be executed in browser 
> ----------------------------------------------
>
>                 Key: TEZ-3966
>                 URL: https://issues.apache.org/jira/browse/TEZ-3966
>             Project: Apache Tez
>          Issue Type: Bug
>          Components: UI
>            Reporter: Roman Lukin
>            Priority: Major
>         Attachments: Selection_043.png, Selection_044.png, simple-cors-http-server.py
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Current name convention applied to the ui configuration file, produce the following error in web browser - mime type check fails (which based on file extesion) and if  header `X-Content-Type-Options: nosniff` enabled config wouldn't be executed and used. As a result we may have problems, for instance links based on variable `yarnProtocol`.
> More about header - [https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options]
> Possible solution - rename file `config.env` to `config.js` [https://github.com/apache/tez/pull/26] [https://github.com/rlukin/tez/commit/8db8c04faee04dc161c90c3961233ec5aa40518e]
>  
> Steps to reproduce:
>  * Enable aforementioned header on web server
>  * Try to load tez ui



--
This message was sent by Atlassian Jira
(v8.3.4#803005)