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

Avoid hardcoded values in blueprint for hive and oozie

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • trunk
    • ambari-server, blueprints
    • None

    Description

      There are a lot of hardcoded values in blueprint for hive.

      {
      "hive-env" : {
      "properties_attributes" : { },
      "properties" : {
      "hive_security_authorization" : "None",
      "hive_log_dir" : "/var/log/hive",
      "hive_existing_oracle_host" : "hardcodedhostname
      com",
      "hive_user" : "hive",
      "hive_existing_mssql_server_2_host" : "hardcodedhostname.com",
      "hive.heapsize" : "1024",
      "hcat_log_dir" : "/var/log/webhcat",
      "hive_hostname" : "%HOSTGROUP::host_group_1%",
      "hive_database" : "New MySQL Database",
      "hive_exec_orc_storage_strategy" : "SPEED",
      "hive_database_name" : "hive",
      "webhcat_user" : "hcat",
      "hive_txn_acid" : "off",
      "hcat_pid_dir" : "/var/run/webhcat",
      "hive.metastore.heapsize" : "1024",
      "hive.client.heapsize" : "512",
      "hive_existing_mssql_server_host" : "hardcodedhostname.com",
      "hcat_user" : "hcat",
      "hive_ambari_database" : "MySQL",
      "content" : "\n if [ \"$SERVICE\" = \"cli\" ]; then\n

      {%...}

      "hive_pid_dir" : "/var/run/hive",
      "hive_existing_postgresql_host" : "hardcodedhostname.com",
      "hive_database_type" : "mysql",
      "hive_existing_mysql_host" : "hardcodedhostname.
      com"
      }

      Attachments

        1. AMBARI-18140.patch
          6 kB
          Amruta Borkar

        Issue Links

          Activity

            People

              arborkar Amruta Borkar
              arborkar Amruta Borkar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: