You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Srimanth Gunturi (JIRA)" <ji...@apache.org> on 2014/08/06 21:28:13 UTC
[jira] [Created] (AMBARI-6759) Switching host to config-group with
final flag turned off does not reflect in file
Srimanth Gunturi created AMBARI-6759:
----------------------------------------
Summary: Switching host to config-group with final flag turned off does not reflect in file
Key: AMBARI-6759
URL: https://issues.apache.org/jira/browse/AMBARI-6759
Project: Ambari
Issue Type: Bug
Components: controller
Affects Versions: 1.7.0
Reporter: Srimanth Gunturi
Assignee: Srimanth Gunturi
Fix For: 1.7.0
In the default config-group for HDFS I had a config with final=true. I then created a config-group with only the final flag turned off (final=false), and same value. When I restarted the service, I still see the {code}<final>true</final>{code} in the hdfs-site.xml
Config-groups:
{code}
{
"href" : "http://c6401:8080/api/v1/clusters/c1/config_groups/2",
"ConfigGroup" : {
"cluster_name" : "c1",
"description" : "",
"desired_configs" : [
{
"tag" : "version1406695634169",
"type" : "hdfs-site",
"href" : "http://c6401:8080/api/v1/clusters/c1/configurations?type=hdfs-site&tag=version1406695634169"
}
],
"group_name" : "H2",
"hosts" : [
{
"host_name" : "c6401.ambari.apache.org",
"href" : "http://c6401:8080/api/v1/clusters/c1/hosts/c6401.ambari.apache.org"
}
],
"id" : 2,
"tag" : "HDFS"
}
}
{code}
Configuration:
{code}
{
"href" : "http://c6401:8080/api/v1/clusters/c1/configurations?type=hdfs-site&tag=version1406695634169",
"items" : [
{
"href" : "http://c6401:8080/api/v1/clusters/c1/configurations?type=hdfs-site&tag=version1406695634169",
"tag" : "version1406695634169",
"type" : "hdfs-site",
"Config" : {
"cluster_name" : "c1"
},
"properties" : {
"dfs.datanode.balance.bandwidthPerSec" : "6250000"
}
}
]
}
{code}
Default-config-group:
{code}
{
"href" : "http://c6401:8080/api/v1/clusters/c1/configurations?type=hdfs-site&tag=version1406695545377",
"items" : [
{
"href" : "http://c6401:8080/api/v1/clusters/c1/configurations?type=hdfs-site&tag=version1406695545377",
"tag" : "version1406695545377",
"type" : "hdfs-site",
"Config" : {
"cluster_name" : "c1"
},
"properties" : {
"dfs.block.access.token.enable" : "true",
"dfs.blockreport.initialDelay" : "120",
"dfs.blocksize" : "134217728",
"dfs.client.read.shortcircuit" : "true",
"dfs.client.read.shortcircuit.streams.cache.size" : "4096",
"dfs.cluster.administrators" : " hdfs",
"dfs.datanode.address" : "0.0.0.0:50010",
"dfs.datanode.balance.bandwidthPerSec" : "6250000",
"dfs.datanode.data.dir" : "/hadoop/hdfs/data",
"dfs.datanode.data.dir.perm" : "750",
"dfs.datanode.du.reserved" : "1073741824",
"dfs.datanode.failed.volumes.tolerated" : "0",
"dfs.datanode.http.address" : "0.0.0.0:50075",
"dfs.datanode.ipc.address" : "0.0.0.0:8010",
"dfs.datanode.kerberos.principal" : "dn/_HOST@EXAMPLE.COM",
"dfs.datanode.keytab.file" : "/etc/security/keytabs/dn.service.keytab",
"dfs.datanode.max.transfer.threads" : "1024",
"dfs.domain.socket.path" : "/var/lib/hadoop-hdfs/dn_socket",
"dfs.heartbeat.interval" : "3",
"dfs.hosts.exclude" : "/etc/hadoop/conf/dfs.exclude",
"dfs.https.port" : "50470",
"dfs.journalnode.edits.dir" : "/grid/0/hdfs/journal",
"dfs.journalnode.http-address" : "0.0.0.0:8480",
"dfs.namenode.accesstime.precision" : "0",
"dfs.namenode.avoid.read.stale.datanode" : "true",
"dfs.namenode.avoid.write.stale.datanode" : "true",
"dfs.namenode.checkpoint.dir" : "/hadoop/hdfs/namesecondary",
"dfs.namenode.checkpoint.edits.dir" : "${dfs.namenode.checkpoint.dir}",
"dfs.namenode.checkpoint.period" : "21600",
"dfs.namenode.checkpoint.txns" : "1000000",
"dfs.namenode.handler.count" : "40",
"dfs.namenode.http-address" : "c6401.ambari.apache.org:50070",
"dfs.namenode.https-address" : "c6401.ambari.apache.org:50470",
"dfs.namenode.kerberos.https.principal" : "HTTP/_HOST@EXAMPLE.COM",
"dfs.namenode.kerberos.principal" : "nn/_HOST@EXAMPLE.COM",
"dfs.namenode.keytab.file" : "/etc/security/keytabs/nn.service.keytab",
"dfs.namenode.name.dir" : "/hadoop/hdfs/namenode",
"dfs.namenode.name.dir.restore" : "true",
"dfs.namenode.safemode.threshold-pct" : "1.0f",
"dfs.namenode.secondary.http-address" : "c6401.ambari.apache.org:50090",
"dfs.namenode.stale.datanode.interval" : "30000",
"dfs.namenode.write.stale.datanode.ratio" : "1.0f",
"dfs.permissions.enabled" : "true",
"dfs.permissions.superusergroup" : "hdfs",
"dfs.replication" : "3",
"dfs.replication.max" : "50",
"dfs.secondary.namenode.kerberos.https.principal" : "HTTP/_HOST@EXAMPLE.COM",
"dfs.secondary.namenode.kerberos.principal" : "nn/_HOST@EXAMPLE.COM",
"dfs.secondary.namenode.keytab.file" : "/etc/security/keytabs/nn.service.keytab",
"dfs.support.append" : "true",
"dfs.web.authentication.kerberos.keytab" : "/etc/security/keytabs/spnego.service.keytab",
"dfs.web.authentication.kerberos.principal" : "HTTP/_HOST@EXAMPLE.COM",
"dfs.webhdfs.enabled" : "true",
"fs.permissions.umask-mode" : "022"
},
"properties_attributes" : {
"final" : {
"dfs.datanode.balance.bandwidthPerSec" : "true"
}
}
}
]
}
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)