<?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 Re: how to fetch service level configuration using REST API in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-fetch-service-level-configuration-using-REST-API/m-p/98177#M11664</link>
    <description>&lt;P&gt;Thanks very much. This is exactly what i was looking for.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Dec 2015 07:38:16 GMT</pubDate>
    <dc:creator>rbalam</dc:creator>
    <dc:date>2015-12-09T07:38:16Z</dc:date>
    <item>
      <title>how to fetch service level configuration using REST API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-fetch-service-level-configuration-using-REST-API/m-p/98175#M11662</link>
      <description>&lt;P&gt;Can someone help me to fetch service level config using ambari REST API?&lt;/P&gt;&lt;P&gt;For example, we would like to have the following config value pulled using ambari REST API calls.&lt;/P&gt;&lt;P&gt;hive.server2.transport.mode&lt;/P&gt;&lt;P&gt;hive.txn.timeout&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 07:10:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-fetch-service-level-configuration-using-REST-API/m-p/98175#M11662</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2015-12-09T07:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch service level configuration using REST API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-fetch-service-level-configuration-using-REST-API/m-p/98176#M11663</link>
      <description>&lt;P&gt;I would take a look at the Apache Ambari API reference.&lt;/P&gt;&lt;P&gt;I think that this link might be of use: &lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/configuration.md"&gt;https://github.com/apache/ambari/blob/trunk/ambari...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For a list of all configurations to the API you could make a call similar to the following&lt;/P&gt;&lt;PRE&gt;GET /api/v1/clusters/cluster/configurations&lt;/PRE&gt;&lt;P&gt;Then if you wanted to get all of the configuration versions for Hive you could make the call to &lt;/P&gt;&lt;PRE&gt;GET /api/v1/clusters/cluster/configurations?type=hive-site&lt;/PRE&gt;&lt;P&gt;And from that list if you picked one of the versions you would make a call like:&lt;/P&gt;&lt;PRE&gt;/api/v1/clusters/Sandbox/configurations?type=hive-site&amp;amp;tag=version1447446748723&lt;/PRE&gt;&lt;P&gt;The response would look something like:&lt;/P&gt;&lt;PRE&gt;{
  "href" : "http://localhost:8080/api/v1/clusters/Sandbox/configurations?type=hive-site&amp;amp;tag=version1447446748723",
  "items" : [
    {
      "href" : "http://localhost:8080/api/v1/clusters/Sandbox/configurations?type=hive-site&amp;amp;tag=version1447446748723",
      "tag" : "version1447446748723",
      "type" : "hive-site",
      "version" : 4,
      "Config" : {
        "cluster_name" : "Sandbox",
        "stack_id" : "HDP-2.3"
      },
      "properties" : {
        "ambari.hive.db.schema.name" : "hive",
        "atlas.cluster.name" : "Sandbox",
        "atlas.hook.hive.synchronous" : "true",
        "atlas.rest.address" : "http://sandbox.hortonworks.com:21000",
        "datanucleus.autoCreateSchema" : "false",
        "datanucleus.cache.level2.type" : "none",
        "hive.auto.convert.join" : "true",
        "hive.auto.convert.join.noconditionaltask" : "true",
        "hive.auto.convert.join.noconditionaltask.size" : "357913941",
        "hive.auto.convert.sortmerge.join" : "true",
        "hive.auto.convert.sortmerge.join.to.mapjoin" : "false",
        "hive.cbo.enable" : "true",
        "hive.cli.print.header" : "false",
        "hive.cluster.delegation.token.store.class" : "org.apache.hadoop.hive.thrift.ZooKeeperTokenStore",
        "hive.cluster.delegation.token.store.zookeeper.connectString" : "sandbox.hortonworks.com:2181",
        "hive.cluster.delegation.token.store.zookeeper.znode" : "/hive/cluster/delegation",
        "hive.compactor.abortedtxn.threshold" : "1000",
        "hive.compactor.check.interval" : "300s",
        "hive.compactor.delta.num.threshold" : "10",
        "hive.compactor.delta.pct.threshold" : "0.1f", 


  "hive.security.authorization.enabled" : "true",
        "hive.security.authorization.manager" : "org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdConfOnlyAuthorizerFactory",
        "hive.security.metastore.authenticator.manager" : "org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator",
        "hive.security.metastore.authorization.auth.reads" : "true",
        "hive.security.metastore.authorization.manager" : "org.apache.hadoop.hive.ql.security.authorization.StorageBasedAuthorizationProvider",
        "hive.server2.allow.user.substitution" : "true",
        "hive.server2.authentication" : "NONE",
        "hive.server2.authentication.spnego.keytab" : "HTTP/_HOST@EXAMPLE.COM",
        "hive.server2.authentication.spnego.principal" : "/etc/security/keytabs/spnego.service.keytab",
        "hive.server2.enable.doAs" : "false",
        "hive.server2.logging.operation.enabled" : "true",
        "hive.server2.logging.operation.log.location" : "${system:java.io.tmpdir}/${system:user.name}/operation_logs",
        "hive.server2.support.dynamic.service.discovery" : "true",
        "hive.server2.table.type.mapping" : "CLASSIC",
        "hive.server2.tez.default.queues" : "default",
        "hive.server2.tez.initialize.default.sessions" : "false",
        "hive.server2.tez.sessions.per.default.queue" : "1",
        "hive.server2.thrift.http.path" : "cliservice",
        "hive.server2.thrift.http.port" : "10001",
        "hive.server2.thrift.max.worker.threads" : "500",
        "hive.server2.thrift.port" : "10000",
        "hive.server2.thrift.sasl.qop" : "auth",
        "hive.server2.transport.mode" : "binary",
        "hive.server2.use.SSL" : "false",
        "hive.server2.zookeeper.namespace" : "hiveserver2",
        "hive.smbjoin.cache.rows" : "10000",
        "hive.stats.autogather" : "true",
        "hive.stats.dbclass" : "fs",&lt;/PRE&gt;&lt;P&gt;From this you can retrieve the correct property and it's value.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 07:36:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-fetch-service-level-configuration-using-REST-API/m-p/98176#M11663</guid>
      <dc:creator>zblanco</dc:creator>
      <dc:date>2015-12-09T07:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to fetch service level configuration using REST API</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-fetch-service-level-configuration-using-REST-API/m-p/98177#M11664</link>
      <description>&lt;P&gt;Thanks very much. This is exactly what i was looking for.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 07:38:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/how-to-fetch-service-level-configuration-using-REST-API/m-p/98177#M11664</guid>
      <dc:creator>rbalam</dc:creator>
      <dc:date>2015-12-09T07:38:16Z</dc:date>
    </item>
  </channel>
</rss>

