blob: 872bfacaf3e59a1b89e7e580fd5e36b240fa4005 [file] [log] [blame]
{
"services": [
{
"name": "HIVE",
"identities": [
{
"name": "/spnego"
},
{
"name": "/smokeuser"
}
],
"configurations": [
{
"hive-site": {
"hive.metastore.sasl.enabled": "true",
"hive.server2.authentication": "KERBEROS"
}
},
{
"webhcat-site": {
"templeton.kerberos.secret": "secret",
"templeton.hive.properties": "hive.metastore.local=false,hive.metastore.uris=${clusterHostInfo/hive_metastore_host|each(thrift://%s:9083, \\\\,, \\s*\\,\\s*)},hive.metastore.sasl.enabled=true,hive.metastore.execute.setugi=true,hive.metastore.warehouse.dir=/apps/hive/warehouse,hive.exec.mode.local.auto=false,hive.metastore.kerberos.principal=hive/_HOST@${realm}"
}
},
{
"core-site": {
"hadoop.proxyuser.HTTP.hosts": "${clusterHostInfo/webhcat_server_host}"
}
}
],
"components": [
{
"name": "HIVE_METASTORE",
"identities": [
{
"name": "hive_metastore_hive",
"principal": {
"value": "hive/_HOST@${realm}",
"type" : "service",
"configuration": "hive-site/hive.metastore.kerberos.principal",
"local_username": "${hive-env/hive_user}"
},
"keytab": {
"file": "${keytab_dir}/hive.service.keytab",
"owner": {
"name": "${hive-env/hive_user}",
"access": "r"
},
"group": {
"name": "${cluster-env/user_group}",
"access": ""
},
"configuration": "hive-site/hive.metastore.kerberos.keytab.file"
}
}
]
},
{
"name": "HIVE_SERVER",
"identities": [
{
"name": "/HDFS/NAMENODE/hdfs"
},
{
"name": "hive_server_hive",
"principal": {
"value": "hive/_HOST@${realm}",
"type" : "service",
"configuration": "hive-site/hive.server2.authentication.kerberos.principal",
"local_username": "${hive-env/hive_user}"
},
"keytab": {
"file": "${keytab_dir}/hive.service.keytab",
"owner": {
"name": "${hive-env/hive_user}",
"access": "r"
},
"group": {
"name": "${cluster-env/user_group}",
"access": ""
},
"configuration": "hive-site/hive.server2.authentication.kerberos.keytab"
}
},
{
"name": "/spnego",
"principal": {
"configuration": "hive-site/hive.server2.authentication.spnego.principal"
},
"keytab": {
"configuration": "hive-site/hive.server2.authentication.spnego.keytab"
}
}
]
},
{
"name": "WEBHCAT_SERVER",
"identities": [
{
"name": "/spnego",
"principal": {
"configuration": "webhcat-site/templeton.kerberos.principal"
},
"keytab": {
"configuration": "webhcat-site/templeton.kerberos.keytab"
}
}
]
}
]
}
]
}