[
https://issues.apache.org/jira/browse/AMBARI-12771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14701008#comment-14701008
]
Hadoop QA commented on AMBARI-12771:
------------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12750964/AMBARI-12771_branch-2.1.0.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{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:green}+1 core tests{color}. The patch passed unit tests in .
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/3602//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/3602//console
This message is automatically generated.
> Adding a CustomCommands causes Components are not being displayed in Host view
> ------------------------------------------------------------------------------
>
> Key: AMBARI-12771
> URL: https://issues.apache.org/jira/browse/AMBARI-12771
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.1.0
> Environment: RedHat Linux 6.5 x86_64
> Hotonworks 2.3 distribution
> Reporter: Mahesh Kurapati
> Assignee: Shantanu Mundkur
> Labels: feature_custom_service
> Fix For: 2.1.1
>
> Attachments: AMBARI-12771_branch-2.1.0.patch
>
>
> We are trying to add a CustomCommands to our service in HDP2.3 stack, but
> once CustomCommands added and restart Ambari in host view we can't see any
> components. This was working fine in HDP2.2(Ambari-2.0.1).
> To reproduce follow below steps:
> 1. As per the Amabri desgin document
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=38571133, we
> tried to add a TESTSERVICE service like below which contains customCommands
> in metainfo.xml:
> <?xml version="1.0"?>
> <metainfo>
> <schemaVersion>2.0</schemaVersion>
> <services>
> <service>
> <name>TESTSERVICE</name>
> <displayName>Test Service</displayName>
> <version>1.0.0.0</version>
> <components>
> <component>
> <name>TEST_COMPONENT</name>
> <displayName>Analytic Metastore</displayName>
> <category>MASTER</category>
> <cardinality>1</cardinality>
> <clientsToUpdateConfigs></clientsToUpdateConfigs>
>
> <commandScript>
> <script>scripts/script.py</script>
> <scriptType>PYTHON</scriptType>
> </commandScript>
> <customCommands>
> <customCommand>
> <name>CustonAction</name>
> <commandScript>
> <script>scripts/script.py</script>
> <scriptType>PYTHON</scriptType>
> <timeout>600</timeout>
> </commandScript>
> </customCommand>
> </customCommands>
> </component>
> </components>
> </service>
> </services>
> </metainfo>
> 2. restart Ambari server
> 3. Add service TESTSERVICE to any host
> 4. goto host view and see all the components not showed.
> 5. Also Service actions popup menu doesn't show this CustomAction.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)