[jira] [Commented] (YARN-8386) App log can not be viewed from Logs tab in secure cluster
[ https://issues.apache.org/jira/browse/YARN-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504907#comment-16504907 ] Sunil Govindan commented on YARN-8386: -- [~rohithsharma] There are few jiras to go into 3.0. Other wise its big change for cherrypick. I ll identify those and ll cherrypick one by one. For now, we can close this. > App log can not be viewed from Logs tab in secure cluster > -- > > Key: YARN-8386 > URL: https://issues.apache.org/jira/browse/YARN-8386 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Affects Versions: 3.1.0 >Reporter: Yesha Vora >Assignee: Sunil Govindan >Priority: Critical > Fix For: 3.2.0, 3.1.1 > > Attachments: YARN-8386.001.patch, YARN-8386.002.patch > > > App Logs can not be viewed from UI2 logs tab. > Steps: > 1) Launch yarn service > 2) Let application finish and go to Logs tab to view AM log > Here, service am api is failing with 401 authentication error. > {code} > Request URL: > http://xxx:8188/ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log?_=1527799590942 > Request Method: GET > Status Code: 401 Authentication required > Response > html> > > > Error 401 Authentication required > > HTTP ERROR 401 > Problem accessing > /ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log. > Reason: > Authentication required > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-8386) App log can not be viewed from Logs tab in secure cluster
[ https://issues.apache.org/jira/browse/YARN-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504871#comment-16504871 ] Rohith Sharma K S commented on YARN-8386: - committed to trunk/branch-3.1.. branch-3.0 cherry-picking causing an issues. [~sunilg] would you help to cherry pick to branch-3.0? I am keeping Jira open as long we cherry pick to branch-3.0. Is this also required for branch-2 ? > App log can not be viewed from Logs tab in secure cluster > -- > > Key: YARN-8386 > URL: https://issues.apache.org/jira/browse/YARN-8386 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Affects Versions: 3.1.0 >Reporter: Yesha Vora >Assignee: Sunil Govindan >Priority: Critical > Fix For: 3.2.0, 3.1.1 > > Attachments: YARN-8386.001.patch, YARN-8386.002.patch > > > App Logs can not be viewed from UI2 logs tab. > Steps: > 1) Launch yarn service > 2) Let application finish and go to Logs tab to view AM log > Here, service am api is failing with 401 authentication error. > {code} > Request URL: > http://xxx:8188/ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log?_=1527799590942 > Request Method: GET > Status Code: 401 Authentication required > Response > html> > > > Error 401 Authentication required > > HTTP ERROR 401 > Problem accessing > /ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log. > Reason: > Authentication required > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-8386) App log can not be viewed from Logs tab in secure cluster
[ https://issues.apache.org/jira/browse/YARN-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504861#comment-16504861 ] Hudson commented on YARN-8386: -- FAILURE: Integrated in Jenkins build Hadoop-trunk-Commit #14379 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14379/]) YARN-8386. App log can not be viewed from Logs tab in secure cluster. (rohithsharmaks: rev 377ea1bcdfd523f935364731b82699f2df12) * (add) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/tests/unit/adapters/yarn-app-log-test.js * (add) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/models/yarn-app-log.js * (add) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/serializers/yarn-app-log.js * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-app/logs.js * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/adapters/yarn-log.js * (add) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/adapters/yarn-app-log.js * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/utils/converter.js > App log can not be viewed from Logs tab in secure cluster > -- > > Key: YARN-8386 > URL: https://issues.apache.org/jira/browse/YARN-8386 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Affects Versions: 3.1.0 >Reporter: Yesha Vora >Assignee: Sunil Govindan >Priority: Critical > Attachments: YARN-8386.001.patch, YARN-8386.002.patch > > > App Logs can not be viewed from UI2 logs tab. > Steps: > 1) Launch yarn service > 2) Let application finish and go to Logs tab to view AM log > Here, service am api is failing with 401 authentication error. > {code} > Request URL: > http://xxx:8188/ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log?_=1527799590942 > Request Method: GET > Status Code: 401 Authentication required > Response > html> > > > Error 401 Authentication required > > HTTP ERROR 401 > Problem accessing > /ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log. > Reason: > Authentication required > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-8386) App log can not be viewed from Logs tab in secure cluster
[ https://issues.apache.org/jira/browse/YARN-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504857#comment-16504857 ] Rohith Sharma K S commented on YARN-8386: - +1, tested the patch in secure cluster and non-secure cluster. committing shortly > App log can not be viewed from Logs tab in secure cluster > -- > > Key: YARN-8386 > URL: https://issues.apache.org/jira/browse/YARN-8386 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Affects Versions: 3.1.0 >Reporter: Yesha Vora >Assignee: Sunil Govindan >Priority: Critical > Attachments: YARN-8386.001.patch, YARN-8386.002.patch > > > App Logs can not be viewed from UI2 logs tab. > Steps: > 1) Launch yarn service > 2) Let application finish and go to Logs tab to view AM log > Here, service am api is failing with 401 authentication error. > {code} > Request URL: > http://xxx:8188/ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log?_=1527799590942 > Request Method: GET > Status Code: 401 Authentication required > Response > html> > > > Error 401 Authentication required > > HTTP ERROR 401 > Problem accessing > /ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log. > Reason: > Authentication required > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-8386) App log can not be viewed from Logs tab in secure cluster
[ https://issues.apache.org/jira/browse/YARN-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504638#comment-16504638 ] genericqa commented on YARN-8386: - | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 21s{color} | {color:blue} Docker mode activated. {color} | || || || || {color:brown} Prechecks {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} trunk Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 24m 29s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 34m 10s{color} | {color:green} branch has no errors when building and testing our client artifacts. {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 10m 28s{color} | {color:green} patch has no errors when building and testing our client artifacts. {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 19s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 45m 41s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:abb62dd | | JIRA Issue | YARN-8386 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12926866/YARN-8386.002.patch | | Optional Tests | asflicense shadedclient | | uname | Linux f37303ac9678 4.4.0-64-generic #85-Ubuntu SMP Mon Feb 20 11:50:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/patchprocess/precommit/personality/provided.sh | | git revision | trunk / 58bc34f | | maven | version: Apache Maven 3.3.9 | | Max. process+thread count | 441 (vs. ulimit of 1) | | modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/20978/console | | Powered by | Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > App log can not be viewed from Logs tab in secure cluster > -- > > Key: YARN-8386 > URL: https://issues.apache.org/jira/browse/YARN-8386 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Affects Versions: 3.1.0 >Reporter: Yesha Vora >Assignee: Sunil Govindan >Priority: Critical > Attachments: YARN-8386.001.patch, YARN-8386.002.patch > > > App Logs can not be viewed from UI2 logs tab. > Steps: > 1) Launch yarn service > 2) Let application finish and go to Logs tab to view AM log > Here, service am api is failing with 401 authentication error. > {code} > Request URL: > http://xxx:8188/ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log?_=1527799590942 > Request Method: GET > Status Code: 401 Authentication required > Response > html> > > > Error 401 Authentication required > > HTTP ERROR 401 > Problem accessing > /ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log. > Reason: > Authentication required > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-8386) App log can not be viewed from Logs tab in secure cluster
[ https://issues.apache.org/jira/browse/YARN-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504498#comment-16504498 ] Sunil Govindan commented on YARN-8386: -- Updated v2 patch. Tested in secure and no-secure cluster with Ats1.5 and Ats2. Logs are coming and getting displayed correctly. Also checked when Log Aggregation is disabled. [~rohithsharma] pls help to review this latest patch. > App log can not be viewed from Logs tab in secure cluster > -- > > Key: YARN-8386 > URL: https://issues.apache.org/jira/browse/YARN-8386 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Affects Versions: 3.1.0 >Reporter: Yesha Vora >Assignee: Sunil Govindan >Priority: Critical > Attachments: YARN-8386.001.patch, YARN-8386.002.patch > > > App Logs can not be viewed from UI2 logs tab. > Steps: > 1) Launch yarn service > 2) Let application finish and go to Logs tab to view AM log > Here, service am api is failing with 401 authentication error. > {code} > Request URL: > http://xxx:8188/ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log?_=1527799590942 > Request Method: GET > Status Code: 401 Authentication required > Response > html> > > > Error 401 Authentication required > > HTTP ERROR 401 > Problem accessing > /ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log. > Reason: > Authentication required > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[jira] [Commented] (YARN-8386) App log can not be viewed from Logs tab in secure cluster
[ https://issues.apache.org/jira/browse/YARN-8386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502154#comment-16502154 ] genericqa commented on YARN-8386: - | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 27s{color} | {color:blue} Docker mode activated. {color} | || || || || {color:brown} Prechecks {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} trunk Compile Tests {color} || | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 23m 31s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 32m 23s{color} | {color:green} branch has no errors when building and testing our client artifacts. {color} | || || || || {color:brown} Patch Compile Tests {color} || | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s{color} | {color:green} The patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 10m 13s{color} | {color:green} patch has no errors when building and testing our client artifacts. {color} | || || || || {color:brown} Other Tests {color} || | {color:green}+1{color} | {color:green} asflicense {color} | {color:green} 0m 20s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 43m 47s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:abb62dd | | JIRA Issue | YARN-8386 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12926594/YARN-8386.001.patch | | Optional Tests | asflicense shadedclient | | uname | Linux 42faf96af2bc 4.4.0-89-generic #112-Ubuntu SMP Mon Jul 31 19:38:41 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/patchprocess/precommit/personality/provided.sh | | git revision | trunk / 920d154 | | maven | version: Apache Maven 3.3.9 | | Max. process+thread count | 411 (vs. ulimit of 1) | | modules | C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/20956/console | | Powered by | Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > App log can not be viewed from Logs tab in secure cluster > -- > > Key: YARN-8386 > URL: https://issues.apache.org/jira/browse/YARN-8386 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Affects Versions: 3.1.0 >Reporter: Yesha Vora >Assignee: Sunil Govindan >Priority: Critical > Attachments: YARN-8386.001.patch > > > App Logs can not be viewed from UI2 logs tab. > Steps: > 1) Launch yarn service > 2) Let application finish and go to Logs tab to view AM log > Here, service am api is failing with 401 authentication error. > {code} > Request URL: > http://xxx:8188/ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log?_=1527799590942 > Request Method: GET > Status Code: 401 Authentication required > Response > html> > > > Error 401 Authentication required > > HTTP ERROR 401 > Problem accessing > /ws/v1/applicationhistory/containers/container_e09_1527737134553_0034_01_01/logs/serviceam.log. > Reason: > Authentication required > > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org