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

Add database to map cluster-role to current working directory

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.1.0
    • 0.1.0
    • ambari-agent
    • None
    • Python

    Description

      Proposed directory structure layout:

      $prefix/$cluster-$role/stacks
                            /config
                            /logs/
                            /data/disk-*/
                            /pkgs/hadoop-*.tar.gz
                            /config/hadoop/core-site.xml
      

      One optimization that Owen proposed is to make the directory structure shorter for client.

      $prefix/$cwd/stacks
                  /config
                  /logs
                  /data/disk-*/
                  /pkgs/hadoop-*.tar.gz
                  /config/hadoop/core-site.xml
      

      Action send by controller will contain "current working directory", which agent will record the cluster and role mapping to current working directory.

      Attachments

        Activity

          People

            eyang Eric Yang
            eyang Eric Yang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: