[jira] [Commented] (YARN-8620) [UI2] YARN Services UI new submission failures are not debuggable
[ https://issues.apache.org/jira/browse/YARN-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568242#comment-16568242 ] Hudson commented on YARN-8620: -- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14704 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14704/]) YARN-8620. [UI2] YARN Services UI new submission failures are not (sunilg: rev 29417dbbf4f6e3881b97408b335c32fe6708) * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-app.js * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/controllers/yarn-deploy-service.js * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/templates/yarn-app.hbs * (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/adapters/yarn-servicedef.js > [UI2] YARN Services UI new submission failures are not debuggable > - > > Key: YARN-8620 > URL: https://issues.apache.org/jira/browse/YARN-8620 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Reporter: Akhil PB >Assignee: Akhil PB >Priority: Major > Fix For: 3.2.0, 3.1.2 > > Attachments: YARN-8620.001.patch, YARN-8620.002.patch > > > When a new service is submitted through the YARN Services UI and an error > occurs, the only message in the UI is > {code} > Error: Adapter operation failed > {code} > Even though the underlying REST API is returning one of the following > messages, it is completely hidden from the end user > {code} > - \{"diagnostics":"Artifact tarball does not exist > hbase-2.0.0.3.0.0.0.tar.gz"} > - \{"diagnostics":"Specified src_file does not exist on hdfs: hdfs-site.xml"} > - \{"diagnostics":"Failed to create service sleeper-service, because it > already exists."} > {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-8620) [UI2] YARN Services UI new submission failures are not debuggable
[ https://issues.apache.org/jira/browse/YARN-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568229#comment-16568229 ] Sunil Govindan commented on YARN-8620: -- +1 > [UI2] YARN Services UI new submission failures are not debuggable > - > > Key: YARN-8620 > URL: https://issues.apache.org/jira/browse/YARN-8620 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Reporter: Akhil PB >Assignee: Akhil PB >Priority: Major > Attachments: YARN-8620.001.patch, YARN-8620.002.patch > > > When a new service is submitted through the YARN Services UI and an error > occurs, the only message in the UI is > {code} > Error: Adapter operation failed > {code} > Even though the underlying REST API is returning one of the following > messages, it is completely hidden from the end user > {code} > - \{"diagnostics":"Artifact tarball does not exist > hbase-2.0.0.3.0.0.0.tar.gz"} > - \{"diagnostics":"Specified src_file does not exist on hdfs: hdfs-site.xml"} > - \{"diagnostics":"Failed to create service sleeper-service, because it > already exists."} > {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-8620) [UI2] YARN Services UI new submission failures are not debuggable
[ https://issues.apache.org/jira/browse/YARN-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568134#comment-16568134 ] genericqa commented on YARN-8620: - | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 32s{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} 26m 29s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 37m 40s{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} 12m 30s{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 24s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 51m 37s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:ba1ab08 | | JIRA Issue | YARN-8620 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12934253/YARN-8620.002.patch | | Optional Tests | asflicense shadedclient | | uname | Linux 4cc57a5ee72e 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/patchprocess/precommit/personality/provided.sh | | git revision | trunk / 022592a | | maven | version: Apache Maven 3.3.9 | | Max. process+thread count | 291 (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/21501/console | | Powered by | Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > [UI2] YARN Services UI new submission failures are not debuggable > - > > Key: YARN-8620 > URL: https://issues.apache.org/jira/browse/YARN-8620 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Reporter: Akhil PB >Assignee: Akhil PB >Priority: Major > Attachments: YARN-8620.001.patch, YARN-8620.002.patch > > > When a new service is submitted through the YARN Services UI and an error > occurs, the only message in the UI is > {code} > Error: Adapter operation failed > {code} > Even though the underlying REST API is returning one of the following > messages, it is completely hidden from the end user > {code} > - \{"diagnostics":"Artifact tarball does not exist > hbase-2.0.0.3.0.0.0.tar.gz"} > - \{"diagnostics":"Specified src_file does not exist on hdfs: hdfs-site.xml"} > - \{"diagnostics":"Failed to create service sleeper-service, because it > already exists."} > {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-8620) [UI2] YARN Services UI new submission failures are not debuggable
[ https://issues.apache.org/jira/browse/YARN-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568099#comment-16568099 ] Akhil PB commented on YARN-8620: Hi [~sunilg], Thanks for the comments. I have uploaded the latest v2 patch addressing your comments. Please note that the error messages added in UI are failsafe/fallback messages. Means if the API does return the following type error message, UI would show below API error message, otherwise UI would fallback to the messages mentioned above. Please review the latest patch. {code:java} {diagnostics: "Some error message"}{code} > [UI2] YARN Services UI new submission failures are not debuggable > - > > Key: YARN-8620 > URL: https://issues.apache.org/jira/browse/YARN-8620 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Reporter: Akhil PB >Assignee: Akhil PB >Priority: Major > Attachments: YARN-8620.001.patch, YARN-8620.002.patch > > > When a new service is submitted through the YARN Services UI and an error > occurs, the only message in the UI is > {code} > Error: Adapter operation failed > {code} > Even though the underlying REST API is returning one of the following > messages, it is completely hidden from the end user > {code} > - \{"diagnostics":"Artifact tarball does not exist > hbase-2.0.0.3.0.0.0.tar.gz"} > - \{"diagnostics":"Specified src_file does not exist on hdfs: hdfs-site.xml"} > - \{"diagnostics":"Failed to create service sleeper-service, because it > already exists."} > {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-8620) [UI2] YARN Services UI new submission failures are not debuggable
[ https://issues.apache.org/jira/browse/YARN-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568014#comment-16568014 ] Sunil Govindan commented on YARN-8620: -- Looks good to me. Thanks. > [UI2] YARN Services UI new submission failures are not debuggable > - > > Key: YARN-8620 > URL: https://issues.apache.org/jira/browse/YARN-8620 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Reporter: Akhil PB >Assignee: Akhil PB >Priority: Major > Attachments: YARN-8620.001.patch > > > When a new service is submitted through the YARN Services UI and an error > occurs, the only message in the UI is > {code} > Error: Adapter operation failed > {code} > Even though the underlying REST API is returning one of the following > messages, it is completely hidden from the end user > {code} > - \{"diagnostics":"Artifact tarball does not exist > hbase-2.0.0.3.0.0.0.tar.gz"} > - \{"diagnostics":"Specified src_file does not exist on hdfs: hdfs-site.xml"} > - \{"diagnostics":"Failed to create service sleeper-service, because it > already exists."} > {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-8620) [UI2] YARN Services UI new submission failures are not debuggable
[ https://issues.apache.org/jira/browse/YARN-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567933#comment-16567933 ] genericqa commented on YARN-8620: - | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 41s{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} 27m 53s{color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} shadedclient {color} | {color:green} 39m 25s{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} 12m 36s{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 29s{color} | {color:green} The patch does not generate ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 53m 44s{color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=17.05.0-ce Server=17.05.0-ce Image:yetus/hadoop:ba1ab08 | | JIRA Issue | YARN-8620 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12934225/YARN-8620.001.patch | | Optional Tests | asflicense shadedclient | | uname | Linux 1536646bb147 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /testptch/patchprocess/precommit/personality/provided.sh | | git revision | trunk / 40ab8ee | | maven | version: Apache Maven 3.3.9 | | Max. process+thread count | 306 (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/21499/console | | Powered by | Apache Yetus 0.8.0-SNAPSHOT http://yetus.apache.org | This message was automatically generated. > [UI2] YARN Services UI new submission failures are not debuggable > - > > Key: YARN-8620 > URL: https://issues.apache.org/jira/browse/YARN-8620 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Reporter: Akhil PB >Assignee: Akhil PB >Priority: Major > Attachments: YARN-8620.001.patch > > > When a new service is submitted through the YARN Services UI and an error > occurs, the only message in the UI is > {code} > Error: Adapter operation failed > {code} > Even though the underlying REST API is returning one of the following > messages, it is completely hidden from the end user > {code} > - \{"diagnostics":"Artifact tarball does not exist > hbase-2.0.0.3.0.0.0.tar.gz"} > - \{"diagnostics":"Specified src_file does not exist on hdfs: hdfs-site.xml"} > - \{"diagnostics":"Failed to create service sleeper-service, because it > already exists."} > {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-8620) [UI2] YARN Services UI new submission failures are not debuggable
[ https://issues.apache.org/jira/browse/YARN-8620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16567877#comment-16567877 ] Sunil Govindan commented on YARN-8620: -- Thanks [~akhilpb]. This is really helpful change. Few minor comments {{let messg = 'Error: Stop service failed!';}} # could we change variable name from messg to message. # Error could be improved like all messages a) Error: Service '' could not be stopped. b) Error: Service '' could not be deleted. c) Error: New service '' deployment failed. > [UI2] YARN Services UI new submission failures are not debuggable > - > > Key: YARN-8620 > URL: https://issues.apache.org/jira/browse/YARN-8620 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn-ui-v2 >Reporter: Akhil PB >Assignee: Akhil PB >Priority: Major > Attachments: YARN-8620.001.patch > > > When a new service is submitted through the YARN Services UI and an error > occurs, the only message in the UI is > {code} > Error: Adapter operation failed > {code} > Even though the underlying REST API is returning one of the following > messages, it is completely hidden from the end user > {code} > - \{"diagnostics":"Artifact tarball does not exist > hbase-2.0.0.3.0.0.0.tar.gz"} > - \{"diagnostics":"Specified src_file does not exist on hdfs: hdfs-site.xml"} > - \{"diagnostics":"Failed to create service sleeper-service, because it > already exists."} > {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