ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen" <>
Subject Re: Review Request 33077: Set default cardinality for ComponentInfo if not specified in metainfo.xml
Date Fri, 10 Apr 2015 21:43:56 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Апрель 10, 2015, 9:43 п.п.)

Review request for Ambari, Alejandro Fernandez and Dmitro Lisnichenko.

Bugs: AMBARI-10435

Repository: ambari


No cardinality specified in metainfo.xml for HCAT component. Possibly for some another components
It's better to set cardinallity to some default value like "0+" insteand of null, which could
lead to NPE

Diffs (updated)

  ambari-server/src/main/java/org/apache/ambari/server/state/ 624227e 
  ambari-server/src/test/java/org/apache/ambari/server/stack/ 42d6944

  ambari-server/src/test/java/org/apache/ambari/server/stack/ 1ae4cd1



!! some unit tests should be fixed


Dmytro Sen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message