You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jaimin D Jetly (JIRA)" <ji...@apache.org> on 2015/09/03 23:31:46 UTC
[jira] [Updated] (AMBARI-12771) Adding a CustomCommands causes
Components are not being displayed in Host view
[ https://issues.apache.org/jira/browse/AMBARI-12771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaimin D Jetly updated AMBARI-12771:
------------------------------------
Attachment: AMBARI-12771_branch-2.1.patch.2
> 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.2
>
> Attachments: AMBARI-12771_branch-2.1.0.patch, AMBARI-12771_branch-2.1.patch.2
>
>
> 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)