[ 
https://issues.apache.org/jira/browse/AMBARI-11374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14558517#comment-14558517
 ] 

Hudson commented on AMBARI-11374:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2703 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/2703/])
AMBARI-11374. After Adding A New Service dfs.namenode.checkpoint.dir Is Removed 
(alexantonenko) (hiveww: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=46b159a2d81973d12363943f518ba74b66ebc529)
* ambari-web/app/controllers/main/service/info/configs.js
* ambari-web/app/controllers/wizard/step7_controller.js
* ambari-web/test/controllers/wizard/step7_test.js


> After Adding A New Service dfs.namenode.checkpoint.dir Is Removed
> -----------------------------------------------------------------
>
>                 Key: AMBARI-11374
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11374
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.0
>            Reporter: Antonenko Alexander
>            Assignee: Antonenko Alexander
>            Priority: Critical
>             Fix For: 2.1.0
>
>         Attachments: AMBARI-11374.patch
>
>
> I had a functioning cluster with core services installed (HDFS, ZK, YARN, 
> HBase). NameNode HA mode was enabled for HDFS and I stopped and started HDFS 
> several times. HDFS also has 2 service configuration versions listed in the 
> history; the initial revision and then the NameNode HA revision.
> I stopped all services and added a new service, Storm. When starting HDFS 
> back up, the following is encountered:
> {code}
> Traceback (most recent call last):
>   File 
> "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py",
>  line 117, in <module>
>     HdfsClient().execute()
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 214, in execute
>     method(env)
>   File 
> "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py",
>  line 33, in install
>     import params
>   File 
> "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/params.py",
>  line 25, in <module>
>     from params_linux import *
>   File 
> "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py",
>  line 215, in <module>
>     fs_checkpoint_dirs = 
> config['configurations']['hdfs-site']['dfs.namenode.checkpoint.dir'].split(',')
>   File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
>  line 79, in __getattr__
>     raise Fail("Configuration parameter '" + self.name + "' was not found in 
> configurations dictionary!")
> resource_management.core.exceptions.Fail: Configuration parameter 
> 'dfs.namenode.checkpoint.dir' was not found in configurations dictionary!
> {code}
> Taking a look at my HDFS history, I have a new, 3rd, service config version 
> that I did not create. It shows that {{dfs.namenode.checkpoint.dir}} was 
> removed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to