<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question What are the blueprint properties for specifying the Oozie/Hive database user and password when using an external db? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-blueprint-properties-for-specifying-the-Oozie/m-p/97792#M11270</link>
    <description />
    <pubDate>Thu, 03 Dec 2015 04:52:03 GMT</pubDate>
    <dc:creator>kkane</dc:creator>
    <dc:date>2015-12-03T04:52:03Z</dc:date>
    <item>
      <title>What are the blueprint properties for specifying the Oozie/Hive database user and password when using an external db?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-blueprint-properties-for-specifying-the-Oozie/m-p/97792#M11270</link>
      <description />
      <pubDate>Thu, 03 Dec 2015 04:52:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-blueprint-properties-for-specifying-the-Oozie/m-p/97792#M11270</guid>
      <dc:creator>kkane</dc:creator>
      <dc:date>2015-12-03T04:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: What are the blueprint properties for specifying the Oozie/Hive database user and password when using an external db?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-blueprint-properties-for-specifying-the-Oozie/m-p/97793#M11271</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Blueprint&lt;/STRONG&gt;:&lt;/P&gt;&lt;PRE&gt;{
  "Blueprints" : {
    "stack_name" : "HDP",
    "stack_version" : "2.3"
  },
  "configurations" : [
    {
      "hive-site" : {
        "properties" : {
          "javax.jdo.option.ConnectionDriverName" : "com.mysql.jdbc.Driver",
          "javax.jdo.option.ConnectionURL" : "jdbc:mysql://%HOSTGROUP::hg_master_node_3%/hive?createDatabaseIfNotExist=true",
          "javax.jdo.option.ConnectionUserName": "hive"
        }
      }
    },
    {
      "oozie-site" : {
        "properties" : {
          "oozie.service.JPAService.jdbc.driver" : "com.mysql.jdbc.Driver",
          "oozie.service.JPAService.jdbc.url" : "jdbc:mysql://%HOSTGROUP::hg_master_node_3%/oozie",
          "oozie.service.JPAService.jdbc.username" : "oozie",
          "oozie.db.schema.name" : "oozie",
        }
      }
    },
    {
      "oozie-env" : {
        "properties" : {
          "oozie_hostname" : "%HOSTGROUP::hg_master_node_3%",
          "oozie_database" : "Existing MySQL Database"
        }
      }
    },
    {
      "hive-env" : {
        "properties" : {
          "hive_database" : "Existing MySQL Database",
          "hive_database_name" : "hive",
          "hive_database_type" : "mysql",
          "hive_hostname" : "%HOSTGROUP::hg_master_node_3%"
        }
      }
    }
  ],
  "host_groups" : [
    ...
  ]
}&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Hostgroup-Mapping/Cluster:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;{
  "blueprint" : "bigdata_blueprint",
  "default_password" : "my-super-secret-password",
  "configurations" : [
    {
      "hive-site" : {
        "properties" : {
          "javax.jdo.option.ConnectionPassword" : "my-super-secret-password_2"
        }
      }
    },
    {
      "oozie-site" : {
        "properties" : {
          "oozie.service.JPAService.jdbc.password" : "my-super-secret-password_3"        }
      }
    }
  ],
  "host_groups" :[
    ...
  ]
}




&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Dec 2015 05:27:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-blueprint-properties-for-specifying-the-Oozie/m-p/97793#M11271</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-12-03T05:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: What are the blueprint properties for specifying the Oozie/Hive database user and password when using an external db?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-blueprint-properties-for-specifying-the-Oozie/m-p/97794#M11272</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/261/kkane.html" nodeid="261"&gt;@kkane&lt;/A&gt; important update on the above answer.&lt;/P&gt;&lt;P&gt;At the moment hostgroup variables are not replaced by the actual hostnames, e.g. %HOSTGROUP::hg_master_node_3% is not replaced by c6603.ambari.apache.org. &lt;A rel="user" href="https://community.cloudera.com/users/270/orenault.html" nodeid="270"&gt;@Olivier Renault&lt;/A&gt; pointed this out to me today (Thanks!!). A RMP ticket has already been opened for this missing feature and the implementation is currently planned for one of the next major Ambari versions. &lt;/P&gt;&lt;P&gt;One way to work around this missing piece is to replace the hostgroup variable with the actual hostname.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2015 05:07:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/What-are-the-blueprint-properties-for-specifying-the-Oozie/m-p/97794#M11272</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-12-04T05:07:42Z</dc:date>
    </item>
  </channel>
</rss>

