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

Add granular flags for sysprepped clusters to copy tarballs, Oozie share lib, fast jar, and create users

    XMLWordPrintableJSON

Details

    • Story
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • stacks
    • None

    Description

      In order to support sysprepped clusters using Docker containers, we need more granular flags about what steps must be done, e.g.,

      • Copy tarballs to HDFS
      • Copy Oozie share lib to HDFS
      • Copy fast jar (fast-hdfs-resource.jar) to /var/lib/ambari-agent/lib/
      • Create users and groups

      These properties will be stored in cluster-env instead of ambari.properties so they can be changed without requiring a restart of Ambari Server.

      sysprep_skip_copy_tarballs_hdfs=true|false (default is false)
      sysprep_skip_copy_oozie_share_lib_to_hdfs=true|false (default is false)
      sysprep_skip_copy_fast_jar_hdfs=true|false (default is false)
      sysprep_skip_create_users_and_groups=true|false (default is false)

      For existing users that have automated everything on a sysprepped cluster, they should set these flags as true.

      These flags are only valid if ambari.properties knows the cluster is sysprepped, i.e.,
      packages.pre.installed=true

      Attachments

        1. AMBARI-18438.branch-2.5.patch
          52 kB
          Alejandro Fernandez
        2. AMBARI-18438.trunk.patch
          52 kB
          Alejandro Fernandez
        3. blueprint_fast_install_more_services.json
          14 kB
          Alejandro Fernandez
        4. install_packages.sh
          3 kB
          Alejandro Fernandez
        5. topology.json
          0.8 kB
          Alejandro Fernandez

        Issue Links

          Activity

            People

              afernandez Alejandro Fernandez
              afernandez Alejandro Fernandez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: