Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-10435

Set default cardinality for ComponentInfo if not specified in metainfo.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • ambari-server, stacks
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dsen Dmytro Sen
              dsen Dmytro Sen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: