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

Make non-cloud response objects optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • documentation
    • None

    Description

      Several of the Ambari API response schemas (https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/schemas.md) list several objects as required that don't make sense when Ambari is deployed in a cloud hosting environment. These objects should be made optional. Specifically, the following properties should be optional (listed by API call):

      /clusters/:clusterName

      • cluster_id
      • requests
      • configurations
        /clusters/:clusterName/hosts/:hostname
      • public_host_name
      • rack_info
      • total_mem
        /clusters/:clusterName/hosts/:hostName/host_components/:componentName
      • desired_stack_id
      • stack_id
        /clusters/<name>/hosts/<node>/host_components/datanode (also tasktracker)
      • disk
      • cpu
      • load
      • memory
      • network
        /clusters/:clusterName
      • workflows
        /clusters/<clusterName>/hosts/<hostname>
      • host_status
      • host_state

      Attachments

        1. AMBARI-2405.patch
          3 kB
          Tom Beerbower

        Activity

          People

            tbeerbower Tom Beerbower
            brian_swan Brian Swan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: