[jira] [Commented] (AMBARI-18765) Services with invalid themes hang the UI when you attempt to add them
[ https://issues.apache.org/jira/browse/AMBARI-18765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15633499#comment-15633499 ] Hudson commented on AMBARI-18765: - SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #5929 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5929/]) AMBARI-18765 - Services with invalid themes hang the UI when you attempt (tthorpe: [http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=2ebc6ed957c468ef5b2e966094ad41b09ceb1fc5]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceModule.java * (add) ambari-server/src/test/resources/extensions/EXT/0.1/services/OOZIE2/themes/working_theme.json * (edit) ambari-server/src/test/resources/extensions/EXT/0.1/services/OOZIE2/metainfo.xml * (edit) ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerExtensionTest.java * (edit) ambari-server/src/test/resources/extensions/EXT/0.2/services/OOZIE2/metainfo.xml * (add) ambari-server/src/test/resources/extensions/EXT/0.2/services/OOZIE2/themes/broken_theme.json > Services with invalid themes hang the UI when you attempt to add them > - > > Key: AMBARI-18765 > URL: https://issues.apache.org/jira/browse/AMBARI-18765 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: trunk, 2.4.0, 2.5.0 >Reporter: Tim Thorpe >Assignee: Tim Thorpe > Fix For: trunk, 2.5.0, 2.4.2 > > Attachments: AMBARI-18765.patch > > > For a given service if the theme.json file is not properly formatted, Ambari > server will still start 'successfully' but attempts to add that service to > the cluster will fail. > The Ambari server start will log the theme error. Although it neglects to > mention which theme file and service are in error. > When you attempt to add the service, it will query for the service's themes: > api/v1/stacks//versions//services?StackServices/service_name.in(HDFS,YARN,MAPREDUCE2,ZOOKEEPER,RANGER,RANGER_KMS,SLIDER)/ThemeInfo/default=true=themes/* > This will return something like the following for the invalid theme: > "ThemeInfo" : { >"default" : true, >"file_name" : "theme_version_2.json", >"service_name" : "RANGER_KMS", >"stack_name" : "BigInsights", >"stack_version" : "4.3", >"theme_data" : null > } > where the theme_data is null. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AMBARI-18765) Services with invalid themes hang the UI when you attempt to add them
[ https://issues.apache.org/jira/browse/AMBARI-18765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15633494#comment-15633494 ] Hudson commented on AMBARI-18765: - FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #259 (See [https://builds.apache.org/job/Ambari-branch-2.5/259/]) AMBARI-18765 - Services with invalid themes hang the UI when you attempt (tthorpe: [http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=5593a342d9289c0ac659235475fe78415fcbb87a]) * (edit) ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceModule.java * (edit) ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerExtensionTest.java * (edit) ambari-server/src/test/resources/extensions/EXT/0.1/services/OOZIE2/metainfo.xml * (add) ambari-server/src/test/resources/extensions/EXT/0.1/services/OOZIE2/themes/working_theme.json * (add) ambari-server/src/test/resources/extensions/EXT/0.2/services/OOZIE2/themes/broken_theme.json * (edit) ambari-server/src/test/resources/extensions/EXT/0.2/services/OOZIE2/metainfo.xml > Services with invalid themes hang the UI when you attempt to add them > - > > Key: AMBARI-18765 > URL: https://issues.apache.org/jira/browse/AMBARI-18765 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: trunk, 2.4.0, 2.5.0 >Reporter: Tim Thorpe >Assignee: Tim Thorpe > Fix For: trunk, 2.5.0, 2.4.2 > > Attachments: AMBARI-18765.patch > > > For a given service if the theme.json file is not properly formatted, Ambari > server will still start 'successfully' but attempts to add that service to > the cluster will fail. > The Ambari server start will log the theme error. Although it neglects to > mention which theme file and service are in error. > When you attempt to add the service, it will query for the service's themes: > api/v1/stacks//versions//services?StackServices/service_name.in(HDFS,YARN,MAPREDUCE2,ZOOKEEPER,RANGER,RANGER_KMS,SLIDER)/ThemeInfo/default=true=themes/* > This will return something like the following for the invalid theme: > "ThemeInfo" : { >"default" : true, >"file_name" : "theme_version_2.json", >"service_name" : "RANGER_KMS", >"stack_name" : "BigInsights", >"stack_version" : "4.3", >"theme_data" : null > } > where the theme_data is null. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AMBARI-18765) Services with invalid themes hang the UI when you attempt to add them
[ https://issues.apache.org/jira/browse/AMBARI-18765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15626486#comment-15626486 ] Hadoop QA commented on AMBARI-18765: {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12836419/AMBARI-18765.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 5 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in ambari-server: org.apache.ambari.server.state.cluster.ClusterDeadlockTest Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/9083//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/9083//console This message is automatically generated. > Services with invalid themes hang the UI when you attempt to add them > - > > Key: AMBARI-18765 > URL: https://issues.apache.org/jira/browse/AMBARI-18765 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: trunk, 2.4.0, 2.5.0 >Reporter: Tim Thorpe >Assignee: Tim Thorpe > Fix For: trunk, 2.5.0, 2.4.2 > > Attachments: AMBARI-18765.patch > > > For a given service if the theme.json file is not properly formatted, Ambari > server will still start 'successfully' but attempts to add that service to > the cluster will fail. > The Ambari server start will log the theme error. Although it neglects to > mention which theme file and service are in error. > When you attempt to add the service, it will query for the service's themes: > api/v1/stacks//versions//services?StackServices/service_name.in(HDFS,YARN,MAPREDUCE2,ZOOKEEPER,RANGER,RANGER_KMS,SLIDER)/ThemeInfo/default=true=themes/* > This will return something like the following for the invalid theme: > "ThemeInfo" : { >"default" : true, >"file_name" : "theme_version_2.json", >"service_name" : "RANGER_KMS", >"stack_name" : "BigInsights", >"stack_version" : "4.3", >"theme_data" : null > } > where the theme_data is null. -- This message was sent by Atlassian JIRA (v6.3.4#6332)