ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <>
Subject [jira] [Created] (AMBARI-4708) Actual configs not updated after restart of host component
Date Tue, 18 Feb 2014 12:17:19 GMT
Dmytro Sen created AMBARI-4708:

             Summary: Actual configs not updated after restart of host component
                 Key: AMBARI-4708
             Project: Ambari
          Issue Type: Bug
          Components: agent, controller
    Affects Versions: 1.5.0
            Reporter: Dmytro Sen
            Assignee: Dmytro Sen
            Priority: Critical
             Fix For: 1.5.0

Updated HDFS configs aren't applied after RESTART.


- On a 3 node cluster, create a ConfigGroup for datanode.
- Override heap size to 1025m instead of 1024m
- Restart DN.

- The /var/lib/ambari-agent/data/config.json, has the correct values for the config type:
"global": {"2": "version1392171779044", "tag": "version1"}
- The API call still shows global as default version:

It works after agent is restarted.

global: {
overrides: {
2: "version1392171779044"
default: "version1"

The cause is that hooks aren't executed for the custom_command like RESTART. Since configs
for HDFS are generated in, we must execute before custom commands or move
config generation from

This message was sent by Atlassian JIRA

View raw message