[
https://issues.apache.org/jira/browse/AMBARI-18140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15422911#comment-15422911
]
Di Li commented on AMBARI-18140:
--------------------------------
pushed to trunk as
https://git-wip-us.apache.org/repos/asf?p=ambari.git;a=commit;h=aa58a54b54adfed8893cf7cffe3286e9c2d1fec3
> Avoid hardcoded values in blueprint for hive and oozie
> ------------------------------------------------------
>
> Key: AMBARI-18140
> URL: https://issues.apache.org/jira/browse/AMBARI-18140
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server, blueprints
> Affects Versions: 2.2.0
> Reporter: Amruta Borkar
> Assignee: Amruta Borkar
> Fix For: trunk
>
> Attachments: AMBARI-18140.patch
>
>
> 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"
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)