ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Kovalenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11374) After Adding A New Service dfs.namenode.checkpoint.dir Is Removed
Date Mon, 25 May 2015 18:51:17 GMT

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

Aleksandr Kovalenko commented on AMBARI-11374:
----------------------------------------------

+1 for the patch

> 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)

Mime
View raw message