ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-10435) Set default cardinality for ComponentInfo if not specified in metainfo.xml
Date Tue, 14 Apr 2015 10:39:12 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-10435?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14493887#comment-14493887
] 

Hudson commented on AMBARI-10435:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2301 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2301/])
AMBARI-10435  Set default cardinality for ComponentInfo if not specified in metainfo.xml (dsen)
(dsen: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=31b1700e4628fbf3815b95aa82c9487be3f42a62)
* ambari-server/src/test/java/org/apache/ambari/server/stack/ServiceModuleTest.java
* ambari-server/src/main/java/org/apache/ambari/server/state/ComponentInfo.java
* ambari-server/src/test/java/org/apache/ambari/server/stack/ComponentModuleTest.java


> Set default cardinality for ComponentInfo if not specified in metainfo.xml
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-10435
>                 URL: https://issues.apache.org/jira/browse/AMBARI-10435
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server, stacks
>    Affects Versions: 2.0.0
>            Reporter: Dmytro Sen
>            Assignee: Dmytro Sen
>             Fix For: 2.1.0
>
>
> No cardinality specified in metainfo.xml for HCAT component. Possibly for some another
components either.
> It's better to set cardinallity to some default value like "0+" insteand of null, which
could lead to NPE



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message