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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment